aboutsummaryrefslogtreecommitdiff
path: root/README-bgstack15.md
blob: 34137f5a40056ab41fdee41c6696087f3c6cb933 (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
# Instructions

Generate new db.

    python3 initdb.py

Run server.

    FLASK_APP=pastebin.py FLASK_DEBUG=True flask run --host='0.0.0.0'

# Improvements
I still need to practice these:

* Support editing the title?
* Fix the private bins problem: they always return 403
* Support deleting somehow: from an admin panel, or a link on the page?
* use UUIDs for link instead of sequential integers?

# Alternatives

## Unresearched
https://github.com/yasoob/logit-bin
https://github.com/AWilliams17/PasteMate
https://github.com/bsamadi/flask-pastebin

## Attempted
https://github.com/Tygs/0bin sounds cool but it uses a stack I'm unfamiliar with and it had some issues and I didn't want to bother with it.
bgstack15