Ascii art
ASCII and box-drawing diagrams in code blocks, to check every line and joint lines up in the code font.
File tree, box-drawing characters
jaygriff-v4/
├── public/
│ ├── images/
│ │ └── me2.jpg
│ └── tool-logos/
│ ├── neon.svg
│ └── … 79 more
├── scripts/
│ └── routes-sync.mts
├── src/
│ ├── app/
│ │ ├── [...path]/
│ │ │ └── page.tsx
│ │ ├── globals.css
│ │ └── layout.tsx
│ ├── components/
│ │ ├── code-block/
│ │ └── typography.tsx
│ └── lib/
│ └── goatboat.ts
└── package.jsonFile tree, plain ASCII
goatboat
+-- src
| +-- db
| | +-- ops.ts
| | \-- schema.ts
| \-- mcp
| \-- server.mts
\-- tests
\-- setup.tsArchitecture diagram
┌──────────────┐ reads ┌──────────────┐ SQL ┌──────────────┐
│ jaygriff-v4 │ ─────────▶ │ goatboat │ ───────▶ │ Turso │
│ (Next.js) │ /api/... │ (API + MCP) │ │ (SQLite) │
└──────────────┘ └──────┬───────┘ └──────────────┘
│ proposals
▼
┌──────────────┐
│ Owner │
│ approves │
└──────────────┘State diagram with diagonals
+-----------+
| pending |
+-----------+
/ \
approve / \ reject
v v
+-----------+ +-----------+
| approved | | rejected |
+-----------+ +-----------+
|
| apply
v
+-----------+
| applied |
+-----------+Sequence diagram
Agent MCP server goatboat API Owner
│ │ │ │
│ create_page() │ │ │
│────────────────▶│ │ │
│ │ POST /proposals │ │
│ │─────────────────▶│ │
│ │ 201 pending │ │
│ │◀─────────────────│ │
│ proposal id │ │ review link │
│◀────────────────│ │────────────────▶│Double-line table
╔════════════╤═════════╤══════════╗
║ Status │ Color │ Meaning ║
╟────────────┼─────────┼──────────╢
║ active │ emerald │ daily ║
║ occasional │ amber │ now+then ║
║ benched │ pink │ paused ║
╚════════════╧═════════╧══════════╝Git graph
* 31c60bf Give typography its own variants
* 2d92130 Tighten the phone header
* 9f1e2aa Merge branch 'toc'
|\
| * 4b7d0c1 Collapse the TOC on phones
| * 8e2f9a3 Add the TOC disclosure
* | 7c3d1e5 Shared caps label
|/
* 588a38d Centre the About portraitBlock-letter banner and cowsay
██████ ██████ █████ ████████
██ ██ ██ ██ ██ ██
██ ███ ██ ██ ███████ ██
██ ██ ██ ██ ██ ██ ██
██████ ██████ ██ ██ ██
_________________
< ship it, friday >
-----------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||Sparklines and bars
requests/min ▁▂▃▅▇█▇▅▃▂▁▁▂▃▅
build cache [████████████░░░░░░░░] 60%
logos (2.2MB) ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒░░Diagram in a highlighted comment
/**
* Request flow:
*
* browser
* └─▶ proxy.ts (sets x-pathname)
* └─▶ app/[...path]/page.tsx
* ├─▶ getPage(path) ── goatboat API
* └─▶ MarkdownRenderer
*/
export const flow = "documented above";Wider than the block
[edit] ──▶ [save] ──▶ [routes:sync] ──▶ [goatboat /api/sync] ──▶ [proposal] ──▶ [owner approves] ──▶ [Turso] ──▶ [site revalidates] ──▶ [visitor sees it]
│ ▲
└──────────────────────────────────────────── the whole loop, ideally under a minute ──────────────────────────────────────────────────────────┘CJK and emoji in a table
Lines up only if the font draws these characters at exactly two columns, which most don't. Expect this one to drift.
┌──────────┬──────────┐
│ English │ 日本語 │
├──────────┼──────────┤
│ hello │ こんにち │
│ emoji 🚀 │ 絵文字 │
└──────────┴──────────┘Related
- Layouts with route groups
The plan to give each kind of page its own layout with Next.js route groups: (site), (notes) with a left notes aside, (bare), and (artifacts) for self-contained HTML files.
- Highlight
The Highlight text component: a faint blue tint with square corners, whose side padding repeats on every line it wraps across.
- UI stress test
Nested components stacked inside each other, like bold and code inside links and tables inside lists, to find where the styles break.
- Route groups
An interactive explainer of Next.js route groups: how folders in parentheses leave the URL, share layouts, opt pages in and out, and isolate loading and error states.