Giter Site home page Giter Site logo

iris-lib's People

Contributors

amark avatar joncom avatar juhq avatar lvlr avatar mmalmi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iris-lib's Issues

Example iris-chat.html:16 Uncaught (in promise) TypeError: Cannot read property 'addChatButton' of undefined

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

How add Public messaging

hi ,
is there an example for Public messaging: Add a troll-free comment box to your website or app.

Can't logout after saving private key

What is the current behavior?:
Pressing logout button appears to do nothing.

What is the expected behavior?:
Logging out the current user and bring back to sign-in / sign-up page

**Browser Version:
Safari
Brave and Chrome seem to work ok.

image

IPFS gateway fallback not working

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)

Privkey can't be saved to dir on Windows

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';

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.