Product Thumbnail

snippet.run

Run your code, from the cloud on your computer

Productivity
Developer Tools

snippet.run is a platform that allows you to host your script snippets on the cloud, and run it everywhere using the snippet.run CLI

Top comment

Hello Product Hunt Community! We are excited to introduce snippet.run, a script snippet hosting platform that allows you to run snippets on your computer with a single command What is snippet.run snippet.run is a platform that allows you to host your script snippets on the cloud, and run it everywhere using the snippet.run CLI How does it work? You host your script snippets on the cloud and use a CLI to execute them on your computer. When you run a snippet, the CLI will fetch the snippet and execute it on your local machine Feel free to leave comments or questions. Feedback is always appreciated Thank you for your time

Comment highlights

Feature request: It would be more useful if it will be able to run the script via curl or wget instead of having to have nodejs and snippet/cli installed. Something like: `curl -fsSL https://snippet.run/ivan1efan/in... | bash` And your server can detect the useragent for curl and wget and only return the script itself. Also a separate search on the user page could be useful.
Does this CLI only support Bash scripts? Do you have examples of running a python app for instance on a machine without python installed?
Energized to see a unused stage for facilitating and running script scraps with the comfort of a CLI! How does snippet.run guarantee the security of users' code? Moreover, have you considered coordination with well known code editors?
Congrats on the launch, this looks quite solid! Here's some feedback since you asked. Wow I have very mixed feelings about this honestly. The security aspect of it primarily, how can I make sure it's going to run what I think it's going to run? What happens if the snippets.run service is compromised? You should definitely add a `--dry-run` option to the CLI client at the very least, so I could see what is about to be executed before going for it. I also wish this was somehow connected to GitHub (more than just for auth) so I could use/import my existing 19 million snippets from Gist. Finally, a lot of snippets I currently use are really boilerplates that aren't meant to be run, but are meant to be built upon, so I would love for snippets.run to be able to download a snippet and pipe its source into a new file for example. Although that might be outside of scope. Anyway, I absolutely love the idea though, good luck!
Remarkable offering! It's thrilling to witness the emergence of a fresh platform that facilitates hosting and executing script snippets with the added convenience of a CLI.
This is genuinely intriguing and looks to be incredibly helpful. Congratulations to @yifanwang for creating this!
Hey there! snippet.run seems like a really useful platform for hosting and running code snippets. I'm looking forward to the launch of your product. Do you have any advice for someone like me who's about to launch their own product? Also, I'd love to get your feedback once my product is live. Feel free to click on the "Notify" button to get notified when it's ready. Thanks in advance!
Excited to see a new platform for hosting and running script snippets with the convenience of a CLI! How does snippet.run ensure the security of users' code? Also, have you considered integrating with popular code editors?
Congratulation on the launch! Very interesting tool for devops - you can save all your scripts once and use them everywhere!
This is really interesting - love the idea of running code on cloud. Curious to know, does your platform support live collaboration on snippets for educational or pair-programming purposes? @yifanwang
This is poised to be incredibly helpful. Thank you, @yifanwang, for creating this. Are there any plans to expand features or integrate with other tools?