A set of tools to help you find the perfect home spot to live, optimizing commute time.
The Google spreadsheet will query a list of home spots and evaluate if they fit.
Feel free to sort it by any column of your choice. Some clickable columns will bring you to Google Maps.
A map of home spots with a color code to ease your decision!
At the top of the page you can:
- change the number of home spots to display, which will also update the color code
- switch view between:
- position of each spot on the podium
- names of the spots
- relevance of the spots regarding each workplace
Hover a home spot to get more information
Click on the home spot to open Google Maps with itinerary to the current selected workplace or the complete journey. Itineraries are calculated for a monday morning.
- a plugin for www.leboncoin.fr
Visit www.leboncoin.fr or other variant, search for real estate
Every time the name of a home spot is recognized, it is replaced with a small table giving:
- position of the spot on the podium
- its relevance (color code)
- the commute time for each work place (with color code)
All columns are clickable and will bring you to Google Maps. Itineraries are calculated for a monday morning.
TODO define procedure to generate a Google developer key
- Copy
config.example.ts
toconfig.ts
and update it: - Define your destinations (only two destinations supported at the moment)
- Address in
location
- Name the person in
for
- Percentage of the commute time that you would like to affect to this travel in
percent
- Address in
- Set the maximum number of spots to consider in
limit
- Copy list of cities from Wikipedia to the spreadsheet
- visit Wikipedia. Example https://fr.wikipedia.org/wiki/Liste_des_communes_du_Rh%C3%B4ne
- Copy the table. Plugins exist to help: https://chrome.google.com/webstore/detail/table-capture/iebpjdmgckacbodjpijphcplhebcmeop
- Make sure "postal code" is the third column
- Paste it in spreadsheet at column A
- Generate script
npm run build:spreadsheet
- Copy the generated
build/home_sweet_home.js
content to script editor - In Google Spreadsheet, run
step2_updateFromGPSLocations
- Run
step3_updateToFromDurations
- Copy
cities.example.ts
tocities.ts
- Copy content of column U to the file
- [TODO should not be needed] Delete "absurd" cities at the end of the list (mislocated by Google)
TO BE COMPLETED
- Install GreaseMonkey extension on Firefox or TamperMonkey extension on Chrome.
- Generate script for Le Bon Coin
npm run build:leboncoin
- Copy generated
build/leboncoin.js
content to a new script on the browser extension - Visit the site and enjoy