/gun_chat

semi decentralised chat. where you never need to worry about storage or scaling with traffic

Primary LanguageJavaScript

gun_chat

local install

both on relay/ first and chat/

npm i
npm start

run

you need docker and docker-compose the gun/ directory is just a clone of the main gun repository nothing touched. so if the gun repository changed just replace it here

docker-compose up -d

adding new projects with their own git history

git subtree add --prefix=apps/gun_chat https://github.com/valiantlynx/gun_chat.git main --squash
git subtree pull --prefix=apps/gun_chat https://github.com/valiantlynx/gun_chat.git main --squash
git subtree push --prefix=apps/gun_chat https://github.com/valiantlynx/gun_chat.git main

# gun/ is added as a git subtree. to get the latest from the main gun repo do this below.
git subtree add --prefix=gun https://github.com/amark/gun.git master --squash
git subtree pull --prefix=gun https://github.com/amark/gun.git master --squash
# git subtree push --prefix=gun https://github.com/amark/gun.git master