abboud@said:~$← back
$ cd projects/bostadssok

Bostadssök Companion

A Chrome extension for Swedish home search. It adds two things to a Hemnet or Booli listing that neither site shows: what the home would actually cost per month, and how far it is to the places you go every day.

Chrome MV3JavaScriptNominatimOverpass API
Bostadssök Companion panel on a Hemnet listing

Hemnet shows the monthly avgift, which is not what the home costs you. The mortgage is, and that depends on assumptions the listing knows nothing about. The extension takes your own ränta, amortering and kontantinsats and computes interest and amortisation on the loan portion on top of avgift and driftkostnad.

Hemnet also shows distance to water. What decides whether a place works day to day is the distance to a preschool, a grocery shop and a bus stop, so the extension geocodes the address through Nominatim and queries Overpass for the nearest of each, caching the result for 30 days.

The listing is read by its visible text rather than its CSS class names, so a redesign at Hemnet or Booli does not silently break it. Ratings and notes are stored locally and shared between the two sites when the same address appears on both. There is no account, no backend and no analytics; the only thing that leaves the browser is the address.

Published free on the Chrome Web Store under Tellra. The geocoding runs on the free OpenStreetMap services, which carry firm fair-use limits — it would have to move to a paid provider before the extension could carry real user numbers.