OINK Hands-On
The fastest way to an OINK site is to describe it. Part I hands a coding agent the OINK skill, a published site to follow and the facts about your project, and gets you a working site in one session. Part II then takes the same kind of site apart one layer at a time, so you know what the agent built and can change any of it yourself.
How to read this book
Build a blog, a project site, a CLI manual or a book from one prompt, preview it, review it and keep improving it with follow-up prompts.
Write and structure content, use every kind of component, publish posts and books, shape the home page and the look, help readers find their way in several languages, and deploy and upgrade the site.
3. Pages · 4. Components · 5. Diagrams and media · 6. Blog · 7. Book · 8. Home and appearance · 9. Navigation, search and languages · 10. Ship
If you only want a site, Chapter 1 may be all you need. Part II works on one sample project, the documentation site for Acme DB, an open-source time-series database, built from the OINK Starter. Each chapter adds one layer to it and ends with a prompt that asks your agent to do the same on your own site.
This book is itself an OINK Book. Its chapters are numbered, its figures,
tables and examples carry numbers that the indexes below collect, the whole
book prints as one document at /_print/book/, and every
page has a Markdown copy at its address plus index.md. Chapter 7 shows how
each of these is written.
Contents
Figures
- Figure 6-1 — vonng.com: an author hero over a landscape, then six columns, each with its own feed.
- Figure 7-1 — ddia.vonng.com: contents, the first chapter and the whole book in print, one click each.
Tables
- Table 1-1 — More production OINK sites to model a new site on, by kind of site.
- Table 2-1 — A first review of an agent-built site, in about twenty minutes.
- Table 4-1 — Choosing a component by what the reader is doing.
- Table 6-1 — The four blog index layouts.
- Table 7-1 — Server sizes by sustained ingest rate.
- Table 8-1 — The six visual presets.
- Table 9-1 — The keyboard shortcuts readers use most.
- Table 10-1 — What the build can publish besides HTML.
- Table 10-2 — Four stages from preview to a live site, and what each one leaves open.
- Table A-1 — The front matter keys used in this book, and where each takes effect.
Equations
Examples
- Example 1-1 — A personal blog modeled on vonng.com.
- Example 1-2 — An open-source project site modeled on silo.pgsty.com.
- Example 1-3 — A command-line tool site modeled on pig.pgsty.com.
- Example 1-4 — A book modeled on ddia.vonng.com.
- Example 1-5 — The shape of a site-building prompt.
- Example 2-1 — Follow-up prompts, each one reviewable change.
- Example 3-1 — A complete documentation page: three front matter keys, a lead, three sections.
- Example 3-2 — Prompt: add a page to your own site.
- Example 4-1 — Prompt: restructure a page with components.
- Example 5-1 — Prompt: illustrate a page from text.
- Example 6-1 — A blog post with authors, a series and tags.
- Example 6-2 — Prompt: set up the blog the way vonng.com does.
- Example 7-1 — acme.toml for a server ingesting up to a million points per second.
- Example 7-2 — Prompt: turn a manuscript folder into a book.
- Example 8-1 — A five-section home page for Acme DB.
- Example 8-2 — Prompt: rebuild the home page and the look.
- Example 9-1 — Prompt: tune navigation, search and languages.
- Example 10-1 — Prompt: prepare a release of the site.
Give a coding agent the OINK skill, a production OINK site to model on and the facts about your project, and review a working site the same session.
Run the preview yourself, learn which file controls what, review the agent’s work against one checklist, and keep improving the site with small follow-up prompts.
Set up the sample site, write a page with three front matter keys and stable headings, and let the content tree place it in the sidebar, the pager and a second language.
Turn the Quick start into a page readers can follow with callouts, steps, tabs, titled code, field lists, file trees and cards, all written as Markdown that still reads well on GitHub.
Add an architecture diagram, a benchmark chart, a formula, captioned screenshots, a terminal recording and a release timeline to the Acme DB docs, each kept as text or a file beside the page.
Write dated posts with authors, series and featured images, choose how the index looks, open articles on a full-width image the way vonng.com does, and announce each release.
Turn a directory into a book with numbered chapters, figures, tables, equations and examples, link them with xref, generate the indexes and print the whole book as one document.
Compose the home page from data sections, give the site its name, logo and accent color, pick a visual preset, and let readers choose their own look and dark mode.
Add menu entries, tune local search, give the command palette your own commands, learn the keyboard, show backlinks, and settle the site’s languages and the duo view.
Choose what the site publishes for printers, feed readers and AI assistants, run the production build, deploy with the Starter’s workflow, and upgrade OINK without surprises.
Copy-and-adapt front matter for Docs groups and pages, blog roots, immersive columns, posts, author profiles, book roots and chapters, as used in this book.