amark/gun
View on GitHub ↗ ★ 19,160 JavaScript
An open source cybersecurity protocol for syncing decentralized graph data.
291 mentions on Hacker News by 45 people: 34 stories, 257 comments · first 2014-10-19 · latest 2024-10-08
20082026
-
Reminds me of https://github.com/amark/gun
comment by mrbluecoat · 2024-10-08 · in Jazz – Apps with Distributed State -
…not touch GUN with a ten foot pole. The code is absolutely inscrutable (what does any of this do? https://github.com/amark/gun/blob/master/lib/axe.js ), the creator has failed to sufficiently explain any of the underlying mechanisms…
comment by vore · 2023-02-19 · in Local-First Web Development -
I looked into their [0]codebase and I'm concerned about stability and maintenance. 0] https://github.com/amark/gun https://github.com/amark/gun/blob/master/src/chain.js
comment by searchableguy · 2021-09-15 · in EU Funding for Developer Tools for the Decentralized Web -
Some of the more interesting takes on this are GunJS and it's associated stack (sea, rad, dam etc - https://github.com/amark/gun ) It tries to come from a different direction ie. Local database with distributed sync upwards. It's only at…
comment by alexisread · 2020-12-13 · in Who Owns the Stars: The Trouble with Urbit -
…DERP [1] but with servers worldwide. Will this be supported out-of-the-box? Thanks again! [0] https://github.com/amark/gun [1] https://tailscale.com/blog/how-tailscale-works/
comment by ignoramous · 2020-07-27 · in Cloudflare launches Workers Unbound, next evolution of its serverless platform -
…You can write readable old school javascript, but just try to tell me what this line does: https://github.com/amark/gun/blob/master/src/type.js#L111
comment by ekseda · 2020-04-20 · in OrbitDB: Peer-to-peer databases for the decentralized web -
…I encourage anyone considering GUN to open up the source code and look through some random files: https://github.com/amark/gun/tree/master/src
comment by gun_throwaway · 2020-04-20 · in OrbitDB: Peer-to-peer databases for the decentralized web -
…becomes impossible. This has nothing to do with 'old school' JS, but universal code standards. [1] https://github.com/amark/gun/blob/master/src/type.js
comment by ricardobeat · 2020-04-20 · in OrbitDB: Peer-to-peer databases for the decentralized web -
Can you elaborate? Source code to GUN is right here: https://github.com/amark/gun/tree/master/src
comment by evv · 2020-04-19 · in OrbitDB: Peer-to-peer databases for the decentralized web -
…doing a real setImmediate. (C) Now that we can parse without blocking, our parser's while loop ( https://github.com/amark/gun/blob/master/lib/yson.js ) marches X byte increments at a time (I found 32KB to be a sweet spot, not sure why).…
comment by marknadal · 2020-04-01 · in Simdjson 0.3: Faster JSON parser -
…for that: CouchDB ( https://couchdb.apache.org/ ) (with its browser counterpart, PouchDB), Gun ( https://github.com/amark/gun ) and probably others.
comment by rakoo · 2020-03-08 · in How to make a web app work offline -
…In contrast, GUN, has 20M+ downloads/month from known sources: Internet Archive, HackerNoon, etc. ( https://github.com/amark/gun see jsdelivr download stats).
comment by marknadal · 2020-03-05 · in What Sets Us Apart: Filecoin’s Proof System -
Huh, 350K for $3 is good? I'm handling Millions for $0 :/ with my https://github.com/amark/gun .
comment by marknadal · 2020-02-29 · in Handling 350k Requests for $3 using Lambda -
…doing this! Just hit 19M+ monthly users. In production with Internet Archive, HackerNoon, etc. ( https://github.com/amark/gun ) Scaling systems that have to run out of the browser by default is tough, but we're doing this on $0 in server…
comment by marknadal · 2020-02-28 · in Redecentralize.org -
…I handle UNKNOWN in our distributed system (10M+ monthly users running on $0 cost infrastructure, https://github.com/amark/gun ) is to say that originator is responsible for retries until satisfactorily ACKed. This means all other nodes in…
comment by marknadal · 2020-02-22 · in Challenges with distributed systems -
…on top of a decentralized database would do it. - https://github.com/orbitdb/orbit-db (3Box) - https://github.com/amark/gun (Iris) - https://handbook.scuttlebutt.nz/ (Manyverse, Planetary)
comment by olah_1 · 2020-02-16 · in ActivityPub, the secret weapon of the Fediverse -
…he himself is very supportive of alternative approaches that don't involve cryptocurrency[3]. [1]: https://github.com/amark/gun [2]: https://mastodon.social [3]: https://twitter.com/VitalikButerin/status/121797359890150604... ,…
comment by leppr · 2020-02-13 · in Terminal V2 – Build, deploy, and host websites and apps on IPFS -
…boxes" is just the after effect. For instance, we have about 10M+ monthly users running on GUN ( https://github.com/amark/gun ), this is because it makes it easy/fun to work/play with concurrent data structures, so you get high scalability…
comment by marknadal · 2020-02-06 · in Scaling to 100k Users -
I implemented an entire database in VanillaJS: It runs in-production with 10M+ monthly users! https://github.com/amark/gun ~13KB I get a lot of hate for not-using-2ton-framework-of-the-month. But I think prioritizing performance is worth…
comment by marknadal · 2020-02-04 · in Mini projects built with VanillaJS. No frameworks or libraries -
…WebTorrent is the original better choice. But I'm seeing most big projects move to GUN (mine, https://github.com/amark/gun ). Internet Archive, HackerNoon others using it in production, with over 10M+ users, decentralized. If IPFS team…
comment by marknadal · 2020-01-20 · in Why build this blog, or anything, on IPFS? -
…thrown out the door immediately. I built the most popular CRDT powered database on the market ( https://github.com/amark/gun , 11K+ stars, 11M+ monthly installs), but have some harsh words for CRDT obsessed people: CRDTs are great, but if…
comment by marknadal · 2020-01-14 · in OT and CRDT trade-offs for Real-Time collaboration -
…they can scale when they pull it off. I've been working on decentralized tech for a while (I run https://github.com/amark/gun ) and can say it takes a lot of attention that most projects (dare I say "blockchains") have no scaling abilities…
comment by marknadal · 2019-12-13 · in Twitter to decentralize something -
Could you also add "Deploy Your Own Firebase"? Our project ( https://github.com/amark/gun ) gets 1M+ downloads a month and can be self-hosted easily with a 1-click deploy into production. Will try to make a PR when I get to my laptop. :)
comment by marknadal · 2019-12-07 · in Deploy-your-own-SaaS: “only yours” cloud services for everyday needs -
This looks awesome! Would you be willing to add my project (10K+ GitHub stars)? https://github.com/amark/gun It is a self-hosted Open Source alternative to Firebase, with graph features, and fully decentralized. It is used in production by…
comment by marknadal · 2019-12-05 · in Show HN: A searchable list of self-hosted software with screenshots -
I like the phrasing "Mergeable Data" over CRDTs (I've been on the CRDT bandwagon for years now, with https://github.com/amark/gun ). Probably worth it as an industry of we shift language to "Mergeable".
comment by marknadal · 2019-11-25 · in Mergeable replicated data types – Part I -
P2P & CRDTs are definitely production ready already. HackerNoon & Internet Archive are using (mine) https://github.com/amark/gun already. Local-first is very much the mantra of the whole dWeb community. I'm liking this naming "local-first"…
comment by marknadal · 2019-11-20 · in Local-first software: you own your data, in spite of the cloud -
…Will try to add "dark mode" to docs, in meanwhile, check out the docs on plain-text GitHub wiki ( https://github.com/amark/gun/wiki/Graph-Guide ) which is where everything pull from anyways.
comment by marknadal · 2019-11-06 · in CRDT: Conflict-free replicated data type -
I was thinking along similar lines. A neighborhood sneaker-net backed by something like gun https://github.com/amark/gun
comment by IggleSniggle · 2019-11-01 · in Quiet.js – Transmit and receive data in the browser at 44.1kHz -
…wanting to use CRDT tools, I recommend two: - https://github.com/automerge/automerge (immutable) - https://github.com/amark/gun (mutable)
comment by marknadal · 2019-10-28 · in How Figma's Multiplayer Technology Works -
…I also tried to understand the codebase which is impossible with obfuscated code like this one: https://github.com/amark/gun/blob/master/lib/store.js#L16
comment by dsun180 · 2019-10-25 · in Rxdb: A reactive database where you can subscribe to the result of a query -
There is also (mine) https://github.com/amark/gun It is run by Internet Archive, HackerNoon, DTube, Notabug, etc. Handles about 8M monthly active users! + end-to-end encryption, graphQL & graph data, upcoming Svelte support, decentralized,…
comment by marknadal · 2019-10-25 · in Rxdb: A reactive database where you can subscribe to the result of a query -
…by 8M users (across non-profits, community ops, and for-profit startups) in production for free ( https://github.com/amark/gun ). This complaining has got to stop. Go freaking license your code as (A)GPL and join Richard Stallman's…
comment by marknadal · 2019-09-22 · in Open-source companies gather to gripe: Cloud giants sell our code as a service -
…all the code is at https://github.com/notabugio/notabug . It is built with my P2P graph protocol ( https://github.com/amark/gun ), + he has some custom implementations of it.
comment by marknadal · 2019-09-18 · in Reddit was down for over two hours -
…[1] Disclosure: I work on Open Source full time now because 8M people use my tech ( https://github.com/amark/gun ), but I do not charge for it and previously had to do it in my spare time (it is only its success that has lead to me being…
comment by marknadal · 2019-09-17 · in The Internet Relies on People Working for Free -
My project has 10K+ stars: https://github.com/amark/gun Most of the traffic has come from HN! And a ton of organic search (tho my project has a generic name that is hard to find in search) so word of mouth.
comment by marknadal · 2019-09-15 · in How Do Developers Promote Open Source Projects? -
…15M monthly users (I saw about 10K concurrent users per second at peak load), to run GUN ( https://github.com/amark/gun ). Because I do think it is important to test all these protocols out at bigger/larger scales, that certainly makes it…
comment by marknadal · 2019-09-09 · in Hugo and IPFS: how this blog works (and scales to serve 5k% spikes instantly) -
…the way forward. Combined them all together, now have Internet Archive and HackerNoon running it ( https://github.com/amark/gun ) in production!
comment by marknadal · 2019-09-02 · in Homebrew removes MongoDB from core formulas -
…at that point! And we, my decentralized protocol, just grew from 2M to 15M monthly active users. ( https://github.com/amark/gun ) It seems to be working.
comment by marknadal · 2019-08-31 · in What to do once you admit that decentralization never seems to work (2018) -
…gap. That's what we've already done, gotten 15Million monthly active users onto GUN's network ( https://github.com/amark/gun ), by focusing on value add - whether people are idealistic or don't care, they're still using it. This is how…
comment by marknadal · 2019-08-30 · in Protocols, Not Platforms: A Technological Approach to Free Speech -
…Air, and I run this test to benchmark (baseline) my database: https://htmlpreview.github.io/?https://github.com/amark/gun/... My / Redis test is not very interesting (not real-world use case), but it at least gives a baseline that removes…
comment by marknadal · 2019-06-26 · in BTrDB: Berkeley Tree Database -
We don't need tokens. We need P2P stuff that works. Like https://github.com/webtorrent/webtorrent and https://github.com/amark/gun They're both run in production, at scale (millions of users), and do NOT require any tokens.
comment by marknadal · 2019-06-12 · in IPFS, Again -
…written the compensation! Here is a little multi-player spaceship game in 200 lines of HTML! https://github.com/amark/gun/blob/master/examples/game/space... It even works with WebRTC! We've tested it against 3+ people in different…
comment by marknadal · 2019-05-17 · in Latency Compensating Methods in Client/Server In-Game Protocol Design (2001) -
So very true! I also maintain 10,000+ GitHub starred OSS database ( https://github.com/amark/gun ), and can relate to a lot of these points. Worse than the jerks, though, are the bike-shedders. It is emotionally much easier to confront…
comment by marknadal · 2019-05-17 · in The struggles of an open source maintainer -
…I really don't like this answer, but it is sadly true - even as an expert in the space (my database https://github.com/amark/gun is one of the few CRDT-based systems out there). And there is a simple reason for this: Distributed systems…
comment by marknadal · 2019-05-11 · in Why CRDT didn't work out as well for collaborative editing xi-editor -
https://github.com/amark/gun var a = {b: 1, c: {d: 2}, e: 3, f: {g: 4}}; a.c.z = a; Every object has its own UUID, which makes circular references & sub-objects easy to reference. a.c = (UUID pointer to c) a.c.z = (UUID pointer to a) a.f =…
comment by marknadal · 2019-05-05 · in Local-first software: You own your data, in spite of the cloud -
https://github.com/amark/gun Altho it can sync across machines and backup to S3, so only a subset of your data needs to be loaded on the machine at any given time. The Internet Archive and others use it in production.
comment by marknadal · 2019-05-05 · in Beam: Distributed knowledge graph store written in Go by eBay -
I do similar with my database ( https://github.com/amark/gun ) and get great performance even out of free Heroku instances. 0 dev ops to manage too, can actually sleep at night. 100GB / day (100M records) for $10 all costs:…
comment by marknadal · 2019-04-20 · in Storing files in the DB: story of an epic failure -
General purpose CRDTs have been available for at least 5+ years. We have such a system ( http://github.com/amark/gun ) that is running in production at the Internet Archive, and P2P versions of Reddit & YouTube that have ~2M users. Dealing…
comment by marknadal · 2019-04-17 · in Roshi: A large-scale CRDT set implementation for timestamped events -
For dynamic data, you need to use a CRDT system like GUN ( https://github.com/amark/gun ). For instance, see P2P Reddit ( http://notabug.io ) which: - Running in production with GUN. - Handling about 42,000 monthly visitors. (…
comment by marknadal · 2019-04-12 · in IPFS Project Roadmap