3 ms·
https://github.com/lukesalamone/code_nitro https://github.com/lukesalamone/code_nitro Convert your code to an image from the command line. No internet connecti
by salamo 3y ago
https://github.com/lukesalamone/code_nitro https://github.com/lukesalamone/code_nitro
Convert your code to an image from the command line. No internet connection needed, although it can also download and convert code from Github too. Made it because currently the best alternative (carbon-now-cli) sends your code over the wire and there's a lot of situations where that's not desirable.
- runar-rkmedia 3y agoThis is quite nice! I might start using this. Some things that would make this nicer: - Add a downloadable, ready-to-use bin as a release. - Change the background-gradient. For me, it is a bit too close to the bright pink used on old VGA-games, so I initially thought it was an error. - Add option to also copy those lines to clipboard, or upload them to pastebin or similar. The url could then be embedded within the generated image. Perhaps this does not fit into the scope, but it could be nice. - Add a short instruction on how to use this within an editor. For instance, perhaps a short vim-binding from a selection could be added to the readme? - Why is there a link in the readme to a wikipedia-article on Fast inverse square root?
- salamo 3y agoThanks for the feedback! Yes, the installation process is a bit barebones at the moment, a pip install would be a lot cleaner. As far as the wiki link, it's a reference for the code sample I use in the demo.
- willardchiang 3y ago[dead]