laterrss

command module
v0.0.0-...-aca3e8b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2025 License: AGPL-3.0 Imports: 19 Imported by: 0

README

laterrss builds.sr.ht status

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.

Contributing

You can submit patches to the mailing list and I'll most likely review them.

You can also report issues and ask questions on the mailing list.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL