An open API service indexing awesome lists of open source software.

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

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
```