https://github.com/j2kun/appendonly
A stupid web server that appends to a local file
https://github.com/j2kun/appendonly
Last synced: about 10 hours ago
JSON representation
A stupid web server that appends to a local file
- Host: GitHub
- URL: https://github.com/j2kun/appendonly
- Owner: j2kun
- Created: 2020-12-01T05:07:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-12-06T19:17:22.000Z (over 5 years ago)
- Last Synced: 2025-02-24T16:53:21.726Z (over 1 year ago)
- Language: Python
- Size: 1.95 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Appendonly
A dumb webserver that has a single `GET` endpoint `/`, which accepts a single
url param `data`, and appends that string as a single line in a file.
The filename is configured in the environment as `APPENDONLY_FILENAME`.
Run the webserver with `./run.sh`, which spins up a gunicorn WSGI wrapping the
flask app, exposing port 80 on the local network.
## Why
I want a simple webserver to run from my laptop on a local WIFI network,
which I can use to collect sensor data on hobby projects.