4 ms·
Show HN: A site to post and read code snippets and generate a PNG of the source
- thepythonguy 11y agoHey guys! This is a little project I've been working on and I was hoping to get some feedback. Any suggestions are greatly appreciated.
- tuananh 11y agowhat made you to create this app? i haven't found any use case for myself yet so i'm curious.
- deleted 11y ago[deleted]
- thepythonguy 11y agoI made the app because I am always looking for little code snippets such as cases where I need to find regex to extract URLs or Emails, so I figured why not create a site where people can post short little bits like that and make it searchable? So that was the motivation.
- tomatocode 11y agowhat would be cool as well, if the javascript snippet to export the code would already contain a javascript code editor (like ace or so), then I could throw in my raw code to your website and get a editable code box to embed in my own website.
- fasteo 11y agoNice and useful idea, but you need the snippets to be "live"; for example, enable comments and editing, so that snippets get validated/improved/curated over time. Links to relevant stack overflow questions would be great as well.
- deleted 11y ago[deleted]
- deleted 11y ago[deleted]
- thepythonguy 11y agoThere actually are comments. Making them "live" as you say is actually a really good idea it can be like a "proposed change" kind of thing where a user makes a change and people vote on it to see if it gets changed or not. If a certain amount of people vote for the cahnge then it replaces the old code.
- jbrooksuk 11y agoSeems to be down right now.
- thepythonguy 11y agoIt doesn't seem to have gone down for me, it's possibly just taking a while to load for whatever reason.
- zamalek 11y agoNice concept. Feedback: the code boxes are too big in the majority of cases, e.g. http://blinkofcode.com/5590ed12c57dd447d43e5ad0 http://blinkofcode.com/5590ed12c57dd447d43e5ad0
- irth 11y agoReminds me of http://instacod.es/ http://instacod.es/
- stuaxo 11y agoYou could probably chuck the sourcecode itself into a text segment of the png.