Skip to content

TimDeve/rasasa

Repository files navigation

Screenshot of Rasasa

Rasasa

A PWA to read RSS feeds, once the articles are cached the application can be used offline.

Tech

WARNING

While the app is functional and I use it every day, this repo is mostly a playground to try out new patterns and tech. Error handling is basically non-existent and there are no tests. Here be dragons 🐉

Running

The easy way to get the app up and running is to use the image hosted on Github, you'll need a Postgres and a Redis database, run the following command replacing the example values with the addresses of your databases:

docker run -it -p 8090:8090 \
--env "DATABASE_URL=postgres://tim@host.docker.internal/rasasa" \
--env "REDIS_URL=redis://host.docker.internal:6379" \
--env "RASASA_USER=username" \
--env "RASASA_PASS=alongpassword" \
ghcr.io/timdeve/rasasa/rasasa:latest

Otherwise you build it locally, in the repository root run:

docker build -t rasasa .

Then:

docker run -it -p 8090:8090 \
--env "DATABASE_URL=postgres://tim@host.docker.internal/rasasa" \
--env "REDIS_URL=redis://host.docker.internal:6379" \
--env "RASASA_USER=username" \
--env "RASASA_PASS=alongpassword" \
rasasa:latest

The app should be available at localhost:8090, use the RASASA_USER and RASASA_PASS values to login.