add build step and readme
add AGPL license
inline env variables for ko build to remove them from bashrc
A web service that takes a link, a description, and a time delay and publishes the link + description to an Atom feed after the specified delay. The Atom feed is public but the link submission is protected by Basic Auth.
Meant to be run on a PaaS like fly.io. By default it runs in an extremely minimal container using Ko.
Set the following environment variables:
PORT
- the webserver portDATABASE_URL
- the connection string for the PostgreSQL databaseLATERRSS_USER
- the username to to restrict the submission of urlsLATERRSS_PASSWORD
- the password for the above userThis was something I built for myself, so it only supports a single user. The Basic Auth middleware supports more than one though, so it would be easy to extend to support more users, perhaps by storing them in the DB.
As it stands now, it is fully functional for my needs and most importantly the bulk of the code could be banged out on a single train ride from Baltimore to New York.
Obviously since this is using Basic Auth you should never, ever run this without TLS.