https://github.com/sanskarsharma/chat
Websocket chat server, without database/logging, completely anonymous and ephemeral
https://github.com/sanskarsharma/chat
chat golang websocket
Last synced: 9 months ago
JSON representation
Websocket chat server, without database/logging, completely anonymous and ephemeral
- Host: GitHub
- URL: https://github.com/sanskarsharma/chat
- Owner: sanskarsharma
- License: mit
- Created: 2020-10-18T08:08:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-06-28T19:58:06.000Z (12 months ago)
- Last Synced: 2025-09-06T08:22:16.541Z (10 months ago)
- Topics: chat, golang, websocket
- Language: HTML
- Homepage:
- Size: 86.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# chat
## Overview
Wedsocket chat server. Completely ephemeral, no logging/storage on server.
Demo [here](https://chat.pohawithpeanuts.com)
## Usage
### Running on local with golang
```bash
go run *.go
```
### Running on docker
```bash
docker build -t chat:v0 .
docker run -d -p 8080:8080 chat:v0
```
### Running with reverse proxy and minimal front-end on docker-compose
```bash
docker-compose up -d
```
### Deploying using Clouflare {Workers + Containers}
This deploys to your cloudflare account - make sure to edit/remove custom domain in [wrangler.jsonc](wrangler.jsonc) -> `routes` as needed.
```bash
# install
npm install
npx wrangler deploy
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to add / update tests as appropriate.