You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
Ecmel B. CANLIER 3de4e736be Change the title to be useful & use Bootstrap from a CDN 4 years ago
admipaste Change the title to be useful & use Bootstrap from a CDN 4 years ago
.gitignore Syntax highlighting and a couple other stuff too! 5 years ago
LICENSE Initial commit 5 years ago
README.md Improve README.md 5 years ago
admipaste.sql unlisted paste support 5 years ago
config.template.yml Improve README.md 5 years ago
requirements.txt Stuff 5 years ago
run.py make optionals, well... optional! 5 years ago

README.md

AdmiPaste

A pastebin made in Python and Flask

Requirements

  • Python 2
  • Flask
  • MySQL-python
  • pyyaml

(also available in requirements.txt)

API Documentation

###/api/submit POST params: user (optional), paste, language (optional)

Submits a paste

###/api/pastes GET

Get newest 20 pastes

###/api/pastes/<id> GET

Get specific paste