Miniflux is a minimalist and opinionated feed reader.
-
Clone Miniflux 2
git clone https://github.com/miniflux/v2.git
-
Check out the latest version
git checkout -b latest "$(git describe --tags --abbrev=0)"
-
Create an Heroku application with the PostgreSQL addon installed
heroku apps:create --addons "heroku-postgresql:hobby-dev" [APP-NAME]
APP-NAME
is optional. If it is left out, a random name will be generated. -
Configure Miniflux via environment variables
heroku config:set HTTPS=1 heroku config:set RUN_MIGRATIONS=1 heroku config:set CLEANUP_FREQUENCY_HOURS=1 heroku config:set FETCH_YOUTUBE_WATCH_TIME=1
-
Deploy the latest version of Miniflux to Heroku
git push heroku latest:main
-
Delete the local branch
git checkout - && git branch --delete latest
-
Create the first user from within an one-off dyno
$ heroku run bash Running bash on ⬢ [APP-NAME]... up, run.9371 (Free) ~ $ miniflux.app --create-admin Enter Username: admin Enter Password: ~ $ exit
-
Open Miniflux in your web browser
heroku open
Or manually open https://APP-NAME.herokuapp.com.
-
Login with the admin credentials and create regular user(s)
Settings > Users > Add user
https://miniflux.app/docs/upgrade.html
-
Disconnect all users by flushing all sessions
heroku run miniflux.app -flush-sessions
-
Backup your database
heroku pg:backups:capture
-
Update the local Miniflux repository
git pull
-
Check out the latest version
git checkout -b latest "$(git describe --tags --abbrev=0)"
-
Deploy the latest version of Miniflux to Heroku
git push heroku latest:main
-
Delete the local branch
git checkout - && git branch --delete latest
-
Display the configuration of the application
heroku config
-
Show the deployed version or rather commit of Miniflux
heroku releases | grep Deploy | head -1
-
Display the recent log output of the application
heroku logs [--tail]
-
Show PG database information
heroku pg:info
-
Re-add heroku Git remote
heroku git:remote --app [APP-NAME]
-
Print miniflux's parsed configuration values
heroku run miniflux.app -config-dump