7 ms·
HubPress – A web application to build your Blog on GitHub
- jarcane 12y agoThis is very cool. I'm currently using a static blog generator (Frog) to run mine, but to be honest the appeal has started to wear on me because of the barriers involved between writing something and actually pushing it. I'm a lot more likely to actually get some writing up if I can just click in a box and start writing, whereas at the moment I've got to generate a new post template, edit it, re-build the page, then push the lot. It's a minor inconvenience, but it's one that's been enough on more than a few occasions for me to just say bugger it and post my thoughts elsewhere or just not bother.
- krat0sprakhar 12y ago> because of the barriers involved between writing something and actually pushing it Can you explain what barriers are you talking about? I moved from a CMS to static blog only to reduce these barriers. For me, a new post is just three steps $ hugo new <post> $ vim <post> $ git commit -am "new post" && git push which is something I vastly prefer as I am in my text-editor. Even the live preview is easily made possible with livereload (pre-built in Hugo). The best use-case of hubpress, IMHO, is when I want to publish from mobile (or when my dev environment is not unavailable) [0] - http://gohugo.io/ http://gohugo.io/
- probably_wrong 12y agoIn my case, the main barrier is switching constantly between environments. When I was using Wordpress, I had everything right there in my browser. Now that I've moved to a static blog, I have * A text editor, where I write the post * A terminal, where I commit/push my changes * A web browser, where I preview my changes The constant switching between contexts makes it harder for me to focus. Of course, there are advantages (I can now write on the train and push everything afterwards), but I do feel the difference.
- icebraining 12y agoWhy not use an online text editor with integrated git or github support?
- jarcane 12y agoIf it's like the one I use? Because I still have to be able to run the command line build tool.
- icebraining 12y agoMine get run on my VPS, launched by a git hook. But from what I've read, there are a few more "full featured" online editors like Nitrous.io which actually have a backend which can run such tools.
- b3kart 12y agoIsn't it like the whole point? You use a tool which is best for the job. Like in http://en.wikipedia.org/wiki/Unix_philosophy http://en.wikipedia.org/wiki/Unix_philosophy.
- oblio 12y agoDid the Unix philosophy ever win out for end users? As far as the eye can see there's only integration. Microsoft Office is the most popular office suite, Photoshop integrates probably 1000 tools, etc. The only place users have accepted a single tool for a single role seem to be mobile apps, because the interface is so limited. At least that's my impression...
- jarcane 12y agoLike I say, it's a minor barrier, but it's sometimes enough to not feel like bothering with unless it's very important. Every time I want to write a new post I have to: 1. Start Emacs (I could use something else here, but I like Markdown mode) 2. Start eshell and run: $ raco frog -n <title for a post I may still have in idea stage and don't know what to call it yet> $ find-file _src/date+title.md 3. edit template tags. 4. write post. 5. save post. 6. run: $ raco frog -bp 7. check the preview and make sure nothing's broken in the formatting 8. push to git. 9. check again and make sure nothing broke now that it's actually hosted (this has happened a few times) It's not a huge burden, but it's occasionally a pain and the roundabout steps involved, and the weird bugs at times in code-block rendering, get a little old when I compare it to: 1. Click link to Blogger/Medium/Tumblr/ello/etc. 2. Click "new post" 3. write post. 4. preview/publish post.
- reacweb 12y agoI use jekyll and docker to preview before commit.: docker pull kisenka/centos6-jekyll docker run -i -t -p 127.0.0.1:8080:4000 -v /home/xxx/xxx.github.com:/data kisenka/centos6-jekyll HubPress seems interesting, but I do not want to give them my github credential.
- rcarmo 12y agoThe way it looks, your credentials are posted directly to the Github API. Hard to tell more without clean source to look at.
- Anthonny 12y agoThat's right, credentials are send to the API, then we generate a personal token (you can see it in your settings). I will push sources at the end of the month or in the first half of march.
- PinguTS 12y agoSo then, why not use something, which you can connect with Dropbox, and alike service? I have Dropbox running on the server side. So I can edit files locally and they are immediately pushed to the server.
- rcarmo 12y agoSame here. http://taoofmac.com http://taoofmac.com is run that way. Check out http://github.com/rcarmo/sushy http://github.com/rcarmo/sushy for the next rendering engine...
- captn3m0 12y agoIs there any service that offers the combination of Dropbox + Jekyll + Git? I might consider it without git, but Jekyll is really essential for me.
- fiatjaf 12y agoWell, there is https://pancake.io/ https://pancake.io/. You can try it.
- whistlerbrk 12y agoI had the same workflow issue. Especially when all I wanted to post was a youtube link or a quote I heard. So I built: https://github.com/whistlerbrk/mail2frontmatter https://github.com/whistlerbrk/mail2frontmatter as a result. In a nutshell it lets you email your blog, parses it and resizes attachments, interprets links (with plugins) and will also commit it to git and push for you. With guard you can autotrigger rebuilds as well.
- tux 12y agoVery cool, but please add full github markdown support. https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet https://github.com/adam-p/markdown-here/wiki/Markdown-Cheats...
- TruthSHIFT 12y agoIt seems that the authors made a specific point to not use Markdown: http://blog.hubpress.io/2015/02/06/HubPress-a-web-application-to-build-static-blog-on-GitHub-Pages.html http://blog.hubpress.io/2015/02/06/HubPress-a-web-applicatio...
- Anthonny 12y agoMy point of view is that asciidoc is really powerful and underused, that's why i focused on it. However, HubPress is powered by Asciidoctor (http://asciidoctor.org http://asciidoctor.org) which provide a compatibilty with Markdown : http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/#markdown-compatibility-asciidoctor-only http://asciidoctor.org/docs/asciidoc-syntax-quick-reference/...
- ahvetm 12y agoLogo looks like Hivestreaming. https://www.hivestreaming.com https://www.hivestreaming.com
- vially 12y agoAnd like hugo: http://gohugo.io/ http://gohugo.io/
- erikb 12y agoAt least the colour is distinguishably different. The other one is really close. Good info anyways! "H" might not be a cool logo to take.
- captn3m0 12y agoDownvoted because HiveStreaming has nothing to do with this.
- erikb 12y agoIt's a valid info I think.
- dommmel 12y agoI find the concept of using a content editor on top of a SCM as a CMS very intriguing. Thanks for sharing - Can anyone comment on how this compares to http://prose.io/ http://prose.io/ ?
- kmfrk 12y agoIt looks like a dialled-down version of Prose without image upload and more elaborate metadata/YAML options. Prose is beginning to pick up after it changed maintainers, but there are still some hangups such as image upload that need to be fixed.
- parennoob 12y agoOne thing to remember before hosting your blog on Github is that content seems to be censored by them far more actively than other platforms (e.g. Wordpress) Case in point -- this parody account that was shut down by Github (http://www.theregister.co.uk/2013/12/19/feminist_software_foundation_c_plus_equality/ http://www.theregister.co.uk/2013/12/19/feminist_software_fo...) without any legal need for the same. You may think today "Oh, that's fine, they were assholes anyway", but in principle, the same thing could happen to you tomorrow if your blog conflicts with the Github values du jour.
- Karunamon 12y agoWorth mentioning - Github is a great place for code since code itself is rarely objectionable, but when you begin hosting writing there, they appear to be really quick to drop the censorship hammer for questionable reasons, hiding behind the ToS when questioned. Blogs are the simplest thing in the world to host - a $5 VM at Digital Ocean or similar all but eliminates any censorship concerns, and a static generator like Octopress ensures that you have an easily-rehostable backup of your words in case of the contrary.
- arca_vorago 12y agoBe warned, I love Digital Ocean but they have been caught doing the same thing. Hosting blogs there that push any edges is dangerous.
- Karunamon 12y agoOuch.. I wasn't aware of that. Any other providers you can think of that are more free-speech oriented?
- arca_vorago 12y agoNot that I am aware of. Even the EFF prism break only lists one webhost and that webhost is invite only and you have to use their SSL keys (no thank you!). There is also riseup but again it is invite only. It's a major issue because according to law, they have to be able to take down illegal content, but to protect themselves most hosts will simply take down anything even close to it. Where this gets dangerous is regarding non-court ordered claims of illegality, such as DMCA takedowns, claims of libel, hate-speech, etc. I wish I had a better answer for you. I have though about trying to host via countries like Switzerland, but I don't want to have to use another countries host just to have free speech. Honestly I'm getting to the point that paying for my own colocation of a server I control and is locked up would be the best way to go. Still have similar issues with the colo companies refusing to host certain content, but you have to pick your battles. The other alternative would be to get business level service so you can host via your home ISP. If you try to do it with your consumer service they can find it and tell you that hosting content is not part of the agreement.
- msravi 12y agoAnyone else gets an authentication error when trying to login to the admin console with github credentials?
- rcarmo 12y agoyou have to fork it to a repo you control.
- msravi 12y agoYes, I did. And I updated the config.json to use my username and repository name. But once I go to <username>.github.io/hubpress and try to login, there's an authentication error. Looking at the console output shows this: """ AuthServices - login error Objecterror: 404path: "/repos/undefined/undefined"request: XMLHttpRequest__proto__: Object__defineGetter__: function __defineGetter__() { [native code] }__defineSetter__: function __defineSetter__() { [native code] }__lookupGetter__: function __lookupGetter__() { [native code] }__lookupSetter__: function __lookupSetter__() { [native code] }constructor: function Object() { [native code] }hasOwnProperty: function hasOwnProperty() { [native code] }isPrototypeOf: function isPrototypeOf() { [native code] }propertyIsEnumerable: function propertyIsEnumerable() { [native code] }toLocaleString: function toLocaleString() { [native code] }toString: function toString() { [native code] }valueOf: function valueOf() { [native code] }get __proto__: function __proto__() { [native code] }set __proto__: function __proto__() { [native code] }app.js:3544 (anonymous function) """
- oaf357 12y agoI'm surprised there aren't more things like this out there. With GitHub, Tumblr, etc. basically allowing you to host almost whatever you want it's surprising people still pay for hosting their small, personal-ish websites.
- stingraycharles 12y agoYeah, especially because you can host it on a custom domain, and having your website in a git repo is pretty nice, using githuh for your blog / homepage / whatever seems like a no-brainer.
- icefox 12y agoLast I heard using your own domain on top of github had issues, has this been resolved?
- stingraycharles 12y agoI've recently done this for one of my projects and didn't encounter any issues at all.
- wodenokoto 12y agoI guess I'm out of the loop. What cool things can I do on tumblr?
- justboxing 12y agoFor 1, you can use tumblr as your media CDN, i.e. post photos, videos and other bandwidth heavy stuff, and use the tumblr API to access and display them on your website / blog.
- roozbeh18 12y agotumblr actually allows you to use custom domain, i currently have 4-5 domains where my clients only update once a year for an event. i make up a custom theme and them take it over. no fuss around with hosting it.
- zhanfangzxc 12y agofirst
- captn3m0 12y agoI've been working on similar things, so this is really cool. Although, as an advanced jekyll user, all of my solutions revolve around GitHub Pages + Jekyll combination, which I think is the best offering for static websites. My solutions are called potion (discontinued) and Sazed (assembly.com/sazed)
- killnine 12y agoThank you kindly for introducing me to assembly.com.
- oddevan 12y agoCool concept, but does it work with GitHub 2-factor authentication? (cursory testing says no; anyone else get in?)
- josephst18 12y agoI'm also unable to login with 2-factor auth. Console says a 401 error.
- Anthonny 12y ago2-factor is not implemented in the preview, but i will work on it asap. You can create a other github account and give him access to write on your repository, it's a kind of workaround if you want to keep the 2-fact auth on your main account
- alexro 12y agoDoes it need my password to go through HubPress?
- justizin 12y agoI'm reading this later, but upvote based solely on the title. ;)
- TheHippo 12y agoI think a Youtube videos does not qualify to be titled as 'demo'.
- Anthonny 12y agoYou are right, it is more a preview than a demo, i'll change that. Thank you
- fiatjaf 12y agoSome time ago I wrote Coisas[1], which is somewhat like this, but with Markdown and YAML Front Matter and not so much visual appeal as Hubpress. Anyway, it is a nice thing, runs in your browser and publishes to GitHub Pages. Small and modular codebase, you can fork and modify it easily. [1]: https://github.com/fiatjaf/coisas https://github.com/fiatjaf/coisas
- phelm 12y agoAnyone else unable to use this as they have 2FA enabled on their github account?