Lab

SkillSwap

A community noticeboard where neighbours trade skills instead of money: pin what you can teach, pin what you want to learn, and the board finds the pairs that work both ways.

Status
Live
Year
2026
Built with
SvelteKit 2, Svelte 5, Cloudflare Workers, D1, KV, Drizzle, GitHub OAuth

What it is

Someone on your street can teach guitar. Someone two doors down would pay for that, and could fix your spreadsheets in return. SkillSwap is the noticeboard that puts those two people in the same place: pin an offer for what you can teach, a want for what you would like to learn, and the board shows who matches.

The rules are the product. No money changes hands — a title with a price in it gets bounced. No ratings, no stars, no algorithm ranking people by worth. The only reputation is a one-line thank-you note left after a swap, which sticks to the other person’s profile.

Any group can run its own board: a neighbourhood, a campus hall, a Discord server. Boards can be open or invite-only, and whoever starts one moderates it.

What it does

  • Offers and wants. Each notice carries a category, a level, a format and when you are free. Titles that mention money, fees or selling are refused at the door.
  • Reciprocal matching. The matches page pairs people who want what you offer and offer what you want, with a separate list of people you could simply help for nothing. The score is a plain bigram similarity between titles plus a category and format bonus, so every match can explain itself in a sentence — there is no model in the loop.
  • Swaps, not transactions. Request a swap with a note and an optional offer in return. Accepting unlocks exactly one contact method each way, and either side can decline with a reason, cancel, mark it done or leave a thank-you note.
  • Moderation that fits a volunteer. Your first notice on a board waits for a nod; after that you are trusted. Three flags from different people hide a notice until a moderator looks. Owners can name moderators, ban and issue invite links.
  • Reachable by keyboard, and small. One test sweeps eighteen routes with axe and fails on any serious violation, another drives post, request and accept with the keyboard alone, and a third fails the build if the board page ships more than 48 KB of JavaScript.
  • Boards that stay current. Notices expire after ninety days and renew in one click, with a daily cron sending the reminders and clearing up behind itself.
  • Careful with the little data it holds. Sign-in goes through GitHub, so there are no passwords to store. Contact details are encrypted at rest with AES-GCM and shown only to someone whose swap you accepted, and the service worker refuses to cache the inbox, the account pages or anything under moderation. No analytics, no tracking pixels. It installs as a PWA and has an offline page.

How it was built

Built with Claude Code as the pair in a single day — twelve commits between breakfast and mid-afternoon, from empty folder to a deployed app with a database behind it. That is the clearest measure I have of what this way of working changes: the gap between an idea worth building and a URL you can send someone is now an afternoon.

The design came first and stayed in charge: nine static HTML mockups and one shared stylesheet are the source of truth in the repository, and the app imports that same CSS, so the built product cannot quietly drift from the drawing. Tests are what make a day like this safe — 112 unit tests inside the real Workers runtime against a local D1, and 37 Playwright specs through sign-in, posting, the swap flow, moderation, accessibility and the size budget.

It fits in Cloudflare’s free tier — Workers, D1, KV and a cron trigger — and it is MIT licensed with a self-hosting guide, so a community that wants its own board can run one without me.

Honest ending: it is finished software with no users. The deploy is healthy and the database is empty, because building it was an afternoon and getting one neighbourhood onto it is the part I never did. Google sign-in is written but never provisioned on the live site for the same reason.

Screenshots

A board with notices pinned to it: offers on torn paper, filters down the side, and the categories a neighbourhood actually uses.
1. A board with notices pinned to it: offers on torn paper, filters down the side, and the categories a neighbourhood actually uses.
Your matches: what you teach them beside what they teach you, each pair saying why it matched, and below it the people you could simply help.
2. Your matches: what you teach them beside what they teach you, each pair saying why it matched, and below it the people you could simply help.
The same board on a phone, which is where a neighbour would actually read it.
3. The same board on a phone, which is where a neighbour would actually read it.

Questions

Happy to go into how any of this was built:emtiazzahid@gmail.com, orthe contact page.