Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
YousefED
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
YousefED
4y ago
Hi! I think the Liveblocks demo is quite impressive as well! It looks pretty smooth. One of the main things I'm missing is the ability to nest (indent) blocks similarly to how Notion / BlockNote allows this. This was quite a bit o
32.
▲
by
YousefED
4y ago
Toggles are on the roadmap to add! They are definitely a basic kind of block that should be built-in. Databases/tables are a whole different ball game of course. I’d like to focus on building an open source, reusable text/block ed
33.
▲
by
YousefED
4y ago
Thanks! Agree those components are important. Some of them are already available for the Prosemirror ecosystem, so it should be straightforward to add them. Focus so far for BlockNote has been to get the “block” system right (including nest
34.
▲
Show HN: BlockNote – a “Notion-style” block-based text editor
(github.com)
15 points
by
YousefED
4y ago
|
9 comments
35.
▲
by
YousefED
4y ago
Very exciting! Great to see support for yjs. Does fb use yjs internally? Would love to learn more about this!
36.
▲
by
YousefED
5y ago
Love the examples in this blog (both use cases and prior art). Thanks for sharing. I'm currently exploring what the ideal end-user-programming environment for this could look like https://www.loom.com/share/6fd5637
37.
▲
by
YousefED
5y ago
The downside of building this directly on Matrix events is that I don’t think it would work offline, right? (Until p2p matrix gets more common, that is). My biased suggestion would be to see how far you get with storing the data to be synce
38.
▲
by
YousefED
5y ago
Thanks! Personally, I’m looking forward to stronger / cleaner (TypeScript) sdks with for example easier auth and e2ee key management. I heard this is on their roadmap for this year, so that’s pretty exciting!
39.
▲
by
YousefED
5y ago
Fair point haha. I’ll also set up a matrix room and bridge it to Discord.
40.
▲
by
YousefED
5y ago
I just set up a Discord @ https://discord.gg/9GxSXCeQyN . Please join! It’s called TypeCell as that’s the (yet to be announced) project both Matrix-CRDT and SyncedStore are building blocks for. If you’re interested in tech
41.
▲
by
YousefED
5y ago
Yep, thats pretty much correct. With the addition of sending occasional “snapshots” so clients don't need to read the entire room history initially (more about this in the bottom of the readme).
42.
▲
by
YousefED
5y ago
You authenticate against a Matrix server (the “homeserver”). This can be a server that you host yourself, or one that is readily available (matrix.org is the most popular one). This design is fairly similar to email where you can be @gmail
43.
▲
by
YousefED
5y ago
Good spot. The WebRTC part is currently experimental and might be superceded by a different solution. If that's not the case I'll probably abstract it out indeed!
44.
▲
by
YousefED
5y ago
Thanks for the questions! - If you'd enable E2EE for the Matrix client that you pass to Matrix-CRDT, key management is covered in the same way that Matrix does it normally. If key sharing with a particular user is broken, then you won&
45.
▲
by
YousefED
5y ago
Exactly. One of the reasons to build on top of Matrix was that it opens the path to end-to-end-encryption. Matrix E2EE (Olm) is heavily based on Signal, and wouldn't be trivial to build from the ground up. I have a prototype running th
46.
▲
by
YousefED
5y ago
Thanks! And definitely agree, can 100% recommend TipTap!
47.
▲
by
YousefED
5y ago
Indeed, I think Matrix state resolution has some CRDT-like properties. Afaik, the goal of this is mainly to manage room state across servers when using federation - but I'd have to dive deeper into this. However, not all CRDTs are the
48.
▲
Show HN: Matrix-CRDT – real-time collaborative apps using Matrix as backend
(github.com)
320 points
by
YousefED
5y ago
|
72 comments
49.
▲
by
YousefED
5y ago
I’m working on this. One of the projects part if this journey is https://www.syncedstore.org which was recently on HN ( https://news.ycombinator.com/item?id=29483913 ). Shoot me a message to collaborate on this or
50.
▲
by
YousefED
5y ago
Lot's of fun! Thanks for sharing
51.
▲
by
YousefED
5y ago
It doesn't do any diffing, but keeps track of operations underneath, and syncs those. The gist is something like this: - if you push a string "hello" to an array, it will sync an update [push "hello" to Array x] al
52.
▲
by
YousefED
5y ago
Hi! Great questions :) First of all, SyncedStore does not implement any CRDT algorithms. Credits for this go to Yjs [1] (and its author Kevin), which it uses as underlying CRDT. Yjs and Automerge are (afaik) the two most commonly used CRDT
53.
▲
by
YousefED
5y ago
Thanks! Love the excitement :) SyncedStore supports the same backends as Yjs, here’s an overview: https://syncedstore.org/docs/sync-providers . You can indeed store updates in a centralized database (wrapped with an API
54.
▲
by
YousefED
5y ago
Thanks! As it builds on Yjs (many kudos to Kevin Jahns for creating that awesome project + community), any backend that's compatible with Yjs works. The demos work based on WebRTC / BroadcastChannel (for the same browser / de
55.
▲
by
YousefED
5y ago
Hi HN! With CRDTs (Conflict-free Replicated Data Types) becoming more mature and getting more attention lately, I decided to dive in and use it as the basis for a new project. I love the technology, and how it enables me to create Google Do
56.
▲
Show HN: SyncedStore CRDT – build multiplayer collaborative apps for React / Vue
(syncedstore.org)
144 points
by
YousefED
5y ago
|
26 comments
57.
▲
by
YousefED
5y ago
This is why I originally started a project to convert ts to json schema; https://github.com/YousefED/typescript-json-schema (and also check out a good alternative https://github.com/vega/ts-json-sc
58.
▲
by
YousefED
5y ago
I’m exploring the ideas (an easy to use framework to build local-first [1] apps) in my library Reactive-CRDT ( https://github.com/yousefed/reactive-crdt ). Feedback welcome! All credit for the underlying tech to YJS, whi
59.
▲
by
YousefED
5y ago
Happy sponsor here. Started exploring the (previously closed) beta a number of weeks ago, and its really a pleasure to work with. Have worked with Slate and Prosemirror before, and it feels like tiptap2 hits a better balance; easier API and
60.
▲
by
YousefED
6y ago
What about automatically "crowdfunding" open source projects? Idea: would it be possible to design a system where we distribute a membership fee to open source projects used? Let's say NPM would cost $10 / month per end-
More ›