AI's Wide Shut · Code companion
Every block, ready to copy
The code from Chapters 9, 12, 13 and 16, in the order the book prints it. Each block says which file it belongs in, or where to run it, and which page it's on. The text is generated from the manuscript, so it matches your copy of the book character for character.
Before you paste
-
Placeholders are the book's:
yourdomain.com,yourname,ai.home.yourdomain.com. Swap in your own values after pasting. - Image versions match Be Your Own Cloud. Read each project's release notes before moving to a newer one, and keep the settings in the environment section: they're what keep this setup private.
- Model names change fast. The model suggestions page has the current list.
-
Part 1 — Where Your Words Go
-
What Happens When You Press Enter
-
The AI You Didn't Ask For
-
Your AI Threat Model
-
-
Part 2 — Using Cloud AI Without Oversharing
-
The Don't-Paste List
-
Settings for the Big Assistants
-
More Private AI Services
-
AI at Work
-
-
Part 3 — Stop Feeding the Machine
-
Training Opt-Outs Across Your Apps
-
Your Public Content and AI Crawlers
-
AI Scams
-
-
Part 4 — Your Own Private AI
-
What Runs at Home
-
The Desktop Route
-
The Server Route
-
Choosing Models
-
-
Part 5 — Agents and Your Own Data
-
Chat With Your Own Documents, Privately
-
Local Voice
-
AI Agents
-
Running an Agent Safely
-
Your Private AI Plan
-