@akdrysdale/termchat@0.1.1
latest
This package works with Cloudflare Workers, DenoIt is unknown whether this package works with Node.js, Bun, Browsers




JSR Score
88%
Published
10 months ago (0.1.1)
TermChat
A simple terminal-based chat application built with Deno and WebSockets.
This project was created as a learning exercise for my friend to explore:
- Deno runtime and it's ecosystem
- WebSocket communication
- Terminal-based applications
- Real-time chat systems
Installation
Install the client
deno install --allow-net -n termchat jsr:@yourusername/termchat/src/termchat-client
Install the server:
deno install -A -n termchat-server jsr:@yourusername/termchat/src/termchat-server
Usage
- Start the client
termchat
- Start the server
termchat-server
- When prompted, enter your desired username.
- Start chatting!
- Type '/quit' to exit.
Features
- Real-time messaging using WebSockets
- Simple username-based identification
- Message history stored in SQLite database
- Clean terminal interface
Project Structure
termchat/ ├─ src/ │ ├─ client.ts # Core Client Logic │ ├─ server.ts # Core Server Logic
Learning Resources
If you're interested in learning more about the technologies used in this project:
- Deno Documentation
- WebSocket API
- SQLite with Deno
Contributing
This is a learning project, but suggestions and improvements are welcome!
License
MIT License Copyright (c) 2025 A. K. Drysdale