https://github.com/valiantlynx/gun_chat
semi decentralised chat. where you never need to worry about storage or scaling with traffic
https://github.com/valiantlynx/gun_chat
Last synced: 5 months ago
JSON representation
semi decentralised chat. where you never need to worry about storage or scaling with traffic
- Host: GitHub
- URL: https://github.com/valiantlynx/gun_chat
- Owner: valiantlynx
- Created: 2023-03-12T09:35:27.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-24T17:40:14.000Z (8 months ago)
- Last Synced: 2024-12-29T14:36:06.755Z (5 months ago)
- Language: JavaScript
- Homepage: https://gun-chat.valiantlynx.com/
- Size: 10.5 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# gun_chat
## local install
both on relay/ first and chat/
```bash
npm i
``````bash
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```bash
docker-compose up -d
```### adding new projects with their own git history
```sh
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
```