Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:33
    fabianmarz commented #948
  • Mar 06 18:35

    amark on manhattan

    refactor unlink to cleaner logic (compare)

  • Mar 05 18:13

    amark on manhattan

    test was poorly constructed? (compare)

  • Mar 05 10:32
    flammehawk opened #1059
  • Mar 05 03:21
    mimiza commented #1058
  • Mar 04 22:37

    amark on master

    Update rad.js (compare)

  • Mar 04 22:35

    amark on master

    (WIP) Bug rad reverse sorting (… (compare)

  • Mar 04 22:35
    amark closed #1021
  • Mar 04 22:35
    amark commented #1021
  • Mar 04 22:32

    amark on master

    Keep devDependencies installed … (compare)

  • Mar 04 22:32
    amark closed #1047
  • Mar 04 22:32
    amark commented #1047
  • Mar 04 22:30

    amark on master

    Improvements to automatic redir… (compare)

  • Mar 04 22:30
    amark closed #1055
  • Mar 04 22:30
    amark closed #1041
  • Mar 04 22:30
    amark commented #1055
  • Mar 04 22:21

    amark on master

    Fix: certificants' pub strings … (compare)

  • Mar 04 22:21
    amark closed #1058
  • Mar 04 10:33
    mhelander commented #1058
  • Mar 04 10:28
    DeFUCC opened #1058
gunchatbridge
@gunchatbridge
[D] Agrintina: http://hentaiher.ga - hentai game - 18+ - free
[D] RayBaud2600:
[D] Dyno: Welcome <@798342314837540894>!!! GUN (https://github.com/amark/gun) is a P2P protocol for syncing data used by 8M+ people monthly across Internet Archive, HackerNoon, DTube (decentralized youtube), Notabug (p2p reddit), & more. Please try the 5min tutorial (https://gun.eco/docs/Todo-Dapp) to get started!
gunchatbridge
@gunchatbridge

[D] Adnan: <@!178314946201780224> sorry I missed your earlier response.

I am getting issue on receiving data on in active browser tab.

If I open page on two different tabs then only active tab is getting broadcast data.

Inactive tab only gets data if I move to it within couple of seconds otherwise it would miss the broadcast.

Mike
@MikePadge
I pop in once a year to check in and say hey, gunjs is super important, you all are doing heroes work.... that being said last time I popped in it looked like the chat group had migrated elswhere... I see the bridge, but where do it lead?
GerhardMes
@GerhardMes
just wanted to say hey. Just starting to get into gun.
Mark Nadal
@amark
@MikePadge @GerhardMes HI!!!!!! :) Looks like discord<->gitter bridge down again, so I didn't see your message. Sorry. If you want to join discord then try http://chat.gun.eco :) and <3 <3 <3 thanks for the comments, it is actually extremely encouraging to hear after 2020.
@GerhardMes w00h00! How can we help? (beware the chat bridge might be spotty)
RICHΛRD ΛNΛYΛ
@richardanaya
Hey all :) working on a cool project today https://github.com/richardanaya/gundb_webrtc
What's the best way to know when GunDB is fully ready to use?
I'm hitting slow downs and "No ACK yet"
  • know when GunDB peers are ready to use
Eistee
@Eistee82
how to use gun in angular?
RICHΛRD ΛNΛYΛ
@richardanaya
hey all, what's the easiest way to shutdown an instance of gundb?
RICHΛRD ΛNΛYΛ
@richardanaya
is it as simple as this.gun.off() ?
Mark Nadal
@amark
@richardanaya @Eistee82 yo! I hope we got you settled on discord, the replies to these there? Angular has been... a while, there are a several examples out there but from years ago, maybe tell me if you have any issues? https://github.com/CaliStyle/ng-gun
CSharpner
@CSharpner_gitlab

Hello! I'm going through the tutorial here: https://gun.eco/docs/Todo-Dapp And it's not fully working. A couple problems:

  1. Clicking the "edit on CodePen" button doesn't get a proper copy of the source code. All the quotation marks are missing from the entire thing, so nothing works.
  2. If I copy from the https://gun.eco/docs/Todo-Dapp page INTO the CodePen page, I get better results, but not fully working results.

When I save it to a file on my PC and run it in a browser, nothing works. Would be good in your docs to say you have to run it in at least 2 browser tabs simultaneously before anything does anything.

When I do that, I can "sign up" and "sign in", but the syncing only works between two tabs of the same browser. It never syncs between browser types nor even between regular browser tabs and private browser tabs and never across multiple machines. I'm at my wits end. Not sure where to go from here.

Any help would be greatly appreciated.

BTW, created this centralized site: https://DecentralizationCentral.com and will be converting it to fully decentralized. The decentralized database is the final hurdle to overcome to complete that task.

I should mention that I am completely and totally lost on whatever the hell NodeJS is. I just don't get it and don't understand the use of it on a decentralized app when the users will 100% not be using it, so I can't understand why I'd need it while developing the app. My extremely vague understanding is it's something that installs in some secret location on my developer machine and provides server side running of JavaScript? If at all possible, I'd prefer to never have to touch it for any reason. I just want to write a simple HTML file with a few lines of JS to create my POC for GunDB. If I can get that working, then I'm golden! ;)

Mark Nadal
@amark
@CSharpner_gitlab hey! Sorry I didn't see this sooner.
Oh my! Thank you, some of these I was aware of but others totally unaware, like (1) & (2) thank you!
We hit 30M monthly users in 2020 and things started crashing like crazy and I rushed to make as many experimental edits as I could and in that process I broke several things & left the ecosystem a mess. Usually it should "just work" across any machine with simple HTML. :( So the only options right now is either run your own "relay peer" (this is what the NodeJS thing is, it is server-side javascript that acts as a fallback if p2p connections fail - which, in the browser, with WebRTC, is 40% of the time. These relays do not need to be centralized) and several here (well, most of the community is on Discord now, you OK with joining that? http://chat.gun.eco ) can help you with that. The other option is to wait a few months for me to get the new version out, which I don't recommend waiting for.
uxchc
@xuhcc:zerohut.org
[m]
If you really care about decentralization, privacy and openness, don't use discord. Gitter is much better because it is now a part of matrix ecosystem https://matrix.org/blog/2020/12/07/gitter-now-speaks-matrix
CSharpner
@CSharpner_gitlab
Thanks Mark!
Mark Nadal
@amark
@xuhcc:zerohut.org :thumbsup: I liked gitter over discord, but the community disagreed with me, created the discord without me, and pretty much moved over voluntarily, so I followed.
sorleone
@sorleone
hello
how can I use gun to share a information between people in a decentralized way?
Also, if you would connect the app to a GUN server and also open the app in different computers (connecting to that same server), all data would be continuously synced.
this is from the tutorial and it seems very centralized to me
David M.
@davidmanzanares
Hi, I would like to know more about how gun's p2p works. I assume that data is only distributed to interested parties, right? I guess that only routing information is distributed without application action, right? I've also read that gun's p2p forms a "full mesh network". I would have assumed a Kademlia-style DHT network. When using gun, do you join a single network, or each application has its own network?
Mark Nadal
@amark
@sorleone did you read the part about adding WebRTC, but that it fails a lot? You can have N number of relay fallbacks, to keep it decentralized and reliable.
@davidmanzanares right now you join your own relays and browser auto-discover each other. However, in the future, the default is set to turn on that all peers form a larger DHT. You'll have to opt out, not in.
both :) please if you can join the http://chat.gun.eco discord - most people are there now, I rarely check here.
David M.
@davidmanzanares
thanks!
Richard Forrester
@RichardForrester
Hi, I'm just learning about GunDB and digging into the theory a little; apologies if this is already asked and answered, but I couldn't find anything on point. I was wondering if Gun, or any other distributed graph database system, optionally allows vertices and edges to specify a location for writes so that writes could be distributed across the entire network while maintaining atomicity for transactions that would otherwise require a single master writer.
Mark Nadal
@amark
@RichardForrester I do not recommend using GUN for banking based data. If that isn't the use case for your transactions, there are several better options inside of GUN without the need for special shard rules: (1) just serialize your edit as a JSON string and it will be saved all-or-nothing as an atomic value (2) save your edits concurrently but have a "done" flag that you flip bit (or better version ID) at the end while enforcing a schema. Could discuss other options, but no, there is no easy way currently to control for peer location.
Also, if possible! Please join the discord now? :) Most people moved over to it, even tho I liked gitter. http://chat.gun.eco
lanmower
@lanmower
hi there :)
Mark Nadal
@amark
@lanmower :confetti_ball: :confetti_ball: :confetti_ball: !
how are you?
Xavi Colomer
@xavicolomer
Hello Family! Ok I've tried to delete information in so many ways get(X).put(null) get(X)..set(null) gun.put(null) But I can still see the damns Objects ahhaha . I have a nodejs endpoint running as a peer in localhost and sessionStorage: true, which Im not really sure it is working because it does not remember my user.
Any suggestions?
Kasper
@probablykasper
Hey, would it be possible to use Gun for syncing app data between specific devices that a user can add, like for example syncing browser bookmarks?
Mark Nadal
@amark
@xavicolomer hiiiii! :) sorry for the delay I was gone camping
@xavicolomer you don't get the null updates? What version?
@probablykasper its probably the best tool for that. I know I'm biased, but that's exactly what its meant for and other systems would be much harder to maintain.
if you can, check out the http://chat.gun.eco discord, pretty much everybody moved there since they all like discord better than gitter.
Xavi Colomer
@xavicolomer
Hi there @amark !! 0.2020.520
Anique
@aniquetahir
Does this work without relay peers and is there a way to get peer
ip addresses?
Mark Nadal
@amark
@xavicolomer could you try on github master? Not sure if it'll fix anything but maybe help.
@aniquetahir yes, if you are running NodeJS. But in the browser alone, no, browsers won't let us do p2p unless WebRTC has signaling servers - but every relay peer runs a signaling system so we can decentralize it.
lookup WebRTC SDP specification to see if they leak IP addresses.
Anique
@aniquetahir
@amark unfortunate but understandable why we need the relay peers.
Mark Nadal
@amark
@aniquetahir yeah :/ once I get the new version of GUN out I'm hoping to focus on finishing the DHT so all the relay peers will automatically rotate to improve its decentralizedness
COVID-19
@Gillcovid19
Hi I am covid-19, I want to ask a question, will you answer me?
Mark Nadal
@amark
@Gillcovid19 as in you are sick? Or (?)