Skip to content

Render AsciiDoc documents from Gists, GitHub, DropBox and other remote sources in the browser.

Notifications You must be signed in to change notification settings

ohessel/docgist

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocGist

DocGist is a URL proxy tool that converts AsciiDoc documents fetched from Gists (http://gist.github.com), GitHub repositories, Dropbox folders and other sources to HTML. The conversion to HTML is performed in the browser (client-side) using the Asciidoctor.js JavaScript library

Note
DocGist is a hosted alternative to the Asciidoctor.js Live Preview extension for Chrome.

Hosted Demo

See it live at http://gist.asciidoctor.org.

Run Locally

To run DocGist locally, make it available somewhere on localhost. First, check out the code:

git clone git@github.com:asciidoctor/docgist.git
cd docgist

With Ruby, you can then do something like this:

ruby -run -e httpd . -p 9090

With Python, there’s this:

python -m SimpleHTTPServer

If you have Apache httpd running on your machine, you can for example add a symlink along the lines of the following to make it serve DocGist:

sudo ln -s /home/anders/git/docgist /var/www/docgist

The above makes DocGist available at http://localhost/docgist/.

History

The original idea and code for DocGist came from GraphGist. GraphGist is an interactive documentation tool for the Neo4j database and Cypher query language. Both tools were created by Anders Nawroth, an engineer at Neo Technology.

Copyright © 2013-2014 Anders Nawroth and the Asciidoctor Project. Free use of this software is granted under the terms of the Apache License, Version 2.0.

About

Render AsciiDoc documents from Gists, GitHub, DropBox and other remote sources in the browser.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 79.5%
  • JavaScript 18.5%
  • HTML 2.0%