selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
Shiori logo

Self-host Shiori

v1.8.0

Go bookmark manager with offline archiving, CLI and web UI

ReleaseOpen SourceMIT
docker run -d --rm --name shiori -p 8080:8080 -v $(pwd):/shiori ghcr.io/go-shiori/shiori
Updatedlast year
LanguageGo
Setup difficultyEasy
ThemeDark mode
Stars
11 862
Port
8080 (HTTP service serving the web UI and API)
Docker
ghcr.io/go-shiori/shiori
Shiori web interface showing saved bookmarksReader mode next to offline archive modeGrid view of bookmarks in the dark themeOptions page with account settings

What is Shiori?

Shiori is a lightweight bookmark manager you run on your own hardware, conceived as a straightforward Pocket substitute. Written in Go and shipped as one self-contained binary, it works both from the terminal and as a browser app: you add, edit, delete and search saved links, organise them with tags, and by default it parses the readable content of a page and keeps an offline archive of it. The web UI offers light and dark themes, grid and list views, phone-sized layouts, and account management from a settings page with owner and visitor levels, while an HTTP/JSON API (a newer v1 is still being worked on) and a beta browser extension cover automation and saving from the browser. Links can be imported from or exported to a Netscape bookmark HTML file, including Pocket exports, and storage defaults to SQLite with MySQL, MariaDB or PostgreSQL available through a database URL. Self-hosting is a single docker run of ghcr.io/go-shiori/shiori exposing port 8080 with a bound data directory, a downloaded binary put on your PATH under a systemd or launchd unit, or community Kubernetes manifests; a secret key environment variable is required for HTTP sessions. The project is MIT-licensed and, by its own account, maintained at a deliberately slow pace by a small team.

Shiori alternatives

All self-hosted alternatives to Pocket →

Should you self-host Shiori?

Shiori scores 73/100 on selfhost.directory (how scoring works) and ranks #4 of 46 in Bookmarks & Link Sharing. It has 11 862 GitHub stars, +197 in the last 30 days.

There was no stable release in the past 12 months, so check the repository's recent activity before you rely on it.

Setup is easy: most people get it running in one sitting. An official Docker image is available. It is MIT-licensed and written mostly in Go.

Its closest alternative on selfhost.directory is LinkWarden (79/100, 20 418 stars). It scores higher overall, so compare the two before you pick. See Shiori vs LinkWarden side by side.

Features

  • Bookmark import/export
  • Bookmark Management
  • Browser ExtensionMarked BETA in the README; maintained as separate shiori-web-ext repo.
  • Command Line Interface
  • Full-Text Search
  • Offline page archivingWhere possible; can be skipped with --no-archival.
  • Portable single binary
  • REST APIDocumented API is deprecated in favour of an in-development API v1.
  • SSO proxy authenticationDisabled by default.
  • Tagging
  • Web Interface

Shiori README

Shiori

IC Go Report Card #shiori-general:matrix.org Containers

Check out our latest Announcements

Shiori is a simple bookmarks manager written in the Go language. Intended as a simple clone of Pocket. You can use it as a command line application or as a web application. This application is distributed as a single binary, which means it can be installed and used easily.

Screenshot

How to install Shiori

Install Shiori with Docker

Environment variables
SHIORI_DIR, SHIORI_HTTP_SECRET_KEY, SHIORI_DATABASE_URL

To use Docker image, you can pull the latest automated build from Docker Hub :

docker pull ghcr.io/go-shiori/shiori
docker run -d --rm --name shiori -p 8080:8080 -v $(pwd):/shiori ghcr.io/go-shiori/shiori

Bind a directory to /shiori to keep database, thumbnails and archives.

How to configure Shiori

  • SHIORI_DIR(current dir)Directory where Shiori stores its data.
  • SHIORI_DATABASE_URLURLURL for the database (required)
  • SHIORI_HTTP_ENABLEDTrueEnable HTTP service
  • SHIORI_HTTP_PORT8080Port number for the HTTP service
  • SHIORI_HTTP_ADDRESS:Address for the HTTP service

Shiori releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

How to run shiori on start up (macOS)?

Add a LaunchAgents plist that runs the server command with your secret key and paths, and allow it in the background in Login Items.

How to run shiori on start up (Linux)?

Create a systemd service unit for it, either running the container or the binary, then enable the service.

Failed to get bookmarks: failed to fetch data: no such module: fts4?

A known breaking change for SQLite users moving from 1.5.0 to 1.5.1; the project announcement explains how to migrate the database.

Why my old accounts can't do anything after upgrading Shiori to v1.5.0?

v1.5 introduced owner and visitor levels and existing accounts were treated as visitors; the workaround is to log in with the default account and recreate yours as owner.

What is the default account to login at the first time?

A default owner account is created for the first login; its username and password are listed in the project FAQ.

How to make a donation?

Donations go to individual maintainers through their PayPal and Ko-fi pages.

How to make a contribution?

By opening issues or submitting pull requests, as with other open-source projects.

Is this app actively maintained?

Yes, though the pace is admittedly slow, with one current active maintainer and earlier authors contributing from time to time.

What is the status for this app?

It is described as stable enough to use with the database schema settled, but very large bookmark collections have not been tested.

What are the system requirements?

No concrete figures are given: the docs note it runs on the lowest DigitalOcean VPS tier, so it should work almost anywhere.

How does it compare to other bookmarks managers?

The maintainer says he has only used Pocket and browser-bundled bookmarks; the difference he cares about is that bookmark data stays on his own server.

More in Bookmarks & Link Sharing

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…