top | item 9020429

HubPress – A web application to build your Blog on GitHub

162 points| rcarmo | 11 years ago |hubpress.io | reply

65 comments

order
[+] jarcane|11 years ago|reply
This 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|11 years ago|reply
> 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/

[+] whistlerbrk|11 years ago|reply
I 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 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.

[+] PinguTS|11 years ago|reply
So 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.

[+] parennoob|11 years ago|reply
One 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_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|11 years ago|reply
Worth 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.

[+] mrottenkolber|11 years ago|reply
While I must agree that DMCA+GitHub is a dangerous combo that feminist programming language "project" is literally just troll bait. It's a hoax on the cost of some misguided person who literally thought that programming languages can be sexist.

Everybody laughed, I pulled out a lot of my hair, joking about sexist hammer and homophobic wrench. I can see why GitHub didn't feel like hosting a troll fest.

[+] oaf357|11 years ago|reply
I'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|11 years ago|reply
Yeah, 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.
[+] wodenokoto|11 years ago|reply
I guess I'm out of the loop. What cool things can I do on tumblr?
[+] dommmel|11 years ago|reply
I 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/ ?
[+] kmfrk|11 years ago|reply
It 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.

[+] fiatjaf|11 years ago|reply
Some 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

[+] captn3m0|11 years ago|reply
I'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|11 years ago|reply
Thank you kindly for introducing me to assembly.com.
[+] msravi|11 years ago|reply
Anyone else gets an authentication error when trying to login to the admin console with github credentials?
[+] rcarmo|11 years ago|reply
you have to fork it to a repo you control.
[+] alexro|11 years ago|reply
Does it need my password to go through HubPress?
[+] fiatjaf|11 years ago|reply
No. I risked it and it only sends your password to GitHub.
[+] oddevan|11 years ago|reply
Cool concept, but does it work with GitHub 2-factor authentication? (cursory testing says no; anyone else get in?)
[+] josephst18|11 years ago|reply
I'm also unable to login with 2-factor auth. Console says a 401 error.
[+] phelm|11 years ago|reply
Anyone else unable to use this as they have 2FA enabled on their github account?
[+] TheHippo|11 years ago|reply
I think a Youtube videos does not qualify to be titled as 'demo'.
[+] Anthonny|11 years ago|reply
You are right, it is more a preview than a demo, i'll change that. Thank you
[+] justizin|11 years ago|reply
I'm reading this later, but upvote based solely on the title. ;)