pinnwand
pinnwand
is Python pastebin software that tried to keep it simple but got
a little more complex.
Prerequisites
- Python >= 3.6
- Tornado
- sqlalchemy
- click
- a database driver
Usage
Web
Enter text, click "Paste", easy enough.
curl
pinnwand
has a direct endpoint for curl
users:
€ echo "foo" | curl -X POST http://localhost:8000/curl -F 'raw=<-' Paste URL: http://localhost:8000/OE Raw URL: http://localhost:8000/raw/GU Removal URL: http://localhost:8000/remove/GQBHGJYKRWIS34D6FNU6CJ3B5M € curl http://localhost:8000/raw/GU foo%
This will preselect the lexer
and expiry
arguments to be text
and
1day
respectively. You can provide those to change them.
API
There is also an API.
More ways to use pinnwand
Various deprecated ways of posting are still supported, don't implement these for any new software but if you are maintaining old software and want to know how they used to work you can read our documentation_.
If you do use a deprecated endpoint to post a warning will be shown below any pastes that are created this way.
Reporting bugs
Bugs are reported best at pinnwand
's project page on github.
License
pinnwand
is distributed under the MIT license. See LICENSE
for details.