With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js. Learn more →
Top 23 local-first Open-Source Projects
-
logseq
A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
siyuan
A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.
-
electric
Local-first sync layer for web and mobile apps. Build reactive, realtime, local-first apps directly on Postgres.
-
blocksuite
🧩 Content editing tech stack for the web - BlockSuite is a toolkit for building editors and collaborative applications.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
sqlsync
SQLSync is a collaborative offline-first wrapper around SQLite. It is designed to synchronize web application state between users, devices, and the edge.
-
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 笔记。
-
any-sync
An open-source protocol designed to create high-performance, local-first, peer-to-peer, end-to-end encrypted applications that facilitate seamless collaboration among multiple users and devices
-
vlcn-orm
Develop with your data model anywhere. Query and load data reactively. Replicate between peers without a central server.
-
state
A Redux-based state container for local-first software, offering seamless synchronization using Automerge CRDTs. (Formerly known as 🐟 Cevitxe). (by local-first-web)
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Logseq support via our Logseq Plugin
Project mention: Ask HN: How Can I Make My Front End React to Database Changes in Real-Time? | news.ycombinator.com | 2024-04-17I'm interested in this problem also!
I think there is a large overlap with projects that market/focus on offline-first experiences.
AFAIK this problem can be solved by:
1) Considering a client-side copy of the database that gets synced with the remote DB. This is an approach [PowerSync](https://www.powersync.com/) and [ElectricSql](https://electric-sql.com/) and [rxdb](https://rxdb.info/) take!
Try SiYuan Note. It's free and open source local-first mix of Notion and Obsidian.
https://github.com/siyuan-note/siyuan
Project mention: Ask HN: How Can I Make My Front End React to Database Changes in Real-Time? | news.ycombinator.com | 2024-04-17I'm interested in this problem also!
I think there is a large overlap with projects that market/focus on offline-first experiences.
AFAIK this problem can be solved by:
1) Considering a client-side copy of the database that gets synced with the remote DB. This is an approach [PowerSync](https://www.powersync.com/) and [ElectricSql](https://electric-sql.com/) and [rxdb](https://rxdb.info/) take!
Project mention: BlockSuite is the open-source block-based editor | news.ycombinator.com | 2023-07-26
Plume is actually based on my open source note-taking app Notes[1]. You can already get it on Flathub, Snap Store etc. Notes uses just a simple plain text editor while Plume has a completely revamped block editor that I built from scratch. That parts of Notes used in Plume will remain open source (per the MPL license) but the rest of the code will be closed source. At least for the time being.
[1] https://github.com/nuttyartist/notes
Project mention: Show HN: Anytype multi-player: local-first, P2P, encrypted collaboration | news.ycombinator.com | 2024-04-25WIth every architectural choice we aim to make fundamental digital freedoms unconditional. Here you can read more about why - cloud vs. local first Internet [2].
[1] https://anytype.io/
Project mention: Filecoin Foundation Successfully Deploys IPFS in Space | news.ycombinator.com | 2024-01-16> because, right here right now, that is such a hypothetical situation that I have absolutely no idea why it needs a real-world demonstration of proof of concept using currently-available technology.
So I just want to point out that IPFS was fairly deliberately designed to have numerous, forward-compatible features that could be swapped out in the future : like https://multiformats.io/ and in particular https://multiformats.io/multiaddr/ .
In the IPFS community, there's always been a fairly heated discussion about which bit of the entire system should be stuck with the term IPFS. Like, if you took away the libp2p protocol, and just served CIDs over http, would it be IPFS? What if you took away CAR files (the merkle-tree file format used to define multi-item content)? What if you're a private IPFS network, with no shared nodes with the public network (like https://github.com/TryQuiet/quiet ). What if you didn't use bitswap, the file transfer protocol (Filecoin doesn't use bitswap, and mostly doesn't interconnect with the main public IPFS network). What about if you didn't use a DHT to find providers of a CID. What if you're not using any of the "IPFS" software stack, but your implementation still uses bits and pieces of content-addressability as defined in the standard?
Interestingly, right now, there are a bunch of experiments going in all of these directions: I think it's fair to say that if you wanted to test out content-addressable networks across the solar system, they probably wouldn't be IPFS as it is now, but their nature could probably be described using the primitives the IPFS stack uses, and learning about what needs to change would give a useful direction to some part of the extended IPFS ecosystem.
If you're looking for a very real use case of SQLite in the browser, there's SQLSync[1]. It was recently discussed on HN[2].
[1]: https://sqlsync.dev/posts/stop-building-databases/, https://sqlsync.dev/
Project mention: Local-first software: You own your data, in spite of the cloud (2019) | news.ycombinator.com | 2023-10-02I made a local-first platform designed for privacy, ease of use, and no vendor lock-in to sync and backup precious data using SQLite and CRDT.
https://github.com/evoluhq/evolu
Project mention: How to draw beautiful software architecture diagrams | news.ycombinator.com | 2023-10-27For anyone who likes excalidraw & tldraw, there's this wrapper that handles local storage: https://github.com/revezone/revezone
Project mention: Show HN: Anytype multi-player: local-first, P2P, encrypted collaboration | news.ycombinator.com | 2024-04-25Co-founder of Anytype is here [1]. Excited to share the multi-player release is live!
Last time I shared how Anytype can be used to build encrypted, local-first spaces around your interests [2]. Today, these spaces can be shared and co-created together: with your family members, small communities, teams, neighbors and people with similar interests. Examples: https://gallery.any.coop/Collaboration.
When we were testing collaboration internally for the first time, it felt like magic - we as a team were editing the same page, even after switching off the Internet - changes happened in an instant and all of them were synced via wi-fi.
Unlike cloud applications, in Anytype the encryption keys are stored locally, so only creators have access to them, so they own the space with its data and social graph. Every change is cryptographically signed, spaces can be created offline and can sync in peer to peer ways in local networks. This is enabled by open source protocol AnySync that supports high-performant collaboration over encrypted data and creators’ controlled keys. All our code is open on Github - https://github.com/anyproto/any-sync.
This first version of collaboration is very basic - it’s an alpha. It’s far from polished. We will focus on making it complete by adding notifications, public spaces, comments, and many other essential features in the coming months.
Why we’ve built it? Why anytype is the way it is?
Project mention: Anytype – open-source, local-first, P2P Notion alternative | news.ycombinator.com | 2023-07-20GNU also misses the point a bit. With open source, the source is open, but some other general rights are included too, like to restriction to the type usage. Lately, people and corporations made a lot of money on the backs of open source developers, so a new type of license emerged, and this would be the one that really is just about the "open" "source", but to make it distinct from the already widely known term, people call these "source available". Getting back to the topic, Any knows these distinctions too - or at least their lawyer did, because they call their license a "Source Available License"[0]. Source-available however doesn't carry the coolness of what "open source" brings - so on the marketing page, they refer to the project as "open source", which kind of can be argued, since the majority of it is indeed proper open source.
[0] https://github.com/anyproto/anytype-kotlin/blob/main/LICENSE...
Project mention: How should I model compute heavy tasks that occasionally make a network request? | /r/rust | 2023-10-08[1] https://github.com/Actyx/Actyx [2] https://www.inkandswitch.com/local-first/ [3] https://www.local-first-cooperation.org/
local-first related posts
- Show HN: Anytype multi-player: local-first, P2P, encrypted collaboration
- Ask HN: How Can I Make My Front End React to Database Changes in Real-Time?
- Cloudflare acquires PartyKit to allow developers to build real-time multi-user
- VNote: A pleasant note-taking platform
- Show HN: RemoteStorage – sync localStorage across devices and browsers
- I pwned half of America's fast food chains, simultaneously
- A future for SQL on the web (2021)
-
A note from our sponsor - SurveyJS
surveyjs.io | 26 Apr 2024
Index
What are some of the best open-source local-first projects? This list will help you:
Project | Stars | |
---|---|---|
1 | logseq | 29,702 |
2 | Trilium Notes | 25,378 |
3 | RxDB | 20,581 |
4 | siyuan | 15,872 |
5 | MiaoYan | 5,213 |
6 | electric | 4,784 |
7 | blocksuite | 3,775 |
8 | notes | 3,529 |
9 | anytype-ts | 2,827 |
10 | quiet | 1,823 |
11 | sqlsync | 1,717 |
12 | evolu | 1,046 |
13 | bangle-io | 988 |
14 | revezone | 965 |
15 | Matrix-CRDT | 713 |
16 | CubyText | 676 |
17 | earthstar | 609 |
18 | any-sync | 606 |
19 | anytype-kotlin | 394 |
20 | Actyx | 241 |
21 | langchain-alpaca | 220 |
22 | vlcn-orm | 207 |
23 | state | 176 |
Sponsored