Inspiration
Before the web, Korea went online through "PC tongsin": text-only networks reached by dial-up modem. A whole generation typed GO commands into blue terminals, wrote on boards, met in chat rooms and played door games. The big text networks closed one by one in the 2000s, and today that culture survives mostly as screenshots — there is nowhere left to actually dial in. GhostNet is a fictional network from that era that went dark in 2007, brought back so anyone can log on again, in English, from a browser, with nothing to install.
Who it is for: people who grew up on these networks and want to show them to someone younger; gamers who never saw the internet before the web; teachers and museums looking for a hands-on piece of digital heritage. In about three minutes you can dial in, read the boards, talk to the sysop and play a door game.
What it does
- Dial in: press CONNECT and hear a modem handshake synthesized live with the Web Audio API (no recorded audio).
- 80×25 ANSI terminal with a 16-color palette, block-letter logo and a live status line, framed by a CSS CRT bezel with scanlines and glow.
- Boards: three boards (Free, Humor, Game Club) with 27 posts dated 1994–2007, all fictional and written for this project. You can write your own posts too (saved in your browser). One post by LastOperator is still being written.
- Chat room: ghost users drift in and out, and the sysop answers with a rule-based conversation engine in the spirit of the era — and remembers which board you were just reading.
- Door game — "The Last Night Shift": a 10-turn text RPG. Patrol, fix lines, talk to ghosts or fight corrupted files; multiple endings, and a local Hall of Fame where you can register your score.
- Accessibility: a plain-text mode with
aria-liveoutput, a CRT toggle, and reduced-motion support.
How it was built with Kiro
| Kiro feature | Where | What it did for the project |
|---|---|---|
| Steering | .kiro/steering/ (product, tech, structure, english-copy, ansi-style) |
Kept every screen in plain English, 80 columns wide, free of real network brands |
| Spec-driven development | .kiro/specs/terminal-shell, .kiro/specs/boards-chat-door |
Each spec went requirements → design → tasks (16 top-level tasks, 52 checklist items) |
| Task execution | kiro-cli | Part of the first spec ran in spec mode; later tasks were run as headless kiro-cli prompts pointing at the spec tasks, with file read/write tools only. Tests were run outside the agent and the results fed into the next prompt — a way to fit the build into the 50-credit free plan |
| Agent hooks | .kiro/hooks/ (ansi-width, content-safety, related-tests; PostFileSave) |
Added near the end of the build (Dec 1). They check every saved ANSI screen for 80-column width, every post for Hangul / real brands / phone numbers, and run related tests. Runs are logged in docs/kiro-evidence/hook-runs.log |
| Property-based tests | src/**/*.test.ts (fast-check) |
ANSI parse/render round-trip, every screen fits 80×25, the command parser never throws, door-game state stays valid. The width property caught box borders that were 82–83 columns wide |
Steering, specs, application code and tests were written by kiro-cli on the free plan (no paid credits). Most commits come from Kiro output; the few fixes made outside Kiro, and the Kiro commits that include a small hand edit, are labelled in their commit messages and listed in the README. A static visual mock made before coding (docs/design/mock.html) was given to Kiro as a design reference. Full log: docs/kiro-evidence/SUMMARY.md. 451 tests pass.
Challenges
- Making every screen fit exactly 80×25 — box-drawing lines were 82–83 columns until a box() helper and a width property test fixed them.
- A renderer that appended new screens instead of replacing them, so the app looked frozen after CONNECT.
- A convincing modem sound from oscillators only.
- Fitting the whole build into 50 free credits a month: large task blocks, tests outside the agent.
Accomplishments
- A playable revival of a platform most people outside Korea have never seen.
- 451 passing tests, including property-based tests, with specs, steering and hooks visible in
/.kiro.
What was learned
Writing the steering rules first (English-only copy, 80-column ANSI) made later spec tasks far more consistent than prompting screen by screen.
What's next for GhostNet
Shared boards on a free backend, so real visitors can leave posts for the ghosts and GhostNet becomes a living archive; an importer for public-domain ANSI art.
Built With
- css3
- fast-check
- github
- html5
- kiro
- kiro-cli
- typescript
- vite
- vitest
- web-audio-api