A decentralized chat app built with GUN.
- Try the Live Demo
- Watch the Chat Dapp Video
git clone <this-repo>
npm install
npm run dev
Decentralized Chat App with Gun.js
A decentralized chat app built with GUN.
git clone <this-repo>
npm install
npm run dev
How do we chat with other people
in package.json, move it to a devDependency, it will help beginners to read your code better
gun.js:1670 WebSocket connection to 'ws://localhost:8765/gun' failed.
I cloned the repo & re-deployed the code to Github Pages over here:
https://ghpranav.github.io/gun-chat/
I was expecting the chat page to be empty since it's a different domain. But when I created a new user & logged in for testing, it is syncing all the texts from your domain ( https://gun-chat-dapp.web.app/ ) as well. Is this the expected behavior? If yes, then how can I deploy a separate chat app where messages are synced only with those who use my domain?
QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'gun/' exceeded the quota. Consider using GUN's IndexedDB plugin for RAD for more storage space, https://gun.eco/docs/RAD#install
I am using WSL2 on Windows 11 and ran into a problem when I want
to expose the app on my local network by running:
HOST=0.0.0.0 rollup -c -w
or
sirv public --host 0.0.0.0
I get these two links to enter the app:
- Local: http://0.0.0.0:5000
- Network: http://172.20.70.19:5000 // ip-address of wsl2 vm
the local link is working fine, but when I open the network link I get automaticly redirected from http to https,
just to be greeted by an ERR_SSL_PROTOCOL_ERROR.
This behavior is persistent across diffrent browsers (Chrome, Firefox, Edge, Brave).
The sveltejs/template can be deployed and and opened without a redirect.
Thanks for sharing the code.
Appreciate if you could add a LICENSE file to the repo.
Thanks.
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.