Jekit

Preview your Github-hosted websites before making them live. Use it to check your plain static or Jekyll-generated websites before you make them live to Github Pages or to your own server.

Written by Michal Migurski with Mick Thompson, © 2013-2014 Code for America.

You can view the source code for Jekit on GitHub at https://github.com/codeforamerica/git-jekyll-preview.

Check it, before you wreck it.

  1. Preview pages in Jekit by adding your Github account name and repository name to a Jekit URL:

    jekit.codeforamerica.org/<account>/<repo>/

    Example showing the Beyond Transparency book site:
    jekit.codeforamerica.org/codeforamerica/beyondtransparency/

  2. To view a commit or branch other than master, add the ref to the end:

    jekit.codeforamerica.org/<account>/<repo>/<ref>/

    Example showing a single Beyond Transparency commit:
    jekit.codeforamerica.org/codeforamerica/beyondtransparency/08463604/

  3. To view a specific file or directory, add it after the ref:

    jekit.codeforamerica.org/<account>/<repo>/<ref>/wow/such-path.html

    Example of the Beyond Transparency preface:
    jekit.codeforamerica.org/codeforamerica/beyondtransparency/master/chapters/preface/

Private Repositories

Jekit will ask for access to your Github account to preview private repositories. You can revoke Jekit’s access via your Github Applications page. Jekit will keep a copy of each private repository you preview for an unknown period of time.

Bookmarklet

From Github or Prose.io, drag this to your bookmarks bar to install the bookmarklet.

Preview on jekit.codeforamerica.org