Skip to content

A minimalistic self-hosted bookmark manager

License

Notifications You must be signed in to change notification settings

saaste/bookmark-manager

Repository files navigation

Bookmark Manager

A minimalistic self-hosted bookmark manager written in Go.

The app aims for simplicity. That is why it is not filled with features. Bookmarks are stored in SQLite database, so heavy database engines are not needed and makes database backups easy to do.

Bookmarks can be marked as private. Private bookmarks are visible only for authenticated users. Each bookmark can also have tags. RSS feed is available for recent bookmarks and for each tag. The app can also do scheduled bookmark checks.

Bookmark Manager aims to be as accessible as possible. It should have a pretty a quite good screen reader support, but if have an idea how to make it even better, feel free to file an issue!

How to run

  1. Copy the following example files:
    • bookmarks.db.example ➔ bookmarks.db
    • docker-compose.yml.example ➔ docker-compose.yml
    • config.yml.example ➔ config.yml
    • robots.txt.example ➔ robots.txt
  2. Configure settings in config.yml. Each setting is described in the config file.
  3. Configure robots.txt if you want to limit how search engines and bots scrape your site

Running with Docker (recommended)

docker-compose up [-d]

By default, the forwarded port is 8000. You can change this in the docker-compose.yaml.

Running with Go

go run .

Be default, the app is listening to port 8000. You can change this in the config.yml.

Scheduled bookmark check

The app can check for broken bookmarks, but this feature is disabled by default. To enable the check, set the check_interval setting in config.yml to 1 or more. If you want the check to run when the app starts, set the check_on_app_start setting to true.

Broken bookmarks are indicated by an exclamation point icon. Yuo will also see a Broken Bookmarks link in the top navigation bar, which will take you to a view listing all broken bookmarks. These are only visible if you are logged in.

Bookmark Manager can send a notification when it detects broken bookmarks. Currently, only Gotify notifications are supported. To enable notifications, set the gotify_enabled setting to true and set gotify_url and gotify_token settings to match your environment.

Customizing the UI

Bookmark Manager supports themes. If you want to create your own theme, read the separate Theme Documentation.

Screenshots

UI for guests

Screenshot showing the dark UI for guest users Screenshot showing the light UI for guest users

UI for authenticated users

Screenshot showing the dark UI for authenticated users Screenshot showing the light UI for authenticated users

Admin UI

Screenshot showing the dark admin UI Screenshot showing the light admin UI