Logbook

· Build

My home server is a 2017 laptop

A 2017 laptop with its lid shut runs my demos, my dev environment and my coding agents. How I set it up with Ubuntu, Tailscale and T3 Code, and why an old laptop is all you need.

My "server" is a 2017 Dell Inspiron 13 laptop with its lid shut, sitting on my desk. It has a dual-core i5-7200U, 16 GB of RAM and a cheap 480 GB SSD. It's been running for days without a reboot, and it's the reason Legacy Siege was live on stage within a minute of us making the finals.

This is how it's set up, what I run on it, and why I think almost every developer should have one, even if it's just an old laptop from a drawer.

Why bother?

Your laptop sleeps when you close it, and the cloud bills you by the hour. A home server fills the gap between them. It's a machine that's always on, always reachable and entirely yours. Long jobs keep running overnight. Demos stay up. Coding agents keep working while I'm in class, and I check on them from my phone.

The hardware

Dell Inspiron 13 5378: Intel Core i5-7200U (2 cores, 4 threads), Intel HD 620 graphics, 16 GB of RAM and a Crucial BX500 480 GB SSD. By modern standards it's weak, and that's the point: for a server that mostly runs Node, Python, Docker and SSH sessions, it's plenty. The SSD matters a lot more than the CPU.

A laptop also comes with two things a tower doesn't. The battery works as a built-in UPS that rides out short power cuts. The screen and keyboard are there for the day SSH breaks and you need to log in physically.

The setup

1. Install Ubuntu Server 24.04 LTS. LTS means years of security updates without chasing upgrades. I boot straight into a terminal (no desktop), which saves RAM and power.

2. Stop it sleeping when the lid closes. By default Ubuntu suspends a laptop when you shut it, which kills a server. A small override in /etc/systemd/logind.conf.d/ setting HandleLidSwitch=ignore (plus the ExternalPower and Docked variants) fixes it. This was the first thing that bit me.

3. Install Tailscale. This is the part that makes everything work. Tailscale puts all my devices (this laptop, my tower, my phone) on one private network, each with a stable address, and opens no ports on my router. Nothing is exposed to the public internet, and there's no port forwarding or dynamic DNS to deal with. I can SSH in from anywhere as if I were on my home Wi-Fi. It also lets friends in: Anwar's machines are shared into the same network.

4. Install SSH and Docker. SSH is how I get in. Docker runs anything I don't want installed system-wide.

5. Install T3 Code, which turns the box from a server I maintain into a server I actually use.

T3 Code: the reason I use it every day

T3 Code is a workspace for coding agents, and it runs on the server, inside my real projects. I open it from whatever device I have with me over Tailscale. The agents run on the server, so closing my laptop doesn't stop them. I can start a task at my desk, go to class, and check on it from my phone.

A few things it does that I rely on. Threads run in parallel, and each can get its own git worktree, so several agents can work on separate branches without stepping on each other. It can preview a dev server running on the box, which is how I review this site before it ships. And it can hand work to different model providers depending on the task. Most of this logbook, including this post, was drafted, previewed and pushed from it.

The towers never left home

At Agents in Context, MongoDB's hackathon in Toronto, Anwar and I brought monitors to the venue (we forgot our ethernet cables) but not our desktop towers. They stayed at home. Over Tailscale, the venue Wi-Fi was all we needed: we were coding on our own machines, with their full power, from across the city.

Then, when we suddenly made the finals, Legacy Siege was still running on this server. There was nothing to set up or redeploy. I opened the link and we were on stage. That one minute is the best argument I have for owning a server.

Pros and cons

ProsCons
Always on: demos, bots and agents keep running while you sleep.You are the IT department: updates, dead SSDs and full disks are your problem.
Nearly free: an old laptop plus a laptop's worth of power.Home-dependent: a power cut or ISP outage takes it down. Not real production hosting.
Your data stays on hardware you own.Your family will ask why the closed laptop on your desk is warm, humming and "definitely not off".
Goes everywhere: with Tailscale, any device on any Wi-Fi reaches your full environment.
More capable than it looks: 16 GB of RAM and an SSD go a long way for Node, Python and Docker.
You learn a lot: Linux, networking, SSH and systemd stop being abstract the first time something breaks.

Two cores won't train a model, so anything heavy goes to a stronger machine. For everything else, the left column wins.

What it takes

Less than you think. Hardware: any laptop from the last ten years, ideally with 8 GB of RAM or more and an SSD. A cheap SATA SSD is the best $40 upgrade you can make. Software: Ubuntu Server LTS, the lid-switch override, Tailscale and SSH. Time: an afternoon. Start with what you have and upgrade once you know what you actually need.

If you have an old laptop in a drawer, you already have a server.