command
module
Version:
v0.0.0-...-9037a3b
Opens a new window with list of versions in this module.
Published: May 22, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 21
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
chat-demo
Enn demonstrasion chat websocket ki servi HTMX, Templ, AlpineJS ek Go.

Fonksionalite
- Kominikasion an tem reel par websocket
- Limitasion pou anpes abuse
- Otantifikasion itilizater avek JWT
- Design responsive
- Filtraz bann mo vilain
Teknologi Itilize
- Backend: Go
- Frontend:
- HTMX - Extensionn HTML pou konteni dinamik
- Templ - Template HTML avek sekirite tip pou Go
- AlpineJS - Framework JavaScript lezer
Seki ou bizin avan
- Go 1.23+
- Docker (opsionel)
Instalasion
Developman Lokal
- Clone repository-la:
git clone https://github.com/flatlinguis/chat-demo.git
cd chat-demo
- Kree enn fichie
.env:
HTTP_PORT=8080
JWT_SECRET=to_kle_sekre
- Roul aplikasion-la:
go run .
- Ale lor http://localhost:8080
Docker
- Konstrwir ek roul container Docker:
docker build -t chat-demo .
docker run -p 8080:8080 -e JWT_SECRET=to_kle_sekre chat-demo
- Ale lor http://localhost:8080
Koman Servi
- Ale lor http://localhost:8080
- Ou pou otomatikman koneekte avek enn itilizater au azar
- Kumans koze avek lezot itilizater an tem reel
Lisans
Sa proze-la ena lisans Apache License 2.0 - get fichie LICENSE pou plis detay.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.