triplit
liveblocks
triplit | liveblocks | |
---|---|---|
5 | 22 | |
870 | 3,081 | |
9.0% | 3.3% | |
9.9 | 9.6 | |
13 days ago | 8 days ago | |
TypeScript | TypeScript | |
GNU Affero General Public License v3.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
triplit
-
Triplit: Open-source DB that syncs data between server and browser in real-time
If you want to try that out, we use Sqlite in our server implementation so you can see an example there: https://github.com/aspen-cloud/triplit/blob/main/packages/se...
-
Show HN: RemoteStorage – sync localStorage across devices and browsers
Your app might not need it but if you want partial replication or relational querying in addition to offline-first syncing then check out https://github.com/aspen-cloud/triplit (disclaimer: I'm working on this)
- Show HN: Triplit – The Full-Stack Database
-
SQLSync – Stop Building Databases
I'm currently writing a very similar article about "full-stack databases" which highlights the same pattern where many apps end recreating the logic of our backend and database in the frontend client code. The solution we're promoting is to choose a database that can run on both the server and in the client and then sync between them.
The reason we aren't using Sqlite for our product is because Sql is frankly not the right tool for querying data for an application. It doesn't easily map to the data-structures you want in your client code and nearly all SQL databases have no way to subscribe to changes to a query without polling the query repeatedly.
So if you like the idea of having a complete database on your client but also want deep integration with Typescript/Javascript check out what we're building at https://github.com/aspen-cloud/triplit
liveblocks
-
Edit This Blog Post
Absolutely! The real complexity comes from conflict resolution. If someone edits the top, and someone else edits the bottom, which version do you go with? What if they're editing the same area? Entire companies exist to provide elegant solutions to this[0], so it's no simple task.
0: https://liveblocks.io/
-
Show HN: I created a Chrome extension to add realtime features to any website
I can imagine, browser extensions are a pain in the butt. Are you planning to open source the code? Did you build everything by yourself or on top of https://liveblocks.io/?
- Ask HN: What's the best “dark mode” themed website and app you have come across?
-
How would I adjust this gradient animation?
For the following example, I want the gradient color to flow from "Hello World" to the "Circle", so they are synchros and match the colors. I created this snippet but I'm having trouble with the rest. https://play.tailwindcss.com/accHTivCcx. Another example would be the https://liveblocks.io/'s title, which flows through the colors in the gradient. How would I achieve this?
-
Liveblocks vs Firebase?
Does anyone have any opinions about using Liveblocks for a live collaboration application as opposed to just using Firebase?
- Collaborative experiences in days, not months
-
Is a Multiplayer Game Possible with NextJS + Vercel?
liveblocks is great for multiplayer state sync. i was able to make my canvas redux app collaborative in a couple of hours https://liveblocks.io
-
CRDTs make multiplayer text editing part of Zed's DNA
Very cool use case for CRDTs! I've seen a bunch of different use cases from other products like https://liveblocks.io/ and https://electric-sql.com/. It's interesting how CRDTs are now taking hold so much for all these collaborative syncing scenarios. Wonder what's driving the proliferation now given they've been around for awhile?
-
Ask HN: Building a multiplayer, offline-capable app in 2022 (like Figma, Linear)
Hi Tim,
I'm a bit biased but https://liveblocks.io is great for that :)
If you know how to use React, that's pretty much all you need to know. It also includes some nice hooks to enable things like multiplayer undo/redo and live cursors.
The team even put a couple of interactive blog posts about that that you might find interesting:
-
The new wave of JavaScript web frameworks
True! I would also include https://liveblocks.io to that list of services that help developers make multiplayer experiences.
Interesting to see more players in this space to help more and more developers do this.
What are some alternatives?
sqlsync - SQLSync is a collaborative offline-first wrapper around SQLite. It is designed to synchronize web application state between users, devices, and the edge.
yjs - Shared data types for building collaborative software
drumroll-music - Full Stack Website for Uploading and Streaming Music Built using Next.JS and Supabase
Socket.io - Realtime application framework (Node.JS server)
excalidraw - Virtual whiteboard for sketching hand-drawn like diagrams
core - Renderer for TLDraw and maybe you, too.
RxDB - A fast, local first, reactive Database for JavaScript Applications https://rxdb.info/
sharedb - Realtime database backend based on Operational Transformation (OT)
remote-storage - remoteStorage is a simple library that combines the localStorage API with a remote server to persist data across sessions, devices, and browsers. It works as a simple key value database store and backend with support for React, Next.js, Vue, Node, or any Javascript stack
automerge - A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
TanStack Query - 🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.
perfect-freehand - Draw perfect pressure-sensitive freehand lines.