TypeScript local-first

Open-source TypeScript projects categorized as local-first

Top 23 TypeScript local-first Projects

local-first
  1. siyuan

    A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.

    Project mention: SiYuan, Privacy First, Affero GPL, self-hosted PKMS written in ts and go | news.ycombinator.com | 2025-05-18

    I came across this project a while back and adopted it for my personal Personal Knowledge Management System/PKMS.

    I've bounced around a few PKMS in the past, eventually settling on Obsidian but later moving to Logseq in an effort to avoid relying on closed source tooling. Then recently I discovered this project and I've been beyond impressed.

    The desktop and mobile apps work very well and to be entirely honest are way more polished than I've come to expect from a FOSS PKMS, it's full featured with more or less everything I could want. It has a built in git-like VCS, it has integrated rendering for Mermaid, Plantuml, etc, and what I've personally found most interesting is it supports representing your notes as structured data that you can query with SQL.

    My one gripe is the english docs are pretty sparse but otherwise I've had a phenominal time with SiYuan and I thought HN might find it interesting.

    Github link: https://github.com/siyuan-note/siyuan

  2. SurveyJS

    JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor. Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.

    SurveyJS logo
  3. Trilium Notes

    Build your personal knowledge base with Trilium Notes

    Project mention: Taking Notes with Joplin | news.ycombinator.com | 2025-04-19

    https://github.com/zadam/trilium#trilium-is-in-maintenance-m... above and beyond the license difference between the two (I'm not looking for trouble, I'm only saying they are different)

  4. RxDB

    A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/

    Project mention: Local-first software: You own your data, in spite of the cloud | news.ycombinator.com | 2025-07-05
  5. anytype-ts

    Official Anytype client for MacOS, Linux, and Windows

    Project mention: Kan.bn – An open-source alterative to Trello | news.ycombinator.com | 2025-06-02
  6. blocksuite

    🧩 Content editing tech stack for the web - BlockSuite is a toolkit for building editors and collaborative applications.

  7. one

    ❶ One is a new React framework - target web and native with a single Vite plugin and fully shared code, so you can ship cross-platform nearly as easy as single-platform.

    Project mention: Is One the Future of Web and Mobile Development? | dev.to | 2024-10-17

    Lately, I’ve discovered there’s One—no, not the meaning of life or the perfect coffee blend—but another framework in the endless ocean of JavaScript and React tools. I know what you’re thinking, "Oh great, another framework?" But hang with me—this one is worth your attention, and no, I’m not just saying that because it’s shiny and new. One might actually make your life as a developer a whole lot easier.

  8. data

    WarpDrive is a lightweight data library for web apps — universal, typed, reactive, and ready to scale. (by emberjs)

  9. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  10. livestore

    LiveStore is a next-generation state management framework based on reactive SQLite and built-in sync engine.

    Project mention: LiveStore | news.ycombinator.com | 2025-05-27

    Great questions!

    > Handling compaction for long lived apps/pages?

    That's a very common question and something I'm planning to ship a solution for soon. The basic idea is to give each event some more semantic "meaning" by annotating the event definition which allows you to express which events "semantically overlap". For example in a todo app you could express that the "todoCompleted" event for a given task id can compact other "todoCompleted" / "todoUncompleted" events for the same task id.

    You can track the progress of this topic here: https://github.com/livestorejs/livestore/issues/254

    > IMO events are nice, but also require discipline and good design w.r.t code

    Yes, I agree with that. When it comes to data there is "no free lunch" - it's all about tradeoffs. I prefer the tradeoffs of event sourcing though for my own use cases such as Overtone.

    That being said for many situations (like older client versions etc) there are pretty straightforward ways to address those concerns. Always depends on your application use case and possible tradeoffs though.

    > Overtone looks sick. I've been using Spotify less and less because of janky UI and constant UI changes, would love a replacement. I see that it supports multiple sources, will it offer offline playback?

    Very excited to hear! I'm sharing your frustrations which is why I'm building Overtone (next to many other reasons). Re "offline playback": That will depend on where your music is coming from. e.g. for your own music collection in Dropbox (or similar) it will be supported. For music streaming services like Spotify it will depend on their terms.

    Hope that all makes sense?

  11. hyprnote

    Secure AI-powered meeting notetaker that runs on your device and keeps your data private.

    Project mention: Ask HN: What are you working on? (April 2025) | news.ycombinator.com | 2025-04-27
  12. eidos

    An extensible framework for Personal Data Management.

  13. revezone

    A lightweight local-first graphic-centric productivity tool to build your second brain. Supporting Excalidraw/Tldraw whiteboard and notion-like note. 一款以图形为中心、轻量级、本地优先的用于构建第二大脑的效率工具。支持 Excalidraw、Tldraw 白板和类 Notion 笔记。

  14. TidGi-Desktop

    TidGi is an privacy-in-mind, automated, auto-git-backup, freely-deployed knowledge management Desktop note app, based on Tiddlywiki, with REST API for web-clipping and Anki connect. 「 太记 」是一个基于「 太微 TiddlyWiki 」的知识管理桌面应用,能保护隐私内容、高级自动化、自动Git云备份、部署为博客,且可通过RESTAPI与Anki等应用连接。(迭代开发中欢迎试用,开发进度见下方链接)(Under active development, see website below for details)

  15. jazz

    Toolkit for backendless apps

    Project mention: 🚀 Yo devs, wanna build collab apps that SLAP? Meet Jazz: the Real-Time Collab Framework That’s Straight Fire 🔥 | dev.to | 2025-05-23
  16. evolu

    Privacy-focused local‑first platform that scales.

    Project mention: Automerge: A library of data structures for building collaborative applications | news.ycombinator.com | 2024-07-19

    It looks very similar to Evolu (https://github.com/evoluhq/evolu)

  17. bangle-io

    A web only WYSIWYG note taking app that saves notes locally in markdown format. v2: https://staging.app.bangle.io/

    Project mention: Ask HN: What are you working on? (April 2025) | news.ycombinator.com | 2025-04-27

    I’m working on a web based note taking app that is open source and lets you own the notes in your file system - https://bangle.io

  18. earthstar

    Storage for private, distributed, offline-first applications.

    Project mention: Earthstar – A database for private, distributed, offline-first applications | news.ycombinator.com | 2025-01-31
  19. json-joy

    json-joy is a library that implements cutting-edge real-time and collaborative editing algorithms and utilities for JSON data models, with a focus on developing the JSON CRDT (Conflict-free Replicated Data Type) specification and implementation.

  20. fireproof

    The vibe coding database runs in the browser, fits in the context window, and syncs anywhere.

    Project mention: Stop Syncing Everything | news.ycombinator.com | 2025-04-01
  21. CubyText

    An open-source knowledge management app.

  22. Matrix-CRDT

    Use Matrix as a backend for local-first applications with the Matrix-CRDT Yjs provider.

  23. sqlocal

    SQLocal makes it easy to run SQLite3 in the browser, backed by the origin private file system.

  24. goatdb

    An Embedded, Distributed, Document DB

    Project mention: The Case for Edge AI: Are Small Language Models the Future of AI? | dev.to | 2025-03-20

    If you’re a developer looking to explore offline AI, now is the perfect time to experiment with SLMs. Check out the GoatDB GitHub and start building your own local AI-powered applications.

  25. lumen

    A simple note-taking app for capturing and organizing your thoughts (by lumen-notes)

  26. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

TypeScript local-first discussion

Log in or Post with

TypeScript local-first related posts

  • LiveStore

    4 projects | news.ycombinator.com | 27 May 2025
  • 🚀 Yo devs, wanna build collab apps that SLAP? Meet Jazz: the Real-Time Collab Framework That’s Straight Fire 🔥

    1 project | dev.to | 23 May 2025
  • SiYuan, Privacy First, Affero GPL, self-hosted PKMS written in ts and go

    1 project | news.ycombinator.com | 18 May 2025
  • Show HN: Hyprnote – A privacy-first AI notepad that works locally

    1 project | news.ycombinator.com | 23 Apr 2025
  • Taking Notes with Joplin

    5 projects | news.ycombinator.com | 19 Apr 2025
  • Sync Engines Are the Future

    14 projects | news.ycombinator.com | 21 Mar 2025
  • Is One the Future of Web and Mobile Development?

    1 project | dev.to | 17 Oct 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 16 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source local-first projects in TypeScript? This list will help you:

# Project Stars
1 siyuan 35,860
2 Trilium Notes 29,384
3 RxDB 22,486
4 anytype-ts 5,706
5 blocksuite 5,076
6 one 4,199
7 data 3,078
8 livestore 2,626
9 hyprnote 2,621
10 eidos 2,525
11 revezone 2,283
12 TidGi-Desktop 1,888
13 jazz 1,821
14 evolu 1,659
15 bangle-io 1,137
16 earthstar 888
17 json-joy 887
18 fireproof 882
19 CubyText 764
20 Matrix-CRDT 758
21 sqlocal 600
22 goatdb 540
23 lumen 515

Sponsored
JavaScript Form Builder with No-Code UI & Built-In JSON Schema Editor
Keep full control over the data you collect and tailor the form builder’s entire look and feel to your users’ needs. SurveyJS works with React, Angular, Vue 3, and is compatible with any backend or auth system. Learn more.
surveyjs.io

Did you know that TypeScript is
the 1st most popular programming language
based on number of references?