selfdriven.you · build log · pocket deck

Build a pocket deck.
Carry a terminal.

The small variant — a Raspberry Pi Zero 2 W you can slip in a jacket. A quiet terminal for writing, SSH, notes, and radio. The smallest self-driven machine that's still a real computer.

01 · Plan it 02 · Build it 03 · Tend it 04 · Live with it
Build time
An evening
Skill floor
Curious + tidy
Ballpark (USD)
$90–160
Soldering
A little
// the smallest sovereign machine

Same idea, palm-sized. A whole computer that disappears into a pocket.

The Field Deck is a workhorse. The Pocket Deck is a companion — a single, calm device you carry like a notebook. It won't render video or run a big model. It will SSH into anything, hold your notes offline, and never beg for your attention.

01

Pocket-sized agency

A real Linux machine the size of a wallet. Yours, openable, repairable — and it goes everywhere a phone goes without behaving like one.

02

It sips power

The Zero 2 W draws roughly a watt. A small lithium cell carries it for hours, so it's the deck you actually take with you rather than leave charging.

03

Terminal-first by design

No desktop, no feed, no distraction surface. Text, code, and a blinking cursor. The constraint is the point — it's a machine for thinking.

// the build, in four modes

One pocket. Four modes.

Same rhythm as the Field Deck. Get Curious to plan it, go Constructive to build it, get Caring to tend it, then Chill and carry it everywhere.

Mode 01 · Curious

Plan it

Know what a pocket deck is for, and pick a screen path.

Mode 02 · Constructive

Build it

A tiny parts list, six steps, and a lean terminal loadout.

Mode 03 · Caring

Tend it

Card backups, lithium safety, share the little case.

Mode 04 · Chill

Live with it

One job, done calmly. The pocket as a single-task room.

Mode 01 · Curious

Plan it.

Pocket decks live or die on one decision: how do you see the screen? Everything else is small. Be honest about whether this is a standalone terminal or a thin client you drive from your phone — that choice picks your display and halves your parts list.

Pick a screen path

path A · standalone

Tiny HDMI display

A 4–5" 800×480 panel over the Zero's mini-HDMI. Bright, fast, fully self-contained. The classic pocket terminal.

  • Always-on screen
  • More power draw
  • Real, snappy refresh
path B · calm

E-ink panel

A 2.9–4.2" e-paper display over SPI. Sips power, sunlight-readable, distraction-proof. Perfect for writing.

  • Days of battery
  • Slow refresh
  • Needs a driver setup
path C · headless

No screen at all

Run it headless and reach it from your phone over SSH or its own Wi-Fi hotspot. The smallest, cheapest build.

  • Tiniest footprint
  • Needs a phone/laptop
  • Zero display cost

Curious note — why the Zero 2 W: it's a quad-core machine with Wi-Fi and Bluetooth built in, for the price of lunch. It has no PCIe and only 512 MB of RAM, so it's a terminal and thin client, not a desktop. If you want a browser and a local model, that's the Field Deck (Pi 5). Match the deck to the job.


Mode 02 · Constructive

Build it.

This is the standalone recipe — a Zero 2 W, a small HDMI screen, a 40% keyboard, and a clip-on battery in a printed case. Swap the display for e-ink or drop it entirely for the headless build. Get it talking over SSH first; the case comes last.

Bill of materials

PartPick~Cost (USD)Notes
ComputeRaspberry Pi Zero 2 W$15–20Quad-core, Wi-Fi + Bluetooth on board. The whole brain.
Power + RTCPiSugar-style add-on + LiPo$25–40Clip-on battery, soft power button, real-time clock. The neat path.
StorageA2 microSD 32–64 GB$8–14No NVMe on a Zero. A fast A2 card matters here.
Display4–5" HDMI panel PATH A$28–55Or a 2.9–4.2" e-ink panel for the calm build.
Keyboard40% USB / folding BT keyboard$25–55Wired needs a micro-USB OTG adapter; BT pairs after boot.
Adaptersmini-HDMI→HDMI, micro-USB OTG$6–12The Zero uses mini-HDMI and micro-USB — buy the right ends.
CoolingSmall stick-on heatsink$3Optional — the Zero 2 W runs cool. Nice under sustained load.
Enclosure3D-printed pocket case$8–20Print in PETG. Leave the power button and a USB port exposed.

Assemble it

1

Flash Pi OS Lite, headless

Flash Raspberry Pi OS Lite (64-bit) with Raspberry Pi Imager — no desktop, it's a terminal deck. In Edit settings, set hostname, your user, Wi-Fi, and enable SSH so the first boot needs nothing plugged in.

# Raspberry Pi Imager → choose: Raspberry Pi OS Lite (64-bit)
hostname:  pocket      enable SSH: on
wifi:      your-network    user: your-name
2

Fit the power add-on

If you went with a bare LiPo board you'll solder a header to the Zero (a little iron time); a PiSugar-style board clips to the back with pogo pins — no soldering. Attach the cell, stick on the heatsink, and confirm the soft power button works.

3

First boot over SSH

Power on with nothing attached and find it on your network. Log in, update, and you've got a working pocket Linux box before a single screen is wired.

ssh your-name@pocket.local
sudo apt update && sudo apt full-upgrade -y
4

Wire the screen & keyboard

For Path A, connect the HDMI panel via the mini-HDMI adapter and power it (some panels need their own 5 V line). Plug the keyboard into the data micro-USB port through an OTG adapter, or pair a Bluetooth keyboard once you're on the console. For e-ink (Path B), wire the SPI panel to the GPIO header and install its driver.

5

Make the console pleasant

On a small screen, a readable framebuffer font and a larger console size go a long way. Tune it so the terminal is comfortable to actually use, not just technically working.

sudo dpkg-reconfigure console-setup   # bigger, crisper console font
sudo raspi-config                     # enable SPI for e-ink, set locale
6

Close the pocket case

Stack screen, Zero, and battery, route the short cables, and seal it up. Keep the weight balanced so it sits flat in a pocket, and leave the power button and one USB port reachable from outside.

A terminal loadout

512 MB of RAM rules out heavy apps — and that's the gift. Lean, text-mode tools that work offline and let the Zero be a jump box to your bigger machines:

sudo apt install -y tmux neovim git ranger micro    # write & navigate
sudo apt install -y w3m openssh-client mosh          # browse text, reach anything
sudo apt install -y weechat syncthing                # chat + own your sync
# optional: rtl-sdr tools if you clip on a radio dongle

Constructive task — ship the headless version tonight: a Zero 2 W you can SSH into from your phone is already a pocket deck. Use it for a week before you commit to a screen and a case. You'll learn exactly what you want from the finished build.


Mode 03 · Caring

Tend it.

A pocket machine takes knocks the Field Deck never will — it rides in bags and gets dropped on pavement. A little care keeps it alive, and a little sharing keeps the whole tiny-deck scene alive.

Keep it healthy

  • Image the SD card once it's set up — pocket cards live hard, and a clone turns a dead card into a five-minute fix.
  • Treat the lithium cell with respect: a managed power board, no charging it loose or unattended, and keep it out of a hot car.
  • Strain-relieve the screen and power cables. In a pocket build, a tugged connector is the number-one failure.
  • Back up your notes with Syncthing so the deck holds a copy, not the only copy.

Give back

  • Publish your case STL — pocket enclosures are the hardest part, and a good one helps dozens of builders.
  • Write down the display driver dance. E-ink and small-panel setup trips everyone; your notes save the next person an evening.
  • Show it off where decks gather — cyberdeck.cafe and r/cyberDeck love a clever small build.
  • Answer one "how did you fit the battery?" question. That's the whole community in one sentence.

Mode 04 · Chill

Live with it.

A pocket deck isn't a small phone — it's the opposite of one. Set it up to do one thing well, and it becomes the calm device you reach for when you want to think, write, or quietly poke at the world.

01

One job, on purpose

Pick a single use — writing, SSH, radio, journaling — and let the deck be excellent at that. A device that does one thing is a device you trust.

02

The constraint is the feature

No browser rabbit-holes, no apps clamouring. The small screen and lean OS quietly protect your attention for you.

03

Carry it like a notebook

The best deck is the one that's with you. Small and low-power means it actually comes along — to the train, the café, the park bench.

04

Off is a valid state

Soft-shutdown, slip it away, be done. A machine you can fully switch off is a small daily permission to switch off yourself.

Be curious. Build it. Be caring.

Start headless this evening — a Zero 2 W and an SD card. The pocket deck you'll carry is the one you switched on tonight.