Skip to content

HistoryHub

Self-hosted archive and search for your Bilibili and Chrome browsing history

Permissive (OSI) · MIT

Listed by , founder & editor

62

Health

Active

Overview

Stars

1,233

Last commit

29 days ago

Oct 2026

Repository age

2 years

since Oct 2024

Latest version

v1.7.2

Jun 2026

Contributors

–

1 active in 90 days

Releases

7

last 12 months

Language

Python

HistoryHub keeps your personal history in one place that you control. It pulls your Bilibili watch history after a QR code login and syncs web visits from a Chrome extension. Everything is stored locally or on a server you host, then searched and browsed by time.

The backend is Python 3.10+ with a Vue web front end and a Tauri desktop client. Bilibili records go into SQLite and into JSON files archived by date. Browser visits are stored in a separate SQLite database with URL, title and visit time. The extension sends only HTTP and HTTPS visit records to the backend you configure, and it does not upload cookies. A shared token protects the browser history endpoints.

You can run it from source with uv and npm, or with Docker Compose. An API with documentation at /docs lets you query records. It is MIT licensed. It is a self-hosted option for people who want their own copy of history that platforms and browsers only keep for a limited time.

Who it's for

Bilibili viewers who want a permanent watch log

It saves new history entries locally, so you can search them without staying logged in.

Skip if: You watch mostly in a phone app, since app-only history is not read.

Chrome users who keep their own data

The extension syncs visits to a backend you run, with no third-party cloud.

Skip if: You use a browser other than Chrome.

Self-hosters comfortable with Docker

Docker Compose starts the web page and backend, and backup means copying two folders.

Skip if: You want a hosted service with no configuration.

The problem it solves

Browsers and video sites only keep a limited history, and you cannot easily search it across sources. HistoryHub copies that history into a database you own. You can then search it and open the original links later.

Strengths

  • Saves Bilibili history to SQLite and date-based JSON files
  • Chrome extension syncs web visits without uploading cookies
  • Docker Compose deployment, plus a Tauri desktop client
  • Repeat syncs do not create duplicate records
  • MIT license with 7 releases in the last year

Trade-offs

  • Extension supports Chrome only and loads unpacked in developer mode
  • Phone app history cannot be read from the Chrome history API
  • Visits do not show whether a video or article was finished
  • Interface and documentation are in Chinese

Self-host HistoryHub

Self-hostable
Yes
Docker Compose
The repository ships a Compose file

Quick start

docker compose up -d --build

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is HistoryHub free?

Yes. It is MIT licensed and you run it yourself.

Can I self-host it?

Yes. Run it from source with uv and npm, or use Docker Compose.

Where is my data stored?

In SQLite databases and JSON files in the output folder, with settings in the config folder. Back up by stopping the service and copying both.

Does the extension send my cookies?

No. It sends only HTTP and HTTPS visit records to the backend you authorize.

Similar tools in Browser extensions

Syrup

Browser extensions

Archived browser extension that auto-applies coupon codes at checkout

765 40 1 years ago Archived GPL-3.0

Replaces Honey

caramel

Browser extensions

Browser extension that tests coupon codes at checkout, for shoppers who want auditable

146 13 5 days ago Active AGPL-3.0

Replaces Honey

Predirect

Browser extensions

Browser extension that redirects YouTube, X, Reddit and more to privacy-friendly frontends

280 9 10 months ago Dormant GPL-3.0

unclutter

Browser extensions

Browser extension that hides page clutter with AI and reapplies rules by page template

395 48 today Active MIT

IITC-CE Mobile

Browser extensions

Android app that runs the IITC-enhanced Ingress Intel map on your phone

344 125 today Active ISC