Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 21 08:17
    Orimay synchronize #1191
  • Jan 21 08:11
    Orimay synchronize #1191
  • Jan 19 18:24
    julesl23 opened #1192
  • Jan 16 08:22
    davay42 updated the wiki
  • Jan 16 08:20
    davay42 updated the wiki
  • Jan 16 06:22
    Orimay opened #1191
  • Jan 16 05:22

    amark on master

    Update README.md (#1181) (compare)

  • Jan 16 05:22
    amark closed #1181
  • Jan 16 05:22
    amark commented #1181
  • Jan 15 00:46
    mbround18 commented #404
  • Jan 15 00:39
    mbround18 commented #404
  • Jan 15 00:38
    mbround18 commented #404
  • Jan 15 00:38
    mbround18 commented #404
  • Jan 15 00:38
    mbround18 commented #404
  • Jan 15 00:29
    mbround18 commented #404
  • Jan 14 23:39
    Orimay synchronize #1189
  • Jan 14 23:36
    Orimay synchronize #1189
  • Jan 14 23:35
    Orimay synchronize #1189
  • Jan 14 14:13
    shemeshg edited #1190
  • Jan 14 12:55
    shemeshg opened #1190
Jachen Duschletta
@Dletta
[D]mhelander: PageKit https://pagekit.com/ looks promising, free, PHP+MySQL and Vue.js...
Jachen Duschletta
@Dletta
[D]RobChristian: <@!621036850697601053> wordpress is a nightmare. Some good alternatives: Expression Engine, OctoberCMS
[D]mhelander: I know, had professional integration experience with it, some customers were using custom themes/plugins with WP and we had nightmares to get our SaaS Chat service to work in those...
[D]RobChristian: Looking for a good CMS is originally what brought me to look at Gun. I've decided to instead to use Gatsby and Firebase to make an interactive React-based page, which can then be rendered out to static HTML for publishing.
Jachen Duschletta
@Dletta
[D]vegardkrogh: <@!621036850697601053> Try https://www.sanity.io for a generic CMS that delivers your content through and API and fits any type of client/build step
Jachen Duschletta
@Dletta
[D]bmatusiak: iven been working on a cms for a few years, called welder, and peersocial is going to replace it
[D]bmatusiak: the first use-case of welder became a point of sale, https://github.com/bmatusiak/welder-pos
Jachen Duschletta
@Dletta

[D]anoxy: Can someone please tell me how I can hard delete a whole node and its related data?

RIght now I can only do "softDelete", I need to know how I can "hardDelete" or make the references nulled/empty without the keys being left somewhere, is this even possible?

result = user.get('notes').get('category').get(nodeKey).once(async function(data, key){ console.log('data', data); console.log('key', key); this.put({}, async function(ack){ console.log('ack ', ack); if (ack.ok !== 1) throw "nodeKey could not be softDeleted! Reason: " + ack.err; return ack; }); });

[D]Dletta: I am not sure, Object.delete?
Jachen Duschletta
@Dletta
[D]anoxy: I do understand that it is only possible to soft delete in public nodes because of other peers, but I am thinking of that might be possible to delete data in users graph or is that also a limitation because of one could have a session from another peer for that user graph ?
According to the API only soft deletes is possible: https://gun.eco/docs/FAQ#delete
Jachen Duschletta
@Dletta
[D]mimiza: <@621036850697601053> I'm using gatsbyjs. It is a static site generator. I also integrated it with Gun and it works very well. Can you try
[D]bmatusiak: well i may have some form of "password-less" or "2fa" for SEA using yubikey
[D]mimiza: @<@621036850697601053> For css i use Bulma , which is a no-js and css-only CSS framework. I'm not a coding guru, but a very experienced web developer/designer. So you can trust my opinions πŸ˜‰
Jachen Duschletta
@Dletta
[D]holyMacaroni:
[D]Dyno: Welcome <@639386319251832832>!!! 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!
Kamil Przeorski
@PrzeoR_twitter
hi
Jachen Duschletta
@Dletta
[D]xenister: hi wanted to know if anyone has a good example of GunJs on vueJs
Jachen Duschletta
@Dletta
[D]sirpy: <@!178314946201780224> see PM
Jussi RytkΓΆnen
@jussiry
My first app built on GUN :D https://edide.io/ksp.app
(voting app used in live improv shows)
Jachen Duschletta
@Dletta
[D]xenister: hello i'm been testing gunJs with vueJs for a few days and now i'm testing the user section i can't get to keep the user logged in after refresh,
after the loggin i call User.recall() witch is suposed to Recall saves a users credentials in sessionStorage of the browser. As long as the tab of your app is not closed the user stays logged in, even through page refreshes and reloads. but that don't work,
anyone know why ?
[D]bmatusiak: there is a trick to it
[D]xenister: how ?
[D]bmatusiak: here is how i use it
[D]bmatusiak: this line is before my app loads
[D]bmatusiak: the doRegister function finishes the load
[D]xenister: thkx gonna check it imediatly
Jachen Duschletta
@Dletta
[D]bmatusiak: πŸ‘¨β€πŸ’» https://groups.google.com/d/msg/onlykey/KdgMn6fifq0/oeSnPn-xDAAJ muhahahaha
[D]Dletta: Gun uses 2 key pairs, one for signing and one for encryption
[D]bmatusiak: so pair A and pair B have there own PubKey and PrivKey? <@!612728945313316904>
Jachen Duschletta
@Dletta
[D]mhelander: Yes that's the case. pub/priv is for signing/verifying and epub/epriv is for encryption/decrypting
Jachen Duschletta
@Dletta
[D]bmatusiak: <@!178314946201780224> <@!621036850697601053> https://groups.google.com/d/msg/onlykey/KdgMn6fifq0/kFUcnvS8DAAJ well i have a realy good direction
[D]Dletta: Inte
[D]Dletta: Interesting
Jachen Duschletta
@Dletta
[D]anoxy: <@103660564651212800> do you have an online GUN instance or do you run it locally with onΓΆt requiring Gun()?
I used to have same issue when K only required Gun() and as soon as I initiated the online Gun instance I didn't have problems after refresh ( to stay logged in )
Jachen Duschletta
@Dletta
[D]bmatusiak: o, snap, hes here
Jachen Duschletta
@Dletta
[D]applemaster2000:
[D]Dyno: Welcome <@292435188003241984>!!! 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!
[D]applemaster2000: Hello
pszabop
@pszabop
Hello, I'm still attempting to get a basic nodejs test running. Now when I end the test nodejs hangs and leaked-handles is indicating three leaked file handles.
'use strict'
const tape = require('tape')
const _test = require('tape-promise').default // <---- notice 'default'
const test = _test(tape) // decorate tape
const Gun = require('gun');
const Sea = require('gun/sea');

require('leaked-handles').set({
    fullStack: true, // use full stack traces 
    timeout: 20000, // run every 5 seconds instead of 5. 
    debugSockets: true // pretty print tcp thrown exceptions. 
});


test('create a key value pair using callbacks', async function (t) {
  const gun = Gun();
  const value = 'value';

  gun.get('key').put({property: value }).once(result => {
    t.equal(result.property, value, 'result  was what we put in');
    gun.get('key').once(result2 => {
      t.equal(result2.property, value, 'result2  was what we put in');
      setTimeout(function () {
        t.ok(true, 'test shold end now');
        t.end();
      }, 11000)
    });
  });
});
is there some sort of call to close the gun database and get it to close any file handles?
It looks to me like the built in storage mechanism doesn't ever close.
Jachen Duschletta
@Dletta
[D]marknadal: <@!366349503265112074> <3 Binary data adapters can be added in future, but people have been using Base64 with HD videos now/already. (3) is correct, `get(nodeKey).put(null)` will null out the *reference* to that -- ah <@!612728945313316904> already helped <3! If you null 1st then save data again, it will be a NEW node that blows out the old one, not merge with the old one. You cannot save nested data to a null (or any primitive) parent, you'd have to re-save it as a nested document/object like <@!139291366869041153> thought of & <@!280426612900757504> showed. Hard delete full node :/ not quite possible yet, as GUN cannot determine if it was an accidental data loss to resync or intentional unless tombstone (null). w00t, I could have just skimmed this, I didn't even need to reply-as-I-read. SO EXCITING AND COOL to see so much help/support. :) <@!647370527635144704> I deeply appreciate that, thank you. Yes, very much consider non-code contributions as important ❀️ especially community kindness/generosity.
<@!621036850697601053> do you need a GUI yet for your CMS? I'm trying to move https://github.com/eraeco/joydb in that direction, but πŸ˜› have no time. Toss a static page up on GitHub Pages or Netlify, + free heroku relay peer + dynamic realtime updating secure (because of you!) page! Or Ghost or something?
<@!624103263482150912> πŸ˜„ πŸ˜„ πŸ˜„ mind sharing your Gatsby + GUN integration????
<@!491228220520136704> πŸ‘
<@!103660564651212800> :/ :/ ? ? ? https://stackoverflow.com/questions/53578591/keeping-a-gun-db-user-authenticated-during-a-session/53741832#53741832 ? ? ? :/ :/
<@!280426612900757504> nice πŸ‘ , what is the πŸ‘‘ ?
@pszabop what I usually do in my tests is call process.exit() would that work? Yeah, GUN has HTTP server that stays alive, more than the fs.
<@!639386319251832832> <@!292435188003241984> WELCOME WELCOME WELCOME TO THE COMMUNITY!!!!!!!!!!!!!! ⚑ ⚑ ⚑ πŸ‘ How'd you hear about us??? What are you wanting to build??????
[D]bmatusiak: πŸ‘‘ is appended to your name in user's list
[D]bmatusiak: πŸ˜‹
Mark Nadal
@amark
@estebanrfp
@Dletta do me a favor and change your gitter profile pic to something unique, so it is easier for to scan when I check both sites? <3 <3 <3 thanks! Maybe something silly and super obvious (solid color?). Mostly cause gitter/github generates those pixel art avatars for people and they look very similar.
@jussiry w00t! More voting apps! Yours, NAB, @nmaro 's!
@PrzeoR_twitter WELCOME WELCOME WELCOME!!!!!!!! :zap: :zap: :clap: :clap: WELCOME TO THE COMMUNITY!!!! How'd you hear about us? What are you working on!???
@estebanrfp woops my reply was empty to you, you got things going? Need any more help?
Jachen Duschletta
@Dletta
[D]Pdbz199:
[D]Dyno: Welcome <@84101467539017728>!!! 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!