{"id":20594392,"url":"https://github.com/ddgryaz/dotastatscli","last_synced_at":"2026-01-04T19:03:01.493Z","repository":{"id":214552555,"uuid":"736052964","full_name":"ddgryaz/dotaStatsCLI","owner":"ddgryaz","description":"Simple, free and effective CLI application that allows you to receive statistics of your matches in dota and visualize it in a pleasant and understandable way.","archived":false,"fork":false,"pushed_at":"2024-05-28T20:21:08.000Z","size":3333,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T22:14:30.056Z","etag":null,"topics":["analyzer","cli","dota","dota2","javascript","statistics","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ddgryaz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"publiccode":null,"codemeta":null}},"created_at":"2023-12-26T21:15:41.000Z","updated_at":"2024-05-28T20:16:30.000Z","dependencies_parsed_at":"2024-05-28T14:14:13.379Z","dependency_job_id":"5a47691f-9ab9-4326-95a1-cf1c39ddc624","html_url":"https://github.com/ddgryaz/dotaStatsCLI","commit_stats":null,"previous_names":["ddgryaz/dotastatscli"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddgryaz%2FdotaStatsCLI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddgryaz%2FdotaStatsCLI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddgryaz%2FdotaStatsCLI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ddgryaz%2FdotaStatsCLI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ddgryaz","download_url":"https://codeload.github.com/ddgryaz/dotaStatsCLI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244875047,"owners_count":20524591,"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":["analyzer","cli","dota","dota2","javascript","statistics","typescript"],"created_at":"2024-11-16T08:08:54.589Z","updated_at":"2026-01-04T19:03:01.448Z","avatar_url":"https://github.com/ddgryaz.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e \n    \u003ca href=\"https://github.com/ddgryaz/dotaStatsCLI\"\u003e\n        \u003cimg\n            src=\"docs/logo.png\"\n            width=\"800\"\n            height=\"auto\"\n        /\u003e\n    \u003c/a\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![npm-version](https://img.shields.io/npm/v/dotastatscli?color=%2335b18e)](https://www.npmjs.com/package/dotastatscli)\n[![npm](https://img.shields.io/npm/dt/dotastatscli)](https://www.npmjs.com/package/dotastatscli)\n[![license](https://img.shields.io/npm/l/dotastatscli?color=blue)](https://github.com/ddgryaz/dotaStatsCLI?#LICENSE)\n\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\nDo popular gaming stats providers limit your high scores and stats to game modes?\nAre you satisfied with receiving information exclusively for your entire gaming career?\nAre you ready to use paid features from providers to get what you need in an\noverloaded interface?  \n\nDotaStatsCLI - Simple, free and effective CLI application that allows you to receive\nstatistics of your matches in dota and visualize it in a pleasant and understandable way.\nYou choose how many matches you want to receive information for.\nWe visualize this information and provide your gaming records, top rankings and\ngeneral information.\n\n\u003e Starting with version 2.0.0 dotaStatsCLI switched to ESM.\n\u003e And also received changes in user interaction. README updated.\n\n### Table of Contents\n\n- [Advantages and differences](#advantages-and-differences)\n- [How it works?](#how-it-works)\n- [Quick start and install](#quick-start-and-install)\n- [Customization](#customization)\n- [FAQ](#FAQ)\n- [Changelog](#Changelog)\n- [License](#license)\n\n### Advantages and differences\n\nDotaStatsCLI allows you to see full statistics (including games in Turbo and other major game mods). \nFor example: You have played 500 games on Tinker, 450 of which were played in Turbo mode. \nOther stats providers, as well as Dota itself, will claim that you only played Tinker in 50 games.  \n\nDotaStatsCLI in this example will show your 500 games on Tinker.\n\n### How it works?\n\nAfter launching the application, you will be given a choice.  \nFind a player and collect statistics on him or select a player from previously saved ones.\n(If there are no saved players, the corresponding item will be disabled).  \n\nNext, you will need to enter the number of matches you want to analyze and select a game data provider.  \n\nChoose an openDota provider (recommended) if you want to get statistics for a large number of\ngames or for your entire gaming career (50-10000+ matches).  \n\nChoose dotaBuff provider if you want to get fast visualization for a small number of \ngames (50-500 matches).  \n\nIn the first case, the data will be collected from the provider using query API calls.\nIn the second case, a web scraper will be launched,\nwhich will collect information by interacting with html markup.  \n\nAfter collecting the data and all the necessary calculations, \nan HTML page will be generated, which will open in your default browser.\n\n### Quick start and install\n\nThe easiest and best way to install DotaStatsCLI - is to use [NPM](https://docs.npmjs.com/about-npm).\n\n\u003e **DotaStatsCLI is not a library! Is a standalone CLI application, please install globally!**\n\n```sh\nnpm install -g dotastatscli\n```\n\nIf you already have an older version installed, run:\n\n```sh\nnpm update -g dotastatscli\n```\n\nThe first time you analyze a player, you will be asked to save it to a configuration file. \nYou can save players for quick access to their statistics.  \n\nSaved players are stored in a configuration file. \nIts location is displayed on the screen every time the program is launched. \nSome other settings are also stored here, such as the port for the application \nor the number of rows in the statistics tables.  \n\nAn example of a correctly completed ```config.json```:\n\n```json\n{\n  \"players\": [\n    {\n      \"playerName\": \"YATORO\",\n      \"id\": 321580662\n    },\n    {\n      \"playerName\": \"COLLAPSE\",\n      \"id\": 302214028\n    },\n    {\n      \"playerName\": \"MIRA\",\n      \"id\": 256156323\n    },\n    {\n      \"playerName\": \"TORONTOTOKYO\",\n      \"id\": 431770905\n    }\n  ],\n  \"port\": 6781,\n  \"rows\": 10\n}\n```\n\n\n### Customization\n\nIn the release version of the application, stock images were used, which are freely\ndistributed and used without additional licensing.  \n\nBut you can customize the images on the home page and error page.\nSimply replace the images in the `templates/images`\ndirectory while maintaining the standard file name.\n\n### FAQ\n\n* How can I find out my PLAYER ID?\n\n\u003e At the moment, we do not know of any convenient ways to obtain a PLAYER ID. \n\u003e You can find it out by searching on popular data aggregator sites \n\u003e (which we use as data providers) - www.dotabuff.com or www.opendota.com. \n\u003e When you find a player by nickname or game and go to his profile, \n\u003e the address bar will have the following address: “PROVIDER.com/players/XXX/”, \n\u003e where XXX is the PLAYER ID.\n\n* Why is the data from different providers different, despite the same number of game matches?  \n\n\u003e Indeed, the data may vary, usually it is a small difference. \n\u003e This is because providers define certain game outcomes differently, \n\u003e such as games that did not start because one of the players \n\u003e failed to load or where one of the players left the game.\n\n* What determines the number of heroes or items in statistics tables?\n\n\u003e The number of rows in statistics tables is configured in the configuration file (config.json). \n\u003e The default value is 10.\n\n* By what principle are the statistics tables sorted?\n\n\u003e The data is sorted by the number of games played (column - \"Total Games\"), \n\u003e the second criterion for sorting is the percentage of wins (column - \"WinRate %\"), \n\u003e the third sorting criterion is alphabet.\n\n* For some items in the rating, instead of a name and image, “no data” is written. Is this a bug?  \n\n\u003e If you are using the openDota supplier, then this is a normal situation\n\u003e that will soon be corrected on the supplier's side. \n\u003e This is usually due to a delay in updating data for new items or heroes.\n\n* How is animation implemented on the statistics page?\n\n\u003e The animation is implemented using a small \n\u003e and wonderful open source library - [AOS - Animate on scroll library](https://github.com/michalsnik/aos).\n\n* Can I participate in the development of the project?\n\n\u003e Yes! DotaStatsCLI is an open source application. \n\u003e The application was born as a hobby. If you want to help in development, \n\u003e fix bugs or make any contribution, we will be happy to wait for PR.\n\n* Where can I report a bug in the application?\n\n\u003e You can report a bug or ask a question related to the application\n\u003e on the GitHub page in a special tab - [DotaStatsCLI-issues](https://github.com/ddgryaz/dotaStatsCLI/issues).\n\n### Changelog\n\nYou can check out the changelog here - [CHANGELOG](https://github.com/ddgryaz/dotaStatsCLI/blob/master/CHANGELOG.md).\n\n### License\n\nLicensed under [MIT](./LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddgryaz%2Fdotastatscli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fddgryaz%2Fdotastatscli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fddgryaz%2Fdotastatscli/lists"}