BoTranVan / hilite.me

hilite.me converts your code snippets into pretty-printed HTML format, easily embeddable into blog posts, emails and websites.

Home Page:http://hilite.me

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hilite.me

hilite.me is a small webapp that converts your code snippets into pretty-printed HTML format, easily embeddable into blog posts and websites.

Development

To set up development environment you need to install nginx and virtualenv, then run:

% virtualenv env
% source env/bin/activate
% pip install -r requirements.txt

Edit your main nginx.conf:

http {
    ...
    include /path/to/hilite.me/nginx-dev.conf;
}

Update the project location in hilite.me/nginx-dev.conf and restart nginx.

Add this line to your /etc/hosts:

127.0.0.1  hilite.dev

Type make run and go to http://hilite.dev/. If static files don't load make sure nginx has rx permissions for the hilite.me/static directory.

About

hilite.me converts your code snippets into pretty-printed HTML format, easily embeddable into blog posts, emails and websites.

http://hilite.me

License:GNU Affero General Public License v3.0


Languages

Language:Python 55.7%Language:HTML 41.3%Language:Shell 2.7%Language:Makefile 0.3%