irislib / iris-lib Goto Github PK
View Code? Open in Web Editor NEWLibrary for encrypted GUN channels and contact list management
License: MIT License
Library for encrypted GUN channels and contact list management
License: MIT License
Do you want to request a feature or report a bug?
Bug
In the example folder there is iris-chat.html. When it is loaded it throws an error.
line:16 Uncaught (in promise) TypeError: Cannot read property 'addChatButton' of undefined
What is the current behavior?:
no chat demo is rendered
What is the expected behavior?:
chat demo
Please provide the steps to reproduce or a link (repository) to a Short, Self Contained, Correct (Compilable), Example (SSCE):
Here is a deployed page with my public key for iris
https://plato.seallake.net/API/v1/data/demodata/iris-chat.html
Please mention other relevant information:
I did change the gun peer to gun-us.herokuapp.com/gun
hi ,
is there an example for Public messaging: Add a troll-free comment box to your website or app.
These sections are duplicated:
Use: https://gun.eco/docs/Forget
Add optional config argument for a timeframe for how long chat messages should exist. Append <?timeframe
to the channel ID then.
I don't think it's enforced across servers yet, but it would be good to at least implement for the future
Line 51 in 9555a0f
For example, this Identity.getMostVerifiedAttributes(attrs)
function implies that attributes are specifically things that are attached to identities. So are these things like location, employer, birthdate, etc?
hi, the library is great ,but loading the data is so slow
HI
Do you have plan to add SEA.certify feature to iris-lib ?
Compared to https://github.com/irislib/iris-messenger/tree/master/src/js/iris-lib (last update yesterday) it looks like the "original" library isn't updated for 4 months now. @mmalmi Will you create new versions in the future or should we copy files from the iris-messenger
? Thanks!
I guess the identify ipfs gateway isn't working, it's throwing a 502 for me.
Instead of falling back to one of the other gateways, this is causing a throw on Index.load()
:
Error: Failed to load page, status code: 502
at ClientRequest.<anonymous> (/Users/danfinlay/Documents/Development/identify-experiments/node_modules/merkle-btree/cjs/IPFSGatewayStorage.js:37:16)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
I put a log in, and the failing request is for the url https://identi.fi/ipfs/QmPKegyJCy9CiZRJJbRQ37kxyLSi1C5Xh85KUEqLL4TbGW
.
Personally, I'd rather pass my own IPFS object to identifi than have it bother with fallback strategies of any sort. That would let me configure my own local ipfs client, be it js-ipfs or pointing at a gateway.
Full sample failing code:
const identify = require('identifi-lib')
const { Index, Message, Identity, Attribute, Key, util } = identify
Index.load().then(async (inex) => { console.dir(index) }).catch(console.error)
I received the following error when trying to run the Identifi daemon on a Windows machine:
Error: Command failed: openssl ecparam -genkey -noout -name secp256k1 -out C:\Users\User/.identifi/private.key
It seems that this happens because of line 37 in keyutil.js:
privKeyFile = datadir + '/private.key';
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.