{"id":27995494,"url":"https://github.com/panmari/locationhistory","last_synced_at":"2025-05-08T20:33:17.890Z","repository":{"id":244860391,"uuid":"791474385","full_name":"panmari/locationhistory","owner":"panmari","description":"A library and toolkit for visualizing location history data exported from Google.","archived":false,"fork":false,"pushed_at":"2025-01-17T09:35:16.000Z","size":84,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-17T10:32:02.856Z","etag":null,"topics":["locationhistory","visualization-tools"],"latest_commit_sha":null,"homepage":"","language":"Go","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/panmari.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-24T19:32:12.000Z","updated_at":"2025-01-17T09:35:17.000Z","dependencies_parsed_at":"2024-06-17T23:30:45.245Z","dependency_job_id":"12adb83a-c74f-49e2-8b52-d18f67025214","html_url":"https://github.com/panmari/locationhistory","commit_stats":null,"previous_names":["panmari/locationhistory"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panmari%2Flocationhistory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panmari%2Flocationhistory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panmari%2Flocationhistory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panmari%2Flocationhistory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panmari","download_url":"https://codeload.github.com/panmari/locationhistory/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253145046,"owners_count":21861176,"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":["locationhistory","visualization-tools"],"created_at":"2025-05-08T20:32:30.371Z","updated_at":"2025-05-08T20:33:17.833Z","avatar_url":"https://github.com/panmari.png","language":"Go","readme":"# Visualize Location History\n\nLibraries and some tools for creating engaging visualization from location history data. \n\nMost easily extracted from Google Takeout.\n\n## Examples\n\nThe implemented visualizations help showing how your year went in relation to a *anchor* location, think home/work. This lets you easily identify days where you stayed home, worked or were on a trip!\n\nIn this example, we see a week long trip in the middle of the year and a 3 month trip towards the end of the year.\n\n![Barchart example](example_images/barchart_example.PNG)\n\n![Heatmap example](example_images/heatmap_example.png)\n\n## Instructions\n\n1. Visit https://takeout.google.com/ and request downloading location history data.\n2. Wait for data to be ready.\n3. Download data, then run script directly on the archive downloaded, for example \n\n    go run .\\cmd/takeout_to_chart/main.go --input=.\\takeout.zip --anchors=2014-01-01,10.0,10.0:2016-02-01,20.0,20.0\n\n### Use as library\n\nThe parser is a non-trivial piece of code. Consider using it as library in your own project:\n\n```go\nimport \"github.com/panmari/locationhistory/internal/reader\"\n\n// ...\nr, err := reader.OpenFile(*input)\nif err != nil {\n    log.Fatalf(\"Error when reading %s: %v\", *input, err)\n}\ndecoded, err := reader.DecodeJson(r)\nif err != nil {\n    log.Fatalf(\"Error when decoding %s: %v\", *input, err)\n}\n// do something interesting with `decoded`\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanmari%2Flocationhistory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanmari%2Flocationhistory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanmari%2Flocationhistory/lists"}