Hacker GitHub

← All repos

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

Mentions per year 291 mentions · busiest year 2017 (67)
20082026
  1. Reminds me of https://github.com/amark/gun
    comment by mrbluecoat · 2024-10-08 · in Jazz – Apps with Distributed State
  2. …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
  3. 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
  4. 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
  5. …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/
  6. …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
  7. …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
  8. …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
  9. Can you elaborate? Source code to GUN is right here: https://github.com/amark/gun/tree/master/src
  10. …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
  11. …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
  12. …In contrast, GUN, has 20M+ downloads/month from known sources: Internet Archive, HackerNoon, etc. ( https://github.com/amark/gun see jsdelivr download stats).
  13. 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
  14. …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
  15. …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
  16. …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)
  17. …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... ,…
  18. …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
  19. 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…
  20. …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?
  21. …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…
  22. …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
  23. 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. :)
  24. 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…
  25. 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
  26. 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"…
  27. …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
  28. I was thinking along similar lines. A neighborhood sneaker-net backed by something like gun https://github.com/amark/gun
  29. …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
  30. …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
  31. 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,…
  32. …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…
  33. …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
  34. …[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…
  35. 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.
  36. …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…
  37. …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
  38. …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.
  39. …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…
  40. …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
  41. …socket relays) I did not build NAB, but I work on the underlying P2P protocol that powers it ( https://github.com/amark/gun ) which competes with DAT - but I've always recommended DAT to people because I thought it already had working…
    comment by marknadal · 2019-06-12 · in On Dat
  42. 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
  43. …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…
  44. 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
  45. …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…
  46. 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 =…
  47. 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.
  48. 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:…
  49. 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…
  50. 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