orbitdb-archive / orbit-web

Orbit Web Application
https://orbit.chat
MIT License
265 stars 60 forks source link

Where to use my localhost of Ipfs ? #50

Closed kesavananbu closed 5 years ago

kesavananbu commented 5 years ago

I m using this deno and educational purpose it's working fine but i dont know to replace the localhost gateway of my ipfs.

Is that possible to change the ipfs gateway ? Is that possible to use orbit-web without orbit-db because i dont need the old history.

I need only the live chat can anyone help me out guys ?

aphelionz commented 5 years ago

@kesavananbu i think what youre looking for is IPFS pubsub, which is the mechanism orbit-db uses for syncing and replication. Orbit-web is more or less a reference implementation for orbit-db and relies on database writes and replicate events for chat messaging.

I think if youre looking for just passing messages and not persisting them, try IPFS pubsub

kesavananbu commented 5 years ago

@aphelionz Thanks for the Response. Ok then Is that possible to Make Create the Channel and Join the channel by specifying two buttons as Create and Join. When someone joins it should notify the channel created peer and only if we accepted he can join the chat.

aphelionz commented 5 years ago

Yes, what you're calling a channel is formally called a "topic." You can find ipfs pubsub docs here: https://github.com/ipfs/interface-js-ipfs-core/blob/master/SPEC/PUBSUB.md

Beware: alpha software, YMMV

kesavananbu commented 5 years ago

Thanks @aphelionz for your response.