curlconverter.github.io
curlconverter.github.io copied to clipboard
Website for converting curl commands to code
For parsing Bash, curlconverter requires 2 wasm files /tree-sitter.wasm and /tree-sitter-bash.wasm. In index.html we have the bundle of all the JavaScript code https://github.com/curlconverter/curlconverter.github.io/blob/edf28e0c6f4bf3afeaeba86b7bc201b31b586d87/index.html#L372 and in that code, some of the...
![image](https://github.com/curlconverter/curlconverter.github.io/assets/125177842/265602d0-86b5-4b48-ae28-4ef8f8563ee9)
These functions are all deprecated but apparently still supported by the major browsers. https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand
To hopefully improve the quality of new issues opened through the homepage.
with new Chrome Version, ‘copy curl URL’ need choice bash or cmd ![image](https://user-images.githubusercontent.com/16721960/84124693-24dfe980-aa6e-11ea-90a2-61cd1766895c.png) ![image](https://user-images.githubusercontent.com/16721960/84125033-90c25200-aa6e-11ea-9477-590a8782af3b.png)