forked from alexkay/hilite.me
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added AUTHORS/COPYING/INSTALL/README and copyright headers
- Loading branch information
Showing
9 changed files
with
760 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Maintainer | ||
---------- | ||
|
||
* Alexander Kojevnikov <[email protected]> | ||
|
||
Contributors | ||
------------ | ||
|
||
* You? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|