Skip to main content
Home

latest
This package works with Cloudflare Workers, DenoIt is unknown whether this package works with Node.js, Bun, Browsers
This package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with 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

  1. Start the client
termchat
  1. Start the server
termchat-server
  1. When prompted, enter your desired username.
  2. Start chatting!
  3. 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

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.