yjs
TiddlyWiki
Our great sponsors
yjs | TiddlyWiki | |
---|---|---|
53 | 273 | |
14,747 | 7,687 | |
3.7% | - | |
8.4 | 9.7 | |
4 days ago | about 19 hours ago | |
JavaScript | JavaScript | |
MIT | GNU General Public License v3.0 or later |
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.
yjs
-
Making CRDTs 98% More Efficient
One idea is just to use fewer random bits in peerIDs. Yjs (https://docs.yjs.dev/) gets away with just 32 random bits. If you compromise and use 64 random bits, then even a very popular doc with 1 million lifetime peerIDs will have a < 10^-7 lifetime probability of collision.
-
An Interactive Intro to CRDTs
I've seen it come up often in collaborative text editors.
Also see: https://github.com/yjs/yjs
-
JSON Schema Store
You are absolutely right that XML is better for document structures.
My current theory is that Yjs [0] is the new JSON+XML. It gives you both JSON and XML types in one nested structure, all with conflict free merging via incremental updates.
Also, you note the issue with XML and overlapping inline markup. Yjs has an answer for that with its text type, you can apply attributes (for styling or anything else) via arbatary ranges. They can overlap.
Obviously I'm being a little hypabolic suggesting it will replace JSON, the beauty of JSON is is simplicity, but for many systems building on Yjs or similar CRDT based serialisation systems is the future.
-
Launch HN: Tiptap (YC S23) – Toolkit for developing collaborative editors
Note: https://github.com/yjs/yjs for collaborative "document edition, and user cursors"; has WebRTC, web socket, matrix.org backend
-
How to use Yjs with Ruby on Rails?
Yjs framework: Because it is a CRDT implementation which provides collaborative editing and offline-first capability.
-
🐑🐑🐑 EweserDB, the user-owned database 🐑🐑🐑
No problem. The database CRUD features are just helpers as an abstraction on top of yjs: https://docs.yjs.dev/. Eweser adds schemas in the form of typescript types to make using it simpler, more structured, and interoperability easier.
- Ask HN: What is new in Algorithms / Data Structures these days?
-
Show HN: Nostr-CRDT – real-time collaborative apps over Nostr
Hi HN!
Nostr-CRDT is an experimental project that connects Yjs [1] (a proven, high performance CRDT) with Nostr [2].
I wanted to learn about the Nostr protocol and see if it'd be possible to send updates to state (e.g.: edits of a rich text document, updates to a todo list) over Nostr.
Nostr describes itself as "The simplest open protocol that is able to create a censorship-resistant global "social" network once and for all.".
I like the idea of a decentralized social network, but what if we can decentralize more kinds of apps and create decentralized, local-first collaborative applications? I've been exploring this area for a while and earlier shared a Show HN post that does this over Matrix [3].
There's still lots to figure out, but imo it's a very exciting and rapidly developing space - looking fwd to your thoughts already!
[1] https://github.com/yjs/yjs
[2] https://github.com/nostr-protocol/
[3] https://news.ycombinator.com/item?id=29978659
PS: for an instant demo you can open this link and click the green button to load the doc and connect over Nostr (using a new anonymous account): https://nostr-crdt-yousefed.vercel.app/#room=6d749539e1dd9ef...
-
Hindsight is a free and open-source retrospective board
No back-end. Data is shared via WebRTC directly between connected browsers. I'm using Yjs to help me with that.
- Show HN: Hindsight is a free and open-source retrospective board
TiddlyWiki
-
It's 29 Delphi, I mean
> What does ownership mean here?
It means owning the code and the data. With webapps, the code and data are hosted and owned, the users do not own the code, cannot run it independently. This is a clear dileneation between owner and user, and the owners can use that clear line to create artificial scarcity of various kinds. (The most popular being the subscription SaaS model). It's also easier to defend your IP since end users never see your binaries.
I like to make my software single html files whenever possible. People can just save them and run them locally. Havent met anyone who cares yet though.
I like that idea a lot, and I care. I think others care, but yes, it's a niche interest. Take a look at https://tiddlywiki.com/ for an example of a fairly successful project that uses the single html format running locally. However it suffers from limitations on File|Save which often requires a separate runtime of some kind to support.
Another project that approaches this ideal is https://redbean.dev/, @jart's tiny, performant, featureful single-file webserver. In this case the "single file" is a server executable + zip whose state must be updated on the command-line, but I think hits a sweet spot in terms of practicality, and a global minima when it comes to minimizing dependencies. (Redbean bundles SQLite and Lua so it's also possible to do through-the-web state updates as in a traditional webapp.)
My own project, Simpatico, aspires to be something along these lines. Eventually your browser tab is both a client and server process, connecting via websockets to other connected browsers, storing all state locally. I call this pattern "monomorphism", a play on the "isomorphic" javascript SPA. The server[2] is currently written in ~1 node file, but eventually I would like to port to redbean (and greenbean, the websocket version of redbean, but it isn't quite ready yet). The server grew several features to support a fast, practical BTD loop using markdown[1], and safe, performant execution on the public internet[2], but ultimately I'd like to pare it down to serving a single html file and allow the connected clients to provide all diversity of experience. I've used it to explore all kinds of browser apis, from crypto[3] to svg[4] to writing my own libraries (combine[4] and stree[5]). And it's all running locally, and easily hosted on a $5 VPS, and its all open source.
1 - https://simpatico.io/lit.md
2 - https://simpatico.io/reflector
3 - https://simpatico.io/crypto
- Ask HN: Looking for lightweight personal blogging platform
-
TiddlyPWA: putting TiddlyWiki on modern web app steroids
TiddlyWiki still works as intended: https://tiddlywiki.com/#GettingStarted but there are so many different clients to run on. Mobile or Desktop ? What OS? What Browser?
This effort https://val.packett.cool/blog/tiddlypwa/ is remarkable as the mobile side of saving is not as robust as on the desktop side of things and there is a scaling limit on performance as the number of tiddlers grows. Also the syncing between tw documents between different desktop/mobile clients can be a challenge with diffing.
Since then I've moved back to plain vanilla vim for a wiki (map gf :tabe ) but tw.html is still good for data other than plain text and TiddlyPWA https://tiddly.packett.cool/ is a great effort to revisit TiddlyWiki again.
-
Effect of Perceptual Load on Performance Within IDE in People with ADHD Symptoms
You should check out TiddlyWiki as it’s designed around the concept that small linkable notes are the best way to organize.
- Be brutally honest: What are the chances of a motivated 50-year-old person in US who have never studied computers to be able not only to teach herself how to code but also to make a bare minimum living?
-
Why is Trilium so unknown?
Wow...this is nice. I use https://tiddlywiki.com/ and it's great, but there's way more functionality in Trilium.
-
Ask HN: What's a good, privacy focused bookmark manager?
I would also offer to use a single file wiki such as tiddly wiki. It’s more than a bookmark manager, but it can be edited on the web and even stored in a git forge (like GitHub page).
-
Upcoming Reddit API Changes and the Future of r/leagueoflinux - Looking for Feedback
I think the biggest issue I have with with the alternatives I've looked at so far have been the lack of built-in wiki tools. I currently heavily rely upon the built-in reddit wiki for collecting and documenting everything here, which further complicates the situation. To be fully transparent, my plan was already for the next major iteration of the wiki to be off-site, something akin to a TiddlyWiki or DokuWiki; I've had this in mind for a long time now, including while rewriting the current iteration of the wiki. However, I am nowhere near beginning that project, and certainly wouldn't have anything cobbled together before July 1st. Effectively, wiki tooling is a must-have.
-
Notebook in html format
TiddlyWiki is along that same idea but with a wiki setup. You just download a template html and then its yours to do with as you wish. I used it for note taking in school, worked reasonably well.
-
Is the Zettelkasten method right for me?
And although I have used OneNote at work, I actually prefer using TiddlyWiki, which is a great tool for adopting the Zettelkasten method (and see an associated video).
What are some alternatives?
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.
automerge - A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
Dokuwiki - The DokuWiki Open Source Wiki Engine
obsidian-releases - Community plugins list, theme list, and releases of Obsidian.
Wiki.js - Wiki.js | A modern and powerful wiki app built on Node.js
BookStack - A platform to create documentation/wiki content built with PHP & Laravel
liveblocks - Liveblocks is a real-time collaboration infrastructure for developers.
Mediawiki - 🌻 The collaborative editing software that runs Wikipedia. Mirror from https://gerrit.wikimedia.org/g/mediawiki/core. See https://mediawiki.org/wiki/Developer_access for contributing.
Gollum - A simple, Git-powered wiki with a sweet API and local frontend.
vimwiki - Personal Wiki for Vim
automerge-rs - Rust implementation of automerge [Moved to: https://github.com/automerge/automerge]
Olelo - Wiki with git backend