Skip to content

OlivierChirouze/home_sweet_home

Repository files navigation

Home Sweet Home

A set of tools to help you find the perfect home spot to live, optimizing commute time.

Usage

Google spreadsheet

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. Google Spreadsheet

Map

A map of home spots with a color code to ease your decision! Map

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.

Le bon coin

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.

Installation

Pre-requisites

TODO define procedure to generate a Google developer key

  1. Copy config.example.ts to config.ts and update it:
  2. Define your destinations (only two destinations supported at the moment)
    1. Address in location
    2. Name the person in for
    3. Percentage of the commute time that you would like to affect to this travel in percent
  3. Set the maximum number of spots to consider in limit

Google SpreadSheet

  1. Copy list of cities from Wikipedia to the spreadsheet
  2. Generate script npm run build:spreadsheet
  3. Copy the generated build/home_sweet_home.js content to script editor
  4. In Google Spreadsheet, run step2_updateFromGPSLocations
  5. Run step3_updateToFromDurations

Export of cities

  1. Copy cities.example.ts to cities.ts
  2. Copy content of column U to the file
  3. [TODO should not be needed] Delete "absurd" cities at the end of the list (mislocated by Google)

Map

TO BE COMPLETED

Le Bon Coin

  1. Install GreaseMonkey extension on Firefox or TamperMonkey extension on Chrome.
  2. Generate script for Le Bon Coin npm run build:leboncoin
  3. Copy generated build/leboncoin.js content to a new script on the browser extension
  4. Visit the site and enjoy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published