{"id":19337130,"url":"https://github.com/stevemats/medium_stats","last_synced_at":"2026-05-16T00:09:39.505Z","repository":{"id":97537844,"uuid":"449995825","full_name":"stevemats/Medium_Stats","owner":"stevemats","description":"Allows you to easily view lifetime stats for your medium posts","archived":false,"fork":false,"pushed_at":"2022-01-20T09:43:52.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T08:14:11.938Z","etag":null,"topics":["medium","medium-article","mediumstats","statistics"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/stevemats.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":"2022-01-20T07:24:38.000Z","updated_at":"2022-04-01T11:07:41.000Z","dependencies_parsed_at":"2023-03-06T15:45:15.289Z","dependency_job_id":null,"html_url":"https://github.com/stevemats/Medium_Stats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stevemats/Medium_Stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevemats%2FMedium_Stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevemats%2FMedium_Stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevemats%2FMedium_Stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevemats%2FMedium_Stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stevemats","download_url":"https://codeload.github.com/stevemats/Medium_Stats/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stevemats%2FMedium_Stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33085169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T20:25:35.270Z","status":"ssl_error","status_checked_at":"2026-05-15T20:25:34.732Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["medium","medium-article","mediumstats","statistics"],"created_at":"2024-11-10T03:13:31.090Z","updated_at":"2026-05-16T00:09:39.490Z","avatar_url":"https://github.com/stevemats.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Medium Stats\n\nThis is just a temporary quick solution of how to view your medium's lifetime stats rather than the current [medium](https://medium.com/) solution of displaying a month by month stats making it cumbersome for a writer to calculate all the stats from stories and fans received.\n\n## Existing stats show only a month by month stat:\n![Your stories stats – Medium](https://user-images.githubusercontent.com/30528167/150293368-bef09967-f587-4adb-95c5-89785ffaf22d.png)\n\n## This script assists writers to quickly view lifetime stats:\n![TotalViews](https://user-images.githubusercontent.com/30528167/150292278-afc3caa8-bb25-4abc-8486-c80209d6c325.PNG)\n\n\n# Usage:\n\n## Step 1 (Accessing Stats Page on user's Browser of Choice)\n- All you need is a modern browser to start viewing your starts immediately:\n\n### Chrome Browser Users\nOpen the starts page (https://medium.com/@username/stats) and type the below commands:\n\n    Mac Users: Command + Option + J ( ⌘ + ⌥ + J)\n\n\n    Linux and Windows Users: Control+Shift+J \n\n### Firefox Browser Users\nOpen the starts page (https://medium.com/@username/stats) and type the below commands:\n\n    Mac: Command + Option + K ( ⌘ + ⌥ + K)\n\n    Linux and Windows: Control + Shift + K\n\n___\n\n## Step 2 (Getting total reads):\n\nAfter following the previous step, now paste below script and hit enter to view your stats:\n\n    const totalTypes = {\n\n        VIEWS: 2,\n\n        READS: 3,\n\n        FANS: 5\n\n    };\n\n    const getTotal = tableColumn =\u003e\n\n        [\n\n            ...document.querySelectorAll(\n\n                `td:nth-child(${tableColumn}) \u003e span.sortableTable-number`\n\n            )\n\n        ]\n\n        .map(e =\u003e parseInt(e.getAttribute(\"title\").replace(/,/g, \"\"), 10))\n\n        .reduce((a, b) =\u003e a + b, 0);\n\n    console.log({\n\n        totalViews: getTotal(totalTypes.VIEWS),\n\n        totalReads: getTotal(totalTypes.READS),\n\n        totalFans: getTotal(totalTypes.FANS)\n\n    });","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevemats%2Fmedium_stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstevemats%2Fmedium_stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstevemats%2Fmedium_stats/lists"}