4.3 KiB
Meow
Meow is an accessible, voice-driven MUD client for Elten, the application platform for blind and visually impaired people.
The project is currently an early but usable Telnet client. Its interface is built from Elten's native spoken and Braille-aware controls rather than a graphical interface with accessibility added afterward.
Current features
- Connection profiles with name, host, port, TLS, encoding, and automatic-reading preferences
- Plain Telnet and certificate-verified TLS connections
- UTF-8, Windows-1252, and ISO-8859-1 character encodings
- Streaming Telnet negotiation with ECHO, Suppress Go Ahead, and Terminal Type support
- MCCP2 compressed-stream negotiation and bounded streaming decompression
- GMCP negotiation with bounded UTF-8/JSON parsing and a raw diagnostic inspector
- Accessible live views for character, room, items, skills, group, and communication data
- Opt-in Client.Media audio with captions, per-profile volumes, HTTPS-only bounded downloads, and cache limits
- Streaming ANSI control-sequence filtering
- Accessible scrollback and command entry
- Automatic reading of incoming lines and prompts
- Pause, resume, stop-current-speech, and resume-from-latest controls
- Bounded in-memory scrollback and speech queues
- In-memory command history
- Automatic password-prompt detection and an explicit sensitive-input mode
- Clean socket, worker-thread, and program resource shutdown
Passwords, command history, transcripts, and scrollback are not persisted. Only connection profiles are written to the program's private data directory.
Using Meow
Meow targets Elten API 3.0.3 and is currently intended for Elten developer mode.
- Load the
meowsource program in Elten. - Open Meow from the programs menu.
- Create a connection profile with the MUD host and port.
- Select the profile and choose Connect.
- Enter commands in the Command field and press Enter to send them.
The output and command fields provide additional actions through their context menus, including command recall, sensitive input, jumping to the latest output, and skipping queued speech.
Project structure
__app.rbcontains the Elten manifest and program entry point.lib/meow/profile_repository.rbstores and validates connection profiles.lib/meow/transport.rbowns TCP/TLS sockets and background I/O.lib/meow/telnet.rbimplements the streaming Telnet state machine.lib/meow/gmcp.rbparses GMCP and maintains package state.lib/meow/media.rbprovides protocol-neutral media requests, safe caching, and Elten audio playback.lib/meow/session_gmcp.rbintegrates GMCP packages with accessible session views.lib/meow/text_pipeline.rbhandles ANSI filtering, decoding, lines, and prompts.lib/meow/session.rbowns connected-session state, scrollback, input, and speech.lib/meow/ui.rbimplements the connection manager and profile editor.
Next steps
The protocol and session layers are intentionally separated so richer MUD functionality can be added without coupling it to the accessible interface.
Automated regression coverage now exercises the streaming Telnet parser and text pipeline, including negotiation, fragmented input, ANSI filtering, character decoding, and newline edge cases.
Planned work, roughly in order:
- Add MSP parsing as a second adapter to the shared media request and playback layer.
- Add aliases, triggers, timers, optional transcripts, and configurable command shortcuts.
- Add multiple simultaneous sessions with independent output, media, and speech queues.
- Add localization catalogs and package/signing automation for releases.
Running the tests
The suite uses no external gems. Run it with a standard Ruby installation:
ruby test/run.rb
When developing inside Elten, load test/run.rb through the source program's evaluation context so the tests use Elten's bundled Ruby runtime.
Development status
The current implementation is checked with Elten's Ruby syntax checker and its automated in-process protocol suite, and has also been exercised with a loopback TCP server. Real MUDs differ considerably in their Telnet behavior, so interoperability reports and reproducible protocol captures are welcome.
The application UUID is 51a92051-84e0-415f-84e3-98f08a320a15 and must remain stable across releases.