Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ngchat
command
Command ngchat is a minimalist terminal client for Newgrounds Chat.
|
Command ngchat is a minimalist terminal client for Newgrounds Chat. |
|
smoke
command
Command smoke is a headless harness for verifying the client stack against a live stack: mint → connect → authenticate → subscribe → send.
|
Command smoke is a headless harness for verifying the client stack against a live stack: mint → connect → authenticate → subscribe → send. |
|
internal
|
|
|
auth
Package auth handles credential storage, site login, and chat-JWT minting.
|
Package auth handles credential storage, site login, and chat-JWT minting. |
|
client
Package client maintains the NG Chat WebSocket session: mint → dial → authenticate → resolve channel → subscribe, plus the heartbeat the server requires and the reconnect/dedupe logic that makes the hourly JWT-expiry disconnect invisible to the UI.
|
Package client maintains the NG Chat WebSocket session: mint → dial → authenticate → resolve channel → subscribe, plus the heartbeat the server requires and the reconnect/dedupe logic that makes the hourly JWT-expiry disconnect invisible to the UI. |
|
complete
Package complete is the pure completion engine behind the composer's tab-triggered lists (mentions, commands, emotes, emoji).
|
Package complete is the pure completion engine behind the composer's tab-triggered lists (mentions, commands, emotes, emoji). |
|
complete/gen
command
Command gen writes internal/complete/emotes_gen.go from the upstream ngchat checkout, invoked by the //go:generate directive at the top of internal/complete/complete.go.
|
Command gen writes internal/complete/emotes_gen.go from the upstream ngchat checkout, invoked by the //go:generate directive at the top of internal/complete/complete.go. |
|
protocol
Package protocol hand-ports the NG Chat wire types from the server's Zod schemas (ngchat repo, src/shared/protocol).
|
Package protocol hand-ports the NG Chat wire types from the server's Zod schemas (ngchat repo, src/shared/protocol). |
|
render
Package render converts NG Chat's server-rendered message HTML into ANSI-styled terminal text.
|
Package render converts NG Chat's server-rendered message HTML into ANSI-styled terminal text. |
|
run
Package run is the one "prepare a run" step shared by cmd/ngchat and cmd/smoke: the environment both read, the site client with its routing cookie, the credential the jar is seeded with, the chat-URL check, and the client.Config that follows.
|
Package run is the one "prepare a run" step shared by cmd/ngchat and cmd/smoke: the environment both read, the site client with its routing cookie, the credential the jar is seeded with, the chat-URL check, and the client.Config that follows. |
|
splash
Package splash is the opening screen: a piece of pixel art and an Effect that draws it in over time, the way Omarchy plays one Terminal Text Effects run over its logo.
|
Package splash is the opening screen: a piece of pixel art and an Effect that draws it in over time, the way Omarchy plays one Terminal Text Effects run over its logo. |
|
theme
Package theme is the color vocabulary the UI draws with.
|
Package theme is the color vocabulary the UI draws with. |
|
transcript
Package transcript is the chat log: rows appended in order, drawn on demand, and a reader position that survives every redraw.
|
Package transcript is the chat log: rows appended in order, drawn on demand, and a reader position that survives every redraw. |
|
ui
Package ui is the fullscreen Bubble Tea interface: status bar, message viewport, input line.
|
Package ui is the fullscreen Bubble Tea interface: status bar, message viewport, input line. |
Click to show internal directories.
Click to hide internal directories.
