https://github.com/oshikiri/planty-wiki
Proof-of-concept of a browser-based note-taking app powered by SQLite on OPFS
https://github.com/oshikiri/planty-wiki
lexical-editor note-taking-app opfs sqlite3
Last synced: 5 months ago
JSON representation
Proof-of-concept of a browser-based note-taking app powered by SQLite on OPFS
- Host: GitHub
- URL: https://github.com/oshikiri/planty-wiki
- Owner: oshikiri
- License: mit
- Created: 2025-12-17T15:24:29.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-11T13:14:59.000Z (5 months ago)
- Last Synced: 2026-01-11T17:24:53.034Z (5 months ago)
- Topics: lexical-editor, note-taking-app, opfs, sqlite3
- Language: TypeScript
- Homepage:
- Size: 760 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# planty-wiki: a lightweight note-taking app that runs entirely in the browser
planty-wiki keeps every editing flow inside the browser, so you can write and browse without a native app or a server.
- Built with TypeScript, Preact, Lexical, and SQLite on OPFS
- Browse and edit notes in the browser
- Persists notes in an OPFS-backed SQLite and exports Markdown on demand
- Supports Markdown syntax and wiki links such as `[[Page Name]]`, plus backlinks
## Launch Locally
```sh
npm clean-install
npm run dev
```
## SQLite WASM
sqlite3 WebAssembly & JavaScript Documentation Index https://sqlite.org/wasm/doc/trunk/index.md
## Known issues
- Requires Chrome with crossOriginIsolated enabled
- Lacks multi-tab support
- Lacks proper error handling for OPFS persistence failures
## How I Count Lines of Code
```sh
git ls-files -- 'public/sqlite-opfs-worker.js' '*.ts' '*.tsx' ':!'*.test.ts |\
xargs cloc
# 3607
```