https://github.com/dfithian/blob
https://github.com/dfithian/blob
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dfithian/blob
- Owner: dfithian
- License: mit
- Created: 2024-03-03T03:27:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T15:31:34.000Z (over 2 years ago)
- Last Synced: 2025-08-07T00:47:44.994Z (10 months ago)
- Language: Python
- Size: 19.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blob
Store shareable text blobs.
## Setup
```bash
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
APP_TITLE="My App" REDIRECT_URL=https://google.com gunicorn server:app
```
```
$ curl -X PUT -H 'X-Blob-Pin: bar' http://localhost:8080/blob/foo -d 'bazbin'
$ curl -X GET -H 'X-Blob-Pin: bar' http://localhost:8080/blob/foo
{ "blob": "bazbin", "modifiedAt": ... }
```