Say hello
Community · Stockholm

Spökvandring

An app that turns a locked apartment building into a neighbourhood trick-or-treat map — so families don't miss each other on Halloween night.

Building registry → Door participation → Port codes → Trick-or-treat

The flow: register, opt in, share access, and go.

21
families
33
kids
7
businesses joined the trail

The story

My son told me this year that he wanted to go trick-or-treating. In Sweden, and especially in a city like Stockholm, this isn’t really a thing. The buildings have locked entrance doors with codes. You need a code just to get into the building. You could live there for years and never know the people on your floor.

So I emailed the residents in my building to ask if anyone wanted to join in. One person replied. I wasn’t going to let that ruin my son’s Halloween, so I figured: what if we made this bigger? What if other buildings joined in? What about local businesses?

But I couldn’t just email everyone in the neighbourhood. So I built something.

The build

I used Claude Code as my pair programmer and OpenAI to generate the images.

Spokvandring runs on Next.js, deployed on Vercel, with Neon for Postgres, GitHub Actions for CI, and Sentry for error tracking. The app started as a single-page form and evolved over ten days of development (October 13 to October 20). Here’s how some of the decisions unfolded:

No accounts. I didn’t want anyone to have to create an account to participate. A session cookie ties your participation to the phone you registered with. If you want to withdraw, you just come back and click “No thanks.” The reasoning was practical: if someone had to sign up, they wouldn’t. They’d close the page.

Simplicity. The original sign-up asked about treat types, allergy filters, Teal Pumpkin participation, and spook levels. Residents found it intimidating. I stripped all of that out and rebuilt the flow in two pages. The first page asks whether you want to join and collects your apartment details. The second page confirms your choice and offers an optional email for a reminder. The email is only saved after the user confirms it.

The door codes. I used the Web Crypto API to encrypt entrance codes. They’re only visible during the agreed time window. Early versions had door codes that never saved, and the setup flow was confusing. I fixed these over two days of iteration. By October 16, the flow was stable with proper data deletion and admin controls.

Swedish by default. The app defaults to Swedish for new visitors. I removed the language toggle from the header — nobody asked for it and it was just taking up space.

From one building to many. The first version only supported a single building. I added a building registration system so any building could sign up. The /admin page shows an overview of all doors, buildings, and apartments.

The businesses. On October 17, my wife had the idea to invite local businesses — cafés, bakeries, pizzerias — to join the trail. I built a new “Business” table and an admin flow for adding shops. Families see them as teal pins with walking directions. Since they’re public places, no door codes are needed. Seven shops joined, and all seven have agreed to take part next year.

The evening flow. By October 18, I added a proper “end to the evening” state. Visited places are greyed out on the map. The map remembers your view, shows an overview, and uses pumpkin pins that don’t overlap. I also fixed the leader lines so they move with their pins while dragging.

Engagement and feedback. On the last day, October 20, I added shop engagement counters — anonymous reach per shop, favourite-shop voting, and a printable window sign for each shop. Each shop gets a private dashboard showing visits, estimated kids, map views, directions, and favourite votes. All counts are anonymised. The shop with the most votes gets a “Barnens favorit” badge.

On Halloween night, October 31, 2026, about 18 families walked the trail, visiting 21 participating doors and the businesses. 33 kids were out trick-or-treating. Not everything went perfectly on that first run, but families could find places to visit, and everyone taking part was enthusiastic.

What I took from it

Getting enough people to say yes was harder than building the map. The technical problem was straightforward — build a map, let people register their doors, make those doors easy to find. The social challenge was convincing enough residents to opt in that the map became useful.

I built Spökvandring to get past a familiar obstacle in apartment living: a locked entrance between people who might be happy to meet. Whether you’re taking your kids trick-or-treating or trying to say hello to a neighbour, that door can put an end to the idea before you’ve started.

Each household or business that joined gave families another reason to use the map, and that participation encouraged more people to join. What stayed with me after that first night was how little the app needed to do. It couldn’t make neighbours care about each other. It could show people where they were welcome, and the rest followed from there.

The results on Halloween night were modest but real: 21 families registered, 33 kids were out trick-or-treating (max two kids per family), 7 local businesses joined the trail, and about 18 families walked the route. There were 6 housing co-ops involved, 7 active doors, and 36 door code reveals across the evening — a total of 20 visits to participating doors (max four visits to a single door). The app had 22 users total: six verified by email, 16 phone-only sign-ups. The app tracked anonymous visit counts per shop, favourite-shop voting, and door code reveals — all anonymised. More detailed numbers are available in the admin dashboard if anyone wants to dig in.

The app is still running, and any building or neighbourhood can use it. Vasastan on Halloween was the first test.

Role Solo build · Tech Next.js, Vercel, Neon (Postgres), GitHub Actions, Sentry · Launch October 31, 2026 · Location Vasastan, Stockholm · Users 18 families (launch night), 7 local businesses