Skip to content

Commit

Permalink
Added AUTHORS/COPYING/INSTALL/README and copyright headers
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkay committed Mar 9, 2010
1 parent 7e1a3da commit 2ad4f31
Show file tree
Hide file tree
Showing 9 changed files with 760 additions and 0 deletions.
9 changes: 9 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Maintainer
----------

* Alexander Kojevnikov <[email protected]>

Contributors
------------

* You?
661 changes: 661 additions & 0 deletions COPYING

Large diffs are not rendered by default.

15 changes: 15 additions & 0 deletions INSTALL
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Installing hilite.me
====================

If you want to install hilite.me as your own App Engine application you need to do the following:

* Download the latest [Pygments tarball][1] and copy the contents `pygments` directory into `./src/pygments`.
* Open `./update` and set `--email` to your email address.
* Open `./src/app.yaml` and change the application from `hilite-me` to your own.
* Open `./src/templates/index.html` and remove the Google Analytics tracking code at the bottom of the template, or replace with our own.

After this you can deploy the app using `./update`

Please note that under AGPLv3 license deploying hilite.me requires that you share its source code with all modifications you have made. See COPYING for details.

[1]: http://pygments.org/download/
7 changes: 7 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
hilite.me is a small webapp that converts your code snippets into pretty-printed HTML format, easily embeddable into blog posts and websites.

hilite.me is licensed under GNU Affero General Public License v3, see COPYING for details.

hilite.me runs on Google App Engine and uses the Pygments project, see INSTALL for details.

Please contact Alexander Kojevnikov <[email protected]> with questions, comments and bug reports.
Empty file removed doc/TODO
Empty file.
17 changes: 17 additions & 0 deletions src/api.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 Alexander Kojevnikov <[email protected]>
#
# hilite.me is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# hilite.me is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with hilite.me. If not, see <http://www.gnu.org/licenses/>.

import os

from google.appengine.ext import webapp
Expand Down
17 changes: 17 additions & 0 deletions src/index.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 Alexander Kojevnikov <[email protected]>
#
# hilite.me is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# hilite.me is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with hilite.me. If not, see <http://www.gnu.org/licenses/>.

import os
import time
from email.utils import formatdate
Expand Down
17 changes: 17 additions & 0 deletions src/main.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 Alexander Kojevnikov <[email protected]>
#
# hilite.me is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# hilite.me is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with hilite.me. If not, see <http://www.gnu.org/licenses/>.

import os
from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
Expand Down
17 changes: 17 additions & 0 deletions src/tools.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
# -*- coding: utf-8 -*-
#
# Copyright © 2009-2010 Alexander Kojevnikov <[email protected]>
#
# hilite.me is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# hilite.me is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.

# You should have received a copy of the GNU Affero General Public License
# along with hilite.me. If not, see <http://www.gnu.org/licenses/>.

import re

from pygments import highlight
Expand Down

0 comments on commit 2ad4f31

Please sign in to comment.