Self-hosted service
helloxz/onenav avatar
helloxz/onenav

OneNav: a self-hosted bookmark manager built on PHP and SQLite

A bookmark management system built with PHP and SQLite 3, for centralized management of browser bookmarks -- deploy once, access anywhere.

3,144 stars551 forksJavaScriptApache-2.0

At a glance

What is it?
OneNav stores your browser bookmarks in a single SQLite database behind a PHP web app, so every device reads the same list. It is aimed at people who already run a small server or NAS and want their links to survive a browser reinstall.
Who is it for?
Adopt OneNav if you already run PHP or Docker somewhere and want one canonical bookmark list you control, especially if you keep services on a NAS and need separate internal and external addresses for the same link. Skip it if you want a hosted service with no server to run, or if you need a documented backup and rollback procedure before you commit.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 25 days ago.
What is it written in?
Mainly JavaScript, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 23, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • helloxz/onenav3,144 ★ · +5
Star history
Repository2026-09-242026-11-23
helloxz/onenav3.1k3.1k

5 Stars in the last 60 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

What OneNav replaces, and who ends up running it

Browser bookmark sync works until it does not. It assumes you stay inside one vendor's ecosystem, it treats the bookmark bar as a personal artifact rather than shared infrastructure, and it gives you almost no control over how links are organised or who can see them. OneNav takes the opposite position: the bookmark list is a database you host, and the browser is just one of several clients that read from it.

The README describes the goal plainly as centralised management that solves cross-device, cross-platform and cross-browser sync, summarised in the phrase "one deployment, access everywhere". The audience that follows from that is narrow but real. You need somewhere to run PHP with SQLite3 support, or a machine that can run a container. In practice that means a NAS owner, a homelab operator, or someone with a small VPS that is already doing other work. If you have no server and no intention of getting one, the whole premise falls apart before installation.

Two features signal who the project is really for. Private links let you keep entries visible only to a logged-in administrator, which matters when the same instance serves both a public landing page and your own working set. Standby links let one bookmark carry a second URL, and the README gives the exact scenario: a service on your NAS that you reach by internal IP on the LAN and by an external domain from outside. That is a homelab problem, not an office problem, and OneNav addresses it directly rather than telling you to maintain two bookmarks.

How the PHP and SQLite stack actually holds the bookmarks

The repository layout tells most of the story. There is an index.php front controller, and alongside it controller/, class/, functions/ and templates/ directories. Routing is query-string based rather than path based: the README points at http://IP/index.php?c=login for the admin login, so the c parameter selects a controller. Templates are separate from logic, and the README credits LayUI, MDUI and WebStackPage as the front-end foundations, which explains why themes are swappable and why the default2 theme can add behaviour like drag-and-drop ordering without touching the data layer.

Persistence is SQLite 3, and the db/ directory in the repository holds the schema. That choice is the reason installation is short: there is no database server to provision, no credentials to create, and no connection string to get wrong. The trade-off is equally clear. SQLite serialises writes, so a single file handles one writer at a time. For a bookmark list read by a handful of people this is irrelevant. For anything with concurrent editing, it becomes the first thing you would outgrow, and there is no migration path to MySQL described in the README.

Medoo appears in the acknowledgements, which fits the pattern: a thin query builder over SQLite rather than a full ORM. The data directory is also where uploaded or generated state lives, which is why the Docker instructions are so insistent about the mount point.

Installing OneNav with Docker and adding your first bookmark

The README gives two installation routes. The manual one requires a PHP environment with SQLite3 enabled, unpacking the source into the site root, then visiting the homepage to initialise an administrator username and password before logging in at http://IP/index.php?c=login. The Docker route is shorter and is the one worth copying here.

This command starts the container, publishes it on port 3080 on the host, and mounts a host directory over the container's data path so the SQLite database survives a container restart.

bash
docker run -itd --name="onenav" -p 3080:80 \
    -v /data/onenav:/data/wwwroot/default/data \
    --restart always \
    helloz/onenav

The README is explicit about which parts you may change and which you may not. The first 3080 is the host port and is yours to edit. The second 80 is the container port and must stay as it is. On the volume, /data/onenav is the host directory and /data/wwwroot/default/data is the container path; changing the container side is what the README warns will cause data loss. After the container is up, open http://your-host:3080 and follow the initialisation prompt to set the administrator account.

Importing existing bookmarks is the next step, and the README lists batch import from Chrome, Firefox and Edge. Once links exist, the default2 theme lets you drag them into order, but only after logging in and only when you grab the link icon itself; dragging from any other part of the tile does nothing. Right-clicking a link opens a context menu with open, open standby link, copy, show QR code, edit and delete. The standby option appears only if that link actually has a second URL, which is a sensible guard against a menu full of dead entries.

Where OneNav gets awkward: link checking, AI search and the licence note

The batch link checker lives under the admin area at Link Management, My Links, behind a batch-check button. It reports which of your links are dead. What the README does not say is how it probes them, how long it waits, or whether it follows redirects. If you have hundreds of links, that matters: a checker with a short timeout will report slow-but-alive hosts as failures, and you will spend time re-verifying links that were never broken. Treat the output as a candidate list, not a verdict.

AI search is the feature with the least documentation. The README says you give the AI a keyword or description and it matches relevant links already in your OneNav. It does not name a provider, does not describe configuration, and does not say whether requests leave your server. For a self-hosted tool whose selling point is that you control the data, that gap is worth resolving before you enable it, because a link list is a fairly revealing document about what you run and where.

The licence is Apache-2.0, which permits commercial use and modification with the usual notice and attribution conditions. That sits oddly beside the README's own declaration, which asks that OneNav not be used for profit or commercial activity without the author's permission and warns of legal responsibility otherwise. Those two statements pull in different directions, and the README does not reconcile them. If you plan to use OneNav inside a company, that is a question for someone qualified to answer it, not something to settle by reading the repository.

Finally, the README opens by announcing that a rebuilt version called ZMark has been released at zmark.app. The README does not say that OneNav is discontinued, and the repository is not archived, but a rewrite announcement at the top of a README is a signal about where attention is going.

OneNav against a plain static start page

The obvious alternative is a static start page such as WebStackPage, which OneNav itself credits. The difference is not cosmetic. A static page is an HTML file you edit by hand and serve from anywhere; there is no database, no login, no admin panel and nothing to upgrade. It is faster to deploy and impossible to break with a bad write.

OneNav trades that away for state. Links live in SQLite, so they can be added, edited and deleted from the front end through pop-up dialogs in the default2 theme, without opening an editor. Categories nest two levels deep. Links can be private. A link checker can sweep the whole set. None of that exists in a hand-edited HTML file, and none of it can be replicated without building an application.

The honest framing is that these are different tools for different jobs. If you want a public page of twenty links that never changes, a static file is less machinery and less risk. If you want a list that grows, that you edit from a phone, and that distinguishes internal from external addresses for the same service, the static file stops working and OneNav starts making sense. The cost is a PHP runtime or a container that you now have to keep running.

Maintenance, upgrades and what a backup actually covers

The last push to the repository was on 2026-05-13, and the most recent release listed is 1.2.4 from 2026-05-07, following 1.2.3 in April 2026 and 1.2.2 in September 2025. The project is not archived, but the release cadence is not uniform either, and the README's own note about a rebuilt ZMark version is the context for that.

Upgrades have two paths. The README lists one-click online upgrade from the admin area, which is convenient and also the riskiest kind of upgrade, because it writes over files you may have customised. The alternative is replacing the source yourself, which is what you would do anyway if you have modified a theme. Neither path is documented with a rollback procedure, and the README does not describe one.

That makes backups your responsibility, and the Docker command tells you exactly what to back up: the host directory mounted at /data/onenav. Everything the application considers its own state lives under the container path /data/wwwroot/default/data, which is what that mount covers. Copy that directory and you have the SQLite database and the associated data. Skip it and a container rebuild gives you a clean install with no bookmarks. The volume flag is not a convenience in this setup; it is the only thing standing between an upgrade and an empty database.

Editorial conclusion

Adopt OneNav if you already run PHP or Docker somewhere and want one canonical bookmark list you control, especially if you keep services on a NAS and need separate internal and external addresses for the same link. Skip it if you want a hosted service with no server to run, or if you need a documented backup and rollback procedure before you commit. Verify three things first: that your PHP build has SQLite3 enabled, that you mount /data/onenav on a path you actually back up, and whether the AI search feature needs an external key, since the README does not say.

Frequently asked questions

What is OneNav used for?

It is a bookmark management system that keeps your browser bookmarks in one self-hosted place so they can be reached from any device, browser or platform. The README describes the goal as one deployment, access everywhere, and lists features such as private links, two-level categories, batch import from Chrome, Firefox and Edge, and a browser extension.

What platforms support OneNav?

The README gives two deployment routes: a standard install on a PHP environment with SQLite3 support, and a Docker deployment using the helloz/onenav image. Because access is through a web browser, the client side is any browser that can reach the host, and the README also mentions a PWA application and a mobile admin.

Is OneNav secure?

The README documents an administrator login, private links that are not shown to visitors, and a toolbar that stays hidden until an administrator signs in. It does not describe an audit, encryption at rest, or how the AI search feature handles your data, so those points cannot be judged from the repository documentation.

Official sources

  1. helloxz/onenav on GitHub
  2. License: Apache-2.0
  3. Project website
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/helloxz-onenav.svg)](https://hysenlabs.com/projects/helloxz-onenav)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/helloxz-onenav.svg)](https://hysenlabs.com/projects/helloxz-onenav)

Was this useful?