• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
onetruechaos

onetruechaos

HeroTool

Public
Like
HeroTool
Home
Code
4
backend
1
frontend
4
shared
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://onetruechaos--16ec930238d811f098299e149126039e.web.val.run
README.md

Archipelago.gg Chat Client

A web-based chat client for connecting to Archipelago.gg servers. This application allows you to view and send chat messages to connected Archipelago servers.

Features

  • Connect to Archipelago.gg servers via WebSocket
  • Real-time chat message viewing
  • Send chat messages to the server
  • Connection status monitoring
  • Clean, responsive UI

Project Structure

β”œβ”€β”€ backend/
β”‚   └── index.ts             # Main Hono server with WebSocket proxy
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ components/
β”‚   β”‚   β”œβ”€β”€ App.tsx          # Main application component
β”‚   β”‚   β”œβ”€β”€ ChatWindow.tsx   # Chat message display
β”‚   β”‚   β”œβ”€β”€ MessageInput.tsx # Message input component
β”‚   β”‚   └── ConnectionForm.tsx # Server connection form
β”‚   β”œβ”€β”€ index.html           # Main HTML template
β”‚   β”œβ”€β”€ index.tsx            # Frontend entry point
β”‚   └── style.css            # Custom styles
β”œβ”€β”€ shared/
β”‚   └── types.ts             # Shared TypeScript types
└── README.md

Usage

  1. Open the application
  2. Enter your Archipelago server details (host, port, slot name, password if required)
  3. Click "Connect" to establish connection
  4. View incoming chat messages in real-time
  5. Send messages using the input field at the bottom

Technical Details

  • Backend: Hono.js with WebSocket support
  • Frontend: React with TypeScript
  • Styling: TailwindCSS
  • Real-time communication: WebSocket connection to Archipelago servers

API Endpoints

  • GET / - Main application interface
  • GET /ws - WebSocket endpoint for real-time communication
  • GET /health - Health check endpoint
  • GET /frontend/* - Static frontend assets
  • GET /shared/* - Shared TypeScript types

Archipelago Protocol Support

The client supports the following Archipelago protocol commands:

  • Connect - Initial connection to server
  • Connected - Connection confirmation
  • ConnectionRefused - Connection rejection handling
  • Say - Send chat messages
  • PrintJSON - Receive formatted messages (chat, items, locations)
  • RoomInfo - Room information updates
  • RoomUpdate - Real-time room updates

Message Types

  • Chat: Regular player messages
  • System: Server notifications and status updates
  • Item: Item-related notifications with special highlighting
  • Location: Location-related notifications with special highlighting
HTTP
  • index.ts
    onetruechaos--16…9e.web.val.run
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
Β© 2025 Val Town, Inc.