A little project in Flask to store inputs encrypted and delete once someone looks at it.
Go to file
Andreas Zweili 373d64cd9d Add docker-compose.yml 2024-04-19 19:50:50 +02:00
.github/workflows Update checkout action 2024-04-03 22:38:30 +02:00
snapbin Rename directory 2024-04-19 19:18:41 +02:00
.envrc Remove unused code from .envrc 2024-04-03 17:42:03 +02:00
.gitignore Symlink the process-compose.yml for faster startup 2024-04-03 18:39:13 +02:00
LICENSE Initial commit 2023-12-29 13:50:13 +01:00
README.org Update README 2024-04-19 19:50:50 +02:00
conftest.py Fix tests 2023-12-29 20:52:40 +01:00
docker-compose.yml Add docker-compose.yml 2024-04-19 19:50:50 +02:00
flake.lock Rewrite to flake-utils 2024-04-04 00:22:21 +02:00
flake.nix Add matching redis image 2024-04-19 19:50:50 +02:00
poetry.lock Add black as a dev dependencies 2023-12-29 19:59:12 +01:00
poetry.toml Add settings for poetry 2023-12-29 21:41:45 +01:00
pyproject.toml Correct path to README 2024-04-19 19:18:41 +02:00
tests.py Remove unused import 2023-12-29 20:53:15 +01:00

README.org

sort-of-pastebin

A little project in Flask to store inputs encrypted and delete once someone looks at it.

Origin

This project was inspired by Snappass and was previously licensed under MIT.

Tests   verb

template http://localhost:8000 Accept: application/json Content-Type: application/json

Store secret

POST /

{ "ttl": 604800, "password": "Foo" }

Retrieve secret

POST /get-secret

{ "key": "{{(verb-json-get (oref verb-last body) "key")}}" }