{"id":27113173,"url":"https://github.com/acecentre/mileagecalculator","last_synced_at":"2025-10-06T23:59:17.848Z","repository":{"id":53670046,"uuid":"67936279","full_name":"AceCentre/MileageCalculator","owner":"AceCentre","description":"A simple mileage calculator - converts postcodes to miles. ","archived":false,"fork":false,"pushed_at":"2023-01-20T11:30:42.000Z","size":156,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-05-21T00:53:21.648Z","etag":null,"topics":["mapit-api","mileage","mileage-calculator","postcodes"],"latest_commit_sha":null,"homepage":"https://mileagecalc.acecentre.net","language":"Python","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/AceCentre.png","metadata":{"files":{"readme":"README.md","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}},"created_at":"2016-09-11T15:04:24.000Z","updated_at":"2023-01-20T10:54:55.000Z","dependencies_parsed_at":"2023-02-12T01:46:37.868Z","dependency_job_id":null,"html_url":"https://github.com/AceCentre/MileageCalculator","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/AceCentre%2FMileageCalculator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AceCentre%2FMileageCalculator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AceCentre%2FMileageCalculator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AceCentre%2FMileageCalculator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AceCentre","download_url":"https://codeload.github.com/AceCentre/MileageCalculator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247584055,"owners_count":20962071,"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":["mapit-api","mileage","mileage-calculator","postcodes"],"created_at":"2025-04-07T02:49:57.189Z","updated_at":"2025-10-06T23:59:12.796Z","avatar_url":"https://github.com/AceCentre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mileage Calculator\n\n## What does this do?\n\nIt provides a box for the user to paste lines like:\n\n\t\tOL8 3QL to BR48lW to SW11DR to OL83QL\n\t\tOL83QL to  L171DW to OL83QL\n\nand hitting the 'Go' button it will return the mileage between these points.\n\n[![Demo of MileageCalc with Excel](https://i.gyazo.com/2f7afca8cb021b623c627edba06e92c3.gif)](https://gyazo.com/2f7afca8cb021b623c627edba06e92c3)\n\n## How?\n\nBy the power of Greyskull!\n\n(No, really: Google Maps API, and the [MapIt API](https://mapit.mysociety.org/docs/#api-by_postcode))\n\n## Why?\n\nTo help me fill in my expense claim forms. I was bored having to copy and paste loads of postcodes into google maps so I instead wasted twice as much time making an app to do it for me. \n\n## Note\n\nWe round up to the nearest whole mile. Hope thats ok with you \n\n\n## Deploy\n\n* You will need a [Google Maps API Key](https://developers.google.com/maps/documentation/javascript/get-api-key) environmental variable (named 'GAPI_KEY')\n* You will also need a [MapIt API Key](https://mapit.mysociety.org/pricing/) environment variable (named as 'MAPIT_KEY')\n* You should set a port environmental variable ('PORT\" = 33507)\n\n[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facecentre%2Fmileagecalculator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facecentre%2Fmileagecalculator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facecentre%2Fmileagecalculator/lists"}