/gistio-clone

A Node.js clone of gist.io

Primary LanguageCSS

gistio-clone

This is a github gist viewer which was inspired by gist.io. I made it because although I like gist.io, the source is in python and it does not handle multiple files the way I expected it to. Check out gist.io and also checkout bl.ocks.org which inspired it.

Usage

There are two ways to use gistio-clone, you can either run it locally or you may use a free version, hosted here.

Hosted

Visit http://gist.makenova.com/. There are some sample gists on the home page. To view your own gists, simply append your gist ID to the URL.

Run Locally

Node is required to run this program locally. If you don't have it installed, install it from here.

  1. clone this repo
  2. install dependencies by running npm install
  3. run the app with node app.js
  4. go to localhost:3000/9454341 in a browser.
  5. Replace the example gistid in the URL with one of your own.
  6. profit

Test with these public gists

Test with this secret gist. The proto-gist!!

TO-DO

  • Design
  • Syntax Highlighting

Note on syntax highlighting Currently only JS highlighting is supported thanks to prismjs. Pulling in all the supported languages from prismjs would be heavy, so I would like a better solution.