5 ms·
Github.js - A JS Library To Store A File On Github Right From The Browser
- Oompa 15y agoLink to the actual Github repo: https://github.com/michael/github https://github.com/michael/github
- cleverjake 15y agoIt would be really interesting to use this as a part of a posting system to jekyll hosted through github
- swanson 15y agoYup - it's not that difficult either. This repo of mine is about 90% of the way there (though it doesn't use this library, it uses the same method): https://github.com/swanson/lanyon https://github.com/swanson/lanyon There are some caveats: you need to register an OAuth app to get access to CORS and you have to use basic auth.
- neilparikh 15y agoJust one quick question, why not just make the gh-pages branches in your project the main branch instead of master, so it would show that branch right away when you visit you project. Otherwise, it looks like a great project, and I might use it with my Jekyll blog.
- vinodkd 15y ago+1 to the switch gh-pages comment. Typically 'master' is where the code is and 'gh-pages' is where the pretty docs are. In your case everything is in gh-pages. Either maintain the code in master and "deploy & display" it on the gh-pages branch or just make gh-pages your master. come to think of it, that's what i should do with some of my repos ;)
- _mql 15y agoWe're already working on that. See http://substance.io/michael/columnist http://substance.io/michael/columnist To be open sourced soon. And try out: http://columnist.devseed.com http://columnist.devseed.com
- msumpter 15y agoI checked out Columnist and it looks pretty awesome! I was trying to look at the Github project page but it doesn't look like it's posted yet. Looking forward to seeing how this progresses!
- vinodkd 15y agoActually, i'd like to use it to disconnect the last piece of blogging software from the server - comments. the recent post on jekyllbootstrap.com had instructions on connecting to disqus,quora etc and I couldnt help but think: "but that's just more text, why are we sending people away to a 3rd party for them to just comment?" A jekyll addon that handles comments using this library, anyone?
- rytis 15y agoBecause our good friends, spammers, need to be treated properly. I doubt a jekyll plugin can be sophisticated enough to keep them at bay.