News for hackers. Stuff that matters.
Re:HubPress – A web application to build your Blog on GitHub by jarcane on Monday February 09, 2015 @06:25AM (#9020628)
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.

Re:HubPress – A web application to build your Blog on GitHub by krat0sprakhar on Monday February 09, 2015 @06:43AM (#9020680)
> 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/

Re:HubPress – A web application to build your Blog on GitHub by jarcane on Monday February 09, 2015 @07:06AM (#9020743)
Like 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.
Re:HubPress – A web application to build your Blog on GitHub by probably_wrong on Monday February 09, 2015 @07:01AM (#9020730)
In 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.
Re:HubPress – A web application to build your Blog on GitHub by b3kart on Monday February 09, 2015 @11:40AM (#9022058)
Isn'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.
Re:HubPress – A web application to build your Blog on GitHub by oblio on Monday February 09, 2015 @01:20PM (#9022684)
Did 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...

Re:HubPress – A web application to build your Blog on GitHub by icebraining on Monday February 09, 2015 @07:05AM (#9020741)
Why not use an online text editor with integrated git or github support?
Re:HubPress – A web application to build your Blog on GitHub by jarcane on Monday February 09, 2015 @07:11AM (#9020756)
If it's like the one I use? Because I still have to be able to run the command line build tool.
Re:HubPress – A web application to build your Blog on GitHub by icebraining on Monday February 09, 2015 @07:17AM (#9020769)
Mine 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.
Re:HubPress – A web application to build your Blog on GitHub by reacweb on Monday February 09, 2015 @07:16AM (#9020765)
I 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.

Re:HubPress – A web application to build your Blog on GitHub by rcarmo on Monday February 09, 2015 @08:14AM (#9020963)
The way it looks, your credentials are posted directly to the Github API. Hard to tell more without clean source to look at.
Re:HubPress – A web application to build your Blog on GitHub by Anthonny on Monday February 09, 2015 @10:09AM (#9021480)
That'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.

Re:HubPress – A web application to build your Blog on GitHub by whistlerbrk on Monday February 09, 2015 @11:42AM (#9022068)
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.

Re:HubPress – A web application to build your Blog on GitHub by PinguTS on Monday February 09, 2015 @08:39AM (#9021058)
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.

Re:HubPress – A web application to build your Blog on GitHub by rcarmo on Monday February 09, 2015 @08:42AM (#9021071)
Same here. http://taoofmac.com is run that way. Check out http://github.com/rcarmo/sushy for the next rendering engine...
Re:HubPress – A web application to build your Blog on GitHub by captn3m0 on Monday February 09, 2015 @10:08AM (#9021468)
Is there any service that offers the combination of Dropbox + Jekyll + Git?

I might consider it without git, but Jekyll is really essential for me.

Re:HubPress – A web application to build your Blog on GitHub by fiatjaf on Monday February 09, 2015 @12:16PM (#9022284)
Well, there is https://pancake.io/. You can try it.