feat: add flaskpaste plugin with paste/shorten commands

- PoW-authenticated paste creation and URL shortening via FlaskPaste
- !paste <text> creates a paste, !shorten <url> shortens a URL
- Module-level shorten_url/create_paste helpers for cross-plugin use
- Alert plugin auto-shortens URLs in announcements and history output
- Custom TLS CA cert support via secrets/flaskpaste/derp.crt
- No SOCKS proxy -- direct urllib.request to FlaskPaste instance
This commit is contained in:
user
2026-02-16 23:10:59 +01:00
parent 35acc744ac
commit 3cdc00c285
5 changed files with 294 additions and 0 deletions

1
.gitignore vendored
View File

@@ -13,3 +13,4 @@ build/
.mypy_cache/
config/derp.toml
data/
secrets/