5 ms·
Show HN: Git Snippet – a free open source service for embedding code from GitHub
- michaelmior 11y agoYour live example is trying to fetch something from `localhost`.
- chiedo 11y agoHahaha, fixed. Thanks lol
- gravypod 11y agoIs there planned support for gitlabs sometime soon? I've been moving all my projects slowly off github due to recent events.
- gravypod 11y agoI also want to add that even just as it sits this is really cool and I'll definitely be using it in the short future.
- fiatjaf 11y agoThere are other services that do similar things out there, I just forgot their names.
- chiedo 11y agoDarn, in that case, I wasted a good amount of time! Hahaha. I wasn't able to find the other services though. When you remember, if you could drop them in here, that would be awesome! If they're open source, I may just contribute to those. Otherwise, I'll probably keep this going.
- fiatjaf 11y agoI found two: one is not working anymore/abandoned: https://github.com/kirbysayshi/ghembedder https://github.com/kirbysayshi/ghembedder, the other seems incomplete/abandoned: https://github.com/cloud9ide/snippets https://github.com/cloud9ide/snippets But there was one which worked, I think I used it somewhere some months ago. Perhaps it was discontinued also. I can't find it. Anyway, I think yours is much better (although I haven't used it yet).
- chiedo 11y agoThanks :) I appreciate you looking into that for me.
- Gmo 11y agoI think you should add syntax coloring on your snippets.
- chiedo 11y agoHmmm... I'm not sure I understand what you mean. Could you clarify? I'm definitely seeing syntax highlighting here. http://www.gitsnippet.com/test.html http://www.gitsnippet.com/test.html
- ishu3101 11y agoCheck out Gist it - a chrome extension that lets you embed file from Github repository. https://chrome.google.com/webstore/detail/gist-it/gmemoangmfinnplfifcjjdfeapdfgjkg https://chrome.google.com/webstore/detail/gist-it/gmemoangmf...
- chiedo 11y agoThanks! I will do.