Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 12 12:33
    estebanrfp updated the wiki
  • Apr 12 07:02
    kylebjordahl commented #1066
  • Apr 12 06:02
    amark commented #1066
  • Apr 12 05:58

    amark on master

    add options argument to set/put… (compare)

  • Apr 12 05:58
    amark closed #1067
  • Apr 12 05:58
    amark commented #1067
  • Apr 12 05:57

    amark on master

    Add git to Dockerfile apks (#10… (compare)

  • Apr 12 05:57
    amark closed #1061
  • Apr 12 05:57
    amark commented #1061
  • Apr 12 05:55

    amark on master

    Fixing non-existent err variabl… (compare)

  • Apr 12 05:55
    amark closed #1044
  • Apr 12 05:55
    amark commented #1044
  • Apr 12 05:54
    richardanaya commented #1045
  • Apr 12 05:51

    amark on master

    Improving websocket retry logic… (compare)

  • Apr 12 05:51
    amark closed #1045
  • Apr 12 05:51
    amark commented #1045
  • Apr 12 04:52

    amark on master

    Rename emoji to emoji.html (compare)

  • Apr 12 04:52

    amark on master

    Create emoji (compare)

  • Apr 11 18:14
    kylebjordahl edited #1066
  • Apr 11 18:11
    kylebjordahl synchronize #1066
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 (?)
Anique
@aniquetahir
@amark given an ip address for a signalling server, a browser node can connect to it to find peers. Whats stopping the browser from looking up signalling nodes from random ips just like in torrents(Chord/DHT)?
just need to find one signalling server and youre connected to the network
COVID-19
@Gillcovid19
Don’t you know, what program is GUN?
You are so interesting, don’t you have an IP address yourself? I open it to you. What permissions do you have to use IP addresses, and the third-party charging system will not be used by anyone. In the past, hackers used to create imitation programs to launder money. Now It’s no longer possible to use it. My company will naturally go to Github to talk about it, and if it is, they will definitely give it to you. If you don’t respond, just wait.
fgutica
@fgutica
Messing around with gun and I'm just wondering if a system is built using gun, what's stopping a malicious user from connecting to a relay peer and flooding some 'table' that others are subscribed to with junk data essentially performing a ddos. Is there any way to allow only certain clients to connect? Is there a way to do it just with SEA authentication, rather than with the token method seen in the restrict examples?
Anique
@aniquetahir
@fgutica some proof of work/stake can be implemented on top to prevent this. Proof of stake can be as simple as reputation of ip addresses stored in peers.
Mark Nadal
@amark
@aniquetahir because of "NAT traversal" 😕
@fgutica yes you can restrict writes. But I think it is better to have open systems and I'm working to scale things even more. PoW is a good idea too!
If you can, everyone moved to discord http://chat.gun.eco
fgutica
@fgutica
@amark I want whatever I'm building to be as open as possible but just thinking of what strategies can be leveraged to prevent things such as ddos attacks, brute forcing and spamming in general that can be detrimental to end user's experience. How could PoW be leveraged in this type of system?
fgutica
@fgutica
on the relay/signaling nodes is where this PoW would be implemented before any put happens?
Lexi
@Lexi:matrix.org
[m]
Hello! Is anyone working on the Web Ontology Language (OWL) for GUNDB? Or something similar?
Mark Nadal
@amark
@fgutica <3 <3 great, then I highly recommend rolling with the defaults and then as/if the gun network encounters any problems, let me/us address it at the protocol layer instead. Or are you offering to help contribute to protocol stuff now? :)
@Lexi:matrix.org helllloooo! You'd probably enjoy @dletta 's graph viewer as it visualizes just how easy it is or would be to set up whatever ontologies you want. :) Much easier in GUN than other systems, thanks to graphs!
1 reply
Lexi
@Lexi:matrix.org
[m]
Similar to how wikidata.org works
Koji Saruya
@koji117

Hi, I am very new to Gun and hoping to get some useful advice for my issue.

I am getting QuotaExceededError when I add data with more than 10mb and I assume this is because Gun uses localstorage.

However, in my understanding, Gun uses indexdb which can accomodate much more than 10mb. So I explicitly disable localstorage with

const gunDB = Gun({
    localStorage: false
 })

Now, I am getting multiple error messages below

{
  "err": "Error: No ACK yet.",
  "lack": true
}

Am I missing some module that is required by indexdb plugin? My import statement is like below.

import Gun from 'gun'
import 'gun/sea.js'
import 'gun/lib/radix.js'
import 'gun/lib/radisk.js'
import 'gun/lib/store.js'
import 'gun/lib/rindexed.js'

Could somebody pinpoint what I am doing wrong?

Mark Nadal
@amark
@Lexi:matrix.org didyou get it started? :)
@koji117 it should "just work" after that, tho I've only done it with script tags, but hopefully that isn't the issue. SOrry for delay, gone over the weekend. Willing to join the discord? Everyone went there :P even tho I liked gitter. http://chat.gun.eco
Jamie Skinner
@chalupagrande
Hi all,
I'm new here. Just looking into Gun, and it seems really powerful.
Quick question: It says that Gun would not be good for a banking solution, but what about just basic payment processing. Is there a way to link into something like stripe? or plaid? that would take care of the banking aspect?
Lexi
@Lexi:matrix.org
[m]
@amark: Hey Mark, thanks for getting back at me! Is there a way to make the visualGraph work locally without a server?
Mark Nadal
@amark
@chalupagrande @Lexi:matrix.org oh no no no!! Gitter didn't notify me of your message till just now. I'm so sorry, most people moved to discord (there is suppose to be a bot that bridges the two, but it seems broken), please check out http://chat.gun.eco if you can.
Hmm, I'd say it is fine if you are referencing banking transactions, but not using it to handle banking transactions (why? Cause GUN is "AP" of the "CAP Theorem" http://gun.eco/docs/CAP-Theorem , it will give you cached responses if you're offline rather than erroring and telling you are offline and it can't look up your global bank balance)
visualGraph should already! Just point it to your localhost? Ping @dletta or mayb eopen a github issue for him to see.
Lexi
@Lexi:matrix.org
[m]
But I need to run something on localhost, right? I hoped it would be possible with in browser Javascript only @amark
Thanks
Mark Nadal
@amark
@Lexi:matrix.org it look slike you can use any peer, so no need to run your own.
did you try using it with just an empty peer / no peer?
Lexi
@Lexi:matrix.org
[m]
No, just assumed it wouldn't be possible :-) Will try!
Mark Nadal
@amark
:thumbsup:
metehan
@metehan
I moved to discord
bye
Mark Nadal
@amark
:clap:
eleitl
@eleitl:matrix.org
[m]
Howdy. When trying sudo docker run --name=nab-mirror -p 3333:3333 notabug/nab --evict --lmdb --pistol --peer https://notabug.io/gun --render
I'm running into the following issue:

ca7202bf294b: Pull complete
Digest: sha256:f0f67072fa4a72c7ce2923c08582eb08d5846258ce1d23f739fa4349d82cf91c
Status: Downloaded newer image for notabug/nab:latest
---START---
Hello wonderful person! :) Thanks for using GUN, feel free to ask for help on https://gitter.im/amark/gun and ask StackOverflow questions tagged with 'gun'!
/notabug/server-build/index.js:116
throw error;
^

ReferenceError: navigator is not defined
at Object.parcelRequire.raSv../hooks (/notabug/server-build/index.js:5710:19)
at newRequire (/notabug/server-build/index.js:47:24)
at localRequire (/notabug/server-build/index.js:53:14)
at Object.parcelRequire.r56j../hooks (/notabug/server-build/index.js:5833:28)
at newRequire (/notabug/server-build/index.js:47:24)
at localRequire (/notabug/server-build/index.js:53:14)
at Object.parcelRequire.V7B4./Auth (/notabug/server-build/index.js:7531:15)
at newRequire (/notabug/server-build/index.js:47:24)
at localRequire (/notabug/server-build/index.js:53:14)
at Object.parcelRequire.Qlyb./NabContext (/notabug/server-build/index.js:8277:16)