lokl
Browser-based, offline-first personal knowledge base.
Features
- Stored on your device: Notes live in browser storage (PouchDB on IndexedDB). Bring in an existing Markdown folder by dropping it in or picking it.
- Markdown editor: Built on CodeMirror 6, with syntax highlighting and live preview.
- Wiki-links and backlinks: Link notes with
[[note-name]]and see every note that points to the current one. - Graph view: See how your notes connect.
- Search: Full-text search across all notes (Cmd+K) and quick open (Cmd+P).
- Tags, daily notes, tabs:
#tagsfrom the text and YAML front matter, a one-click daily journal, several files open as tabs. - Backup: Export as JSON or ZIP, import from JSON.
- Optional sync (paid): Sign in and turn it on to replicate notes to api.txid.uk and keep devices in step. Conflicts are resolved on screen.
- Installable (PWA): Install it like a desktop app and use it offline. The interface comes in 8 languages.
Details
Overview
A browser-based, offline-first personal knowledge base. Notes are stored in a database inside your browser. No account is needed, and your notes stay on your device unless you turn on sync, an optional paid add-on for using several devices.
How to use
- Open lokl.txid.uk in a modern browser.
- Choose Start fresh and write, or import a Markdown folder.
- Back up as JSON or ZIP from Settings, or sign in and turn on sync.
Tech
Built with Preact and CodeMirror 6; storage and sync run on PouchDB (CouchDB on the server) and search on MiniSearch. Deployed as a static site and kept working offline by a service worker. The source is public on GitHub.