Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/malte70/flyingpaste
A simple Nopaste service
https://github.com/malte70/flyingpaste
nopaste pastebin pastebin-service python wsgi-application
Last synced: 2 months ago
JSON representation
A simple Nopaste service
- Host: GitHub
- URL: https://github.com/malte70/flyingpaste
- Owner: malte70
- License: mit
- Created: 2013-08-09T21:35:40.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-05-05T17:15:02.000Z (9 months ago)
- Last Synced: 2024-08-08T18:26:16.578Z (6 months ago)
- Topics: nopaste, pastebin, pastebin-service, python, wsgi-application
- Language: Python
- Homepage: https://nopaste.rt3x.de
- Size: 38.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred - malte70/flyingpaste - A simple Nopaste service (python)
README
Flying Paste
============What's this
-----------Flying Paste is a Nopaste application based on Python featuring
syntax highlighting and full database storage (no write access to
any file required).Requirements
------------- Python 3
- bottle
- Pygments
- Python-MySQL
- a running MySQL serverInstallation
------------- Get the latest code from github with:
```sh
git clone https://github.com/malte70/flyingpaste
```
- Optional: create a special database user for the application
- Create a table using the following SQL statement:
```sql
CREATE TABLE pastes (
id VARCHAR(20) NOT NULL PRIMARY KEY,
title VARCHAR(200) DEFAULT "Untitled",
description TEXT DEFAULT NULL,
author_name VARCHAR(50) DEFAULT "Anonymous",
author_email VARCHAR(50) DEFAULT NULL,
code TEXT NOT NULL,
language VARCHAR(20) DEFAULT "text",
privacy VARCHAR(20) DEFAULT "public",
date_added datetime NOT NULL DEFAULT current_timestamp()
) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
```
- Generate a configuration using the `configure` script:
```sh
cd flyingpaste
./configure
```Running
-------### Run directly in testing mode
Simply execute `flyingpaste.py` from the command line:```sh
cd /path/to/flyingpaste
python flyingpaste.py
```### Run using Apache's mod_wsgi
A sample configuration is included in the source as `doc/apache-example.conf`.
Modify it for your needs, activate mod_wsgi and restart your Apache server.
You're done!Homepage and source code repository
-----------------------------------Available on github: https://github.com/malte70/flyingpaste
No website at the moment (there will be one later)Licensing
---------Flying Paste is free/libre software released under the MIT license, which
can be found in the file `LICENSE`.Submitting bugs/feature requests
--------------------------------If you have found a bug or like to see a specific feature, open an issue on
github (https://github.com/malte70/flyingpaste/issues/new) or leave me an
EMail (see "Contacting the author").