{"id":16999046,"url":"https://github.com/maxandersen/househunt","last_synced_at":"2026-05-11T16:09:23.202Z","repository":{"id":66828918,"uuid":"399142771","full_name":"maxandersen/househunt","owner":"maxandersen","description":null,"archived":false,"fork":false,"pushed_at":"2021-08-23T15:03:52.000Z","size":2460,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-27T08:10:05.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxandersen.png","metadata":{"files":{"readme":"readme.adoc","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-23T14:51:31.000Z","updated_at":"2021-09-06T01:25:28.000Z","dependencies_parsed_at":"2023-02-23T01:01:15.544Z","dependency_job_id":null,"html_url":"https://github.com/maxandersen/househunt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fhousehunt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fhousehunt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fhousehunt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxandersen%2Fhousehunt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxandersen","download_url":"https://codeload.github.com/maxandersen/househunt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244924752,"owners_count":20532873,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T04:06:57.861Z","updated_at":"2026-05-11T16:09:23.165Z","avatar_url":"https://github.com/maxandersen.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Scripts for house hunting\n:hide-uri-scheme: \n\nJust some scripts I'm making to help (and have more fun) with house hunting.\n\nimage:images/example-cards.png[]\n\nAll of this is built with Java using https://jbang.dev - install jbang to run them.\n\n== Map Generator\n\nlink:mapgenerator.java[] -  generates a wallpaper sized image to print a phyiscal map to put on a wall to place pins and images on.\n\nJust need to specify a coordinate for a rectangle using upper left latitude and longitude and lower right latitude and longitude.\n\nRequirements: Needs a google api key that has google static image api enabled.\n\nExample:\n\n[source,bash]\n----\n ./mapgenerator.java --zoom=11 --coordinates=55.68,9.60,54.70,11.01 --api-key=YOUR_API_KEY\n----\n\nExample output (click to see full resolution): \n\nlink:images/example-mapgenerator.png[image:images/example-mapgenerator.png[width=200,height=200]]\n\n== House Cards\n\nFor the wallmap and my own spreadsheets I wanted to grab latest info about a certain set of houses. For that I made a script that grabs data from https://boliga.dk a danish house market aggregator.\n\nIt uses playwright to navigate the site and scrape the data and then generates a csv file.\n\nInput is a list of addresses.\n\nExample: \n\n[source,shell]\n----\njbang housecard.java --headless \"Randersvej 45, 8800 Viborg\" \"Bruunshåbvej 6, 8800 Viborg\"\n----\n\nThis will generate `houses.csv` with info like:\n\n```\nrooms,address,timeOnMarket,lotSize,payout,boligaUlr,yearBuilt,ownerExpense,createdDate,agencyUrl,price,imageUrl,pricepersqm,houseSize,energy\n5,\"Randersvej 45,  8800 Viborg\",1 måned ,786,75.000,https://www.boliga.dk/bolig/1800243/randersvej_45_8800_viborg,1935,2.203,29. jun. 2021,https://www.edc.dk/alle-boliger/viborg/8800/randersvej-45/?sagsnr=88103669,1.495.000,https://i.boliga.org/dk/max/1347/1347739.jpg,9.228,162,E\n5,\"Bruunshåbvej 6,  8800 Viborg\",1 år ,911,90.000,https://www.boliga.dk/bolig/1674188/bruunshaabvej_6_8800_viborg,1969,2.366,19. jun. 2020,https://www.brikk.dk/ejendom/bruunshaabvej-6-8800-viborg/,1.735.000,https://i.boliga.org/dk/max/1387/1387936.jpg,12.218,142,D\n```\t\n`\n\n== Make cards \n\nlink:boliga/makecards.java[] can take the csv produced above, run it through a template (`house.adoc.qute`) and generate a file you can do use.\n\nDefault it generates a 4 column grid with info to make cards to put on your wallmap as shown at top of this page.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxandersen%2Fhousehunt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxandersen%2Fhousehunt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxandersen%2Fhousehunt/lists"}