~jboverfelt/laterrss

Save links for later in an Atom feed
fe596f5b — Justin Overfelt 4 months ago
add build step and readme
728936a2 — Justin Overfelt 8 months ago
add AGPL license
fcf4a7cd — Justin Overfelt 1 year, 5 months ago
inline env variables for ko build to remove them from bashrc

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~jboverfelt/laterrss
read/write
git@git.sr.ht:~jboverfelt/laterrss

You can also use your local clone with git send-email.

#laterrss

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.

#Configuration

Set the following environment variables:

  • PORT - the webserver port
  • DATABASE_URL - the connection string for the PostgreSQL database
  • LATERRSS_USER - the username to to restrict the submission of urls
  • LATERRSS_PASSWORD - the password for the above user

#Limitations

This 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.

Do not follow this link