{"id":14365075,"url":"https://github.com/markmelnic/plot-browsing-history","last_synced_at":"2025-10-08T22:55:56.149Z","repository":{"id":128008729,"uuid":"284931369","full_name":"markmelnic/plot-browsing-history","owner":"markmelnic","description":"Visualize your chrome browsing history using google takeout data.","archived":false,"fork":false,"pushed_at":"2024-11-26T20:31:22.000Z","size":39,"stargazers_count":14,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T15:51:26.681Z","etag":null,"topics":["activity-histogram","barchart","browsing-history","chart","chrome","google","google-takeout","histogram","json","jupyter-notebook","matplotlib","python","takeout-data","visualisation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markmelnic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2020-08-04T09:11:10.000Z","updated_at":"2025-04-20T04:50:31.000Z","dependencies_parsed_at":"2024-02-09T05:33:32.070Z","dependency_job_id":null,"html_url":"https://github.com/markmelnic/plot-browsing-history","commit_stats":null,"previous_names":["markmelnic/plot-browsing-history"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/markmelnic/plot-browsing-history","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmelnic%2Fplot-browsing-history","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmelnic%2Fplot-browsing-history/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmelnic%2Fplot-browsing-history/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmelnic%2Fplot-browsing-history/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markmelnic","download_url":"https://codeload.github.com/markmelnic/plot-browsing-history/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markmelnic%2Fplot-browsing-history/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000693,"owners_count":26082850,"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","status":"online","status_checked_at":"2025-10-08T02:00:06.501Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["activity-histogram","barchart","browsing-history","chart","chrome","google","google-takeout","histogram","json","jupyter-notebook","matplotlib","python","takeout-data","visualisation"],"created_at":"2024-08-27T18:01:33.716Z","updated_at":"2025-10-08T22:55:56.095Z","avatar_url":"https://github.com/markmelnic.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\n# Visualize Your Chrome Browsing History\n\nA lightweight tool to visualize your Chrome browsing history using Google Takeout data.\n\n![Chart Example](https://i.imgur.com/sJCc9gq.png)\n\n---\n\n## Getting Started\n\nFollow these steps to visualize your browsing history:\n\n### 1. Initial Setup\n\nEnsure you meet all requirements by following [this guide](https://gist.github.com/markmelnic/b5a6d399b2c08008c989829cbf9c3618).\n\n### 2. Download Your Browsing Data\n\n1. Learn how to download your Google data: [Google Takeout Guide](https://support.google.com/accounts/answer/3024190?hl=en).  \n2. Download your data from [Google Takeout](https://takeout.google.com/).\n\n\u003e **Note:** You only need to download your Chrome browsing history. Google provides it as a JSON file by default.\n\nSave the `History.json` file in the same directory as the script.\n\n### 3. Run the Script\n\nOpen your terminal or command prompt and execute the following command:\n\n```shell\npython main.py \u003cfile\u003e\n```\n\nReplace `\u003cfile\u003e` with the name of your downloaded `History.json` file (the name may vary).\n\n---\n\n## Script Usage\n\n### Command Syntax\n\n```shell\nmain.py \u003cfile\u003e [-h] [-s SIZE] [-d DAYS]\n```\n\n#### Positional Arguments:\n- **`\u003cfile\u003e`**: The JSON file downloaded from Google Takeout.\n\n#### Optional Arguments:\n- **`-h`**: Display help information.\n- **`-s, --size`**: Number of top sites to display (default: 20).\n- **`-d, --days`**: Number of recent days to analyze (default: 60).\n\n---\n\n## Examples\n\n1. Basic usage with default settings:\n   ```shell\n   python main.py History.json\n   ```\n\n2. Display data from the last 50 days:\n   ```shell\n   python main.py History.json -d 50\n   ```\n\n3. Show the top 30 sites:\n   ```shell\n   python main.py History.json --size 30\n   ```\n\n4. Analyze 90 days and display the top 50 sites:\n   ```shell\n   python main.py History.json -s 50 --days 90\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkmelnic%2Fplot-browsing-history","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkmelnic%2Fplot-browsing-history","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkmelnic%2Fplot-browsing-history/lists"}