Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An AppEngine app to embed files from a github repository like a gist

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 assets
Octocat-spinner-32 gist_it
Octocat-spinner-32 jinja2-assets
Octocat-spinner-32 pyl
Octocat-spinner-32 t
Octocat-spinner-32 t0
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.markdown
Octocat-spinner-32 app.assets
Octocat-spinner-32 app.py
Octocat-spinner-32 app.yaml
Octocat-spinner-32 assets.manifest
Octocat-spinner-32 synopsis.markdown
README.markdown

gist-it

An AppEngine app to embed files from a github repository like a gist

http://github.com/robertkrimen/gist-it

Try it

You can try it at gist-it.appspot.com

Usage

Launch a working example with:

dev_appserver.py .

The gisting handler is located at app.py/dispatch_gist_it

Associated the handler with a path is pretty easy, for example:

wsgi_application = webapp.WSGIApplication( [
    ( r'(.*)', dispatch_gist_it ),
], debug=True )

Testing

To run python unit2 tests:

make test

To run perl tests (against a running server):

make t

Author

Robert Krimen (robertkrimen@gmail.com)

Something went wrong with that request. Please try again.