aboutsummaryrefslogtreecommitdiffstats
path: root/readme.rst
blob: cb7dc43381d4f8c4637b281ba65fbd2672d69f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Description
===========

A simple pastebin like service implemented in python3 with bottle. This is
a free software as defined by http://opensource.org/osd.

The pastes storage backend are simple files.

It features the following:

- Syntaxic coloration (automatic detection) with `pygments`
- Simple and short urls (easy to copy by hands)
- Automatic purge of old pastes (1 month by default)
- Simple and nice theme.

It can be used directly (more for development) or from a wsgi compatible
web server.

Dependencies
============

- python3 (3.4 at least)
- bottle (included as submodule in this repository)
- pygments (packaged on a lot of distributions)

Installation
============

Dependencies:

.. code:: shell

    # under deb based systems (debian/ubuntu for example)
    sudo apt-get install python3 python3-pygments

Clone this repository recursively:

.. code:: shell

    git clone --recusive git://git.devys.org/pasteme
    cd pasteme
    # to run it with dev mode, just run it
    ./pastme.py


Credits
=======

The original git repository for this project can be found at
http://git.devys.org/pasteme/

The keyboard keys icons are from a set_ designed by Chromatix.
They are licensed as `CC Attribution-NonCommercial-No Derivate 4.0`__.

.. _set: http://www.iconarchive.com/show/keyboard-keys-icons-by-chromatix.2.html
.. __: http://creativecommons.org/licenses/by-nc-nd/4.0/legalcode

The pygments theme come from *Sourcey*: http://sourcey.com