📦

Golang WebSocket Chat Server

By Nahom Amare Kifle

View on Snapcraft.io
Version0.1.0
Revision1
Size6.7 MB
Licenseunset
Confinementstrict
Basecore24

A tiny WebSocket chat/broadcast server written in Go


A lightweight WebSocket server built with Go and golang.org/x/net/websocket.
It listens on TCP port 3000 and exposes two endpoints:

/ws a broadcast chat channel — every message you send is echoed
          back and rebroadcast to all connected clients

/bookFeed a demo feed that streams the current timestamp every 2 seconds

Connect with any WebSocket client, e.g.:
websocat ws://localhost:3000/ws

Update History

0.1.0 (1)
5 Jun 2026, 10:30 UTC

Published5 Jun 2026, 10:19 UTC

Last updated5 Jun 2026, 10:19 UTC

First seen5 Jun 2026, 10:30 UTC