https://github.com/sclorentz/webchat
In process of redesign
https://github.com/sclorentz/webchat
back-end chat front-end go golang pwa rust wasm website
Last synced: about 1 year ago
JSON representation
In process of redesign
- Host: GitHub
- URL: https://github.com/sclorentz/webchat
- Owner: SCLorentz
- License: mit
- Created: 2024-01-09T12:27:53.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T11:18:54.000Z (over 1 year ago)
- Last Synced: 2025-04-15T15:04:47.127Z (about 1 year ago)
- Topics: back-end, chat, front-end, go, golang, pwa, rust, wasm, website
- Language: Go
- Homepage:
- Size: 66.5 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Now this is just a place for tests, maybe some day I will finish
# WebChat
I want to get experience making websites, so I decided to build a webchat to get better at frontend and backend.
Version: 6.5.1_a
## Develop by your own:
### My recomendations - Docker
If you want to develop your own version of this chat, you should get docker installed, so you don't have to worry about configure anything or make shure that this will work on your machine, is everythig already configured for you. Besides, in a virtualized environment, errors like "it works on my machine" can be avoidable. I made this to be really simple to just "enter and use" with no need for configuration.

Docker, Inc., Apache License 2.0, via Wikimedia Commons
### Start the server
To start the server, use: `run`, this command will make shure that everything necessary to make this project work is being executed and is working correctly.
tmp: deno run ./src/frontend/scripts/ts/main.ts
## Bundle RS to WASM and JS
cargo build --target wasm32-unknown-unknown --release --target-dir=./src/frontend/scripts/web
*There have been some issues with 'wasm-pack', don't use it*
## Bundle TS to JS
**for now I will use js (again), cause the output file 'bundle.js' has over 76MB of size idk why**
deno run -A npm:create-vite@latest --template react-ts
deno compile --allow-read --allow-net --config tsconfig.json --output=./src/frontend/scripts/js/bundle.js ./src/frontend/scripts/ts/index.ts
- Compile all the TS files into one JS file
- Remove comments
## Run the server
GOARCH=386 GOOS=linux go build main.go