jekyll-post-via-web is a simple HTML page that lets you update your GitHub-hosted Jekyll blog using your browser.

TL;DR

Go to github.com/vrypan/jekyll-post-via-web.

Background

Jekyll is a blog-aware, static site generator in Ruby, probably the most popular of its kind. One of the reasons it's so popular is that it's "extremely" easy to host a jekyll blog on GitHub.

Most users think of GitHub as an advanced file system, and that updating a GitHub hosted jekyll blog means uploading new content using git . However, GitHub is actually an advanced document store with a REST API, event webhooks and other powerful features.

So, in theory, one should be able to post to a GitHub-hosted Jekyll blog (i.e. crete a new markdown document in a GitHub repo), using javascript served from a static page, right?

Since I wanted to host my linkblog on GitHub, and I wanted a simple way to post to it using a bookmarklet, I decided to see if I could put something like this together. And it worked, like a charm!

This is my linkblog and here is a screenshot of the bookmarklet in action:

Installation

Download cms.html from github.com/vrypan/jekyll-post-via-web, copy it in your Jekyll source folder, deploy the updates to GitHub, and visit cms.html at your blog, usually at <site.url>/<site.baseurl>/cms.html

Notes, ideas and thoughts