What Happened? | When Did It Happen? | How Long Has It Been? |
---|---|---|
{{ status.title }} | {{ status.timestamp_readable }} | {{ long_agos[loop.index0] }} |
Send a curl (or similar) request from any script or code and include your username and password (see app.py, @auth.get_password).
curl -u username:password -i "http://localhost:5000/new?title=a_status_without_spaces_goes_here"
The entire list of statuses is kept in memory and limited to 1000 (or whatever you set it to). If your service or server restarts, the list is wiped out.