{"id":25902954,"url":"https://github.com/prasunroy/steam-bot","last_synced_at":"2025-10-20T09:04:35.484Z","repository":{"id":44118211,"uuid":"136959274","full_name":"prasunroy/steam-bot","owner":"prasunroy","description":":zap: An automated Steam trading bot.","archived":false,"fork":false,"pushed_at":"2024-04-29T13:54:47.000Z","size":195,"stargazers_count":30,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-29T15:04:08.321Z","etag":null,"topics":["steam","steam-api","steam-bot","steam-trade","steam-trade-bot","steam-trading"],"latest_commit_sha":null,"homepage":"https://steamcommunity.com/profiles/76561198204752340","language":"JavaScript","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/prasunroy.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,"publiccode":null,"codemeta":null}},"created_at":"2018-06-11T17:30:46.000Z","updated_at":"2024-04-29T13:54:50.000Z","dependencies_parsed_at":"2024-04-29T14:58:39.481Z","dependency_job_id":"27fb0dc5-8594-482e-9da1-d6ab2cb03cc8","html_url":"https://github.com/prasunroy/steam-bot","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/prasunroy%2Fsteam-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasunroy%2Fsteam-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasunroy%2Fsteam-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasunroy%2Fsteam-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prasunroy","download_url":"https://codeload.github.com/prasunroy/steam-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241600465,"owners_count":19988716,"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":["steam","steam-api","steam-bot","steam-trade","steam-trade-bot","steam-trading"],"created_at":"2025-03-03T03:17:51.957Z","updated_at":"2025-10-20T09:04:35.417Z","avatar_url":"https://github.com/prasunroy.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Steam Bot\n**An automated Steam trading bot.**\n\u003cimg align='right' height='100' src='https://github.com/prasunroy/steam-bot/blob/master/assets/logo.png' /\u003e\n\n![badge](https://github.com/prasunroy/steam-bot/blob/master/assets/badge_1.svg)\n![badge](https://github.com/prasunroy/steam-bot/blob/master/assets/badge_2.svg)\n\n## Installation\n#### *`A Steam account with verified email address and mobile number is required to setup bot.`*\n\n#### Step 1: Install [Node.js](https://nodejs.org/en/download) and [npm](https://www.npmjs.com)\n\u003e**Note:** This application requires Node.js 6.0.0 or later and npm 5.5.0 or later.\n\n#### Step 2: Clone repository\n```\ngit clone https://github.com/prasunroy/steam-bot.git\ncd steam-bot\n```\n\n#### Step 3: Install dependencies\n```\nnpm install\n```\n\n#### Step 4: Setup bot\n```\nnode setup\n```\n\u003e**Note:** All sensitive data such as ***login credentials*** and ***secret keys*** will be written to ***config.json*** during setup. The linked Steam account can be accessed and controlled using these information. Modifying, deleting, sharing or losing this file may lead to lose access to the linked Steam account. In such cases account owner needs to contact [***Steam Support***](https://help.steampowered.com/en) to regain access. It is highly recommended to keep a backup of ***config.json***.\n\n\u003e**Note:** After setup account restrictions may apply in accordance with [***Steam Subscriber Agreement***](https://store.steampowered.com/subscriber_agreement).\n\n## Usage\n### Starting bot\n```\nnpm start\n```\n\u003e**Note:** Alternatively the bot can also be started with command `node bot`.\n\n### Administrator commands\n| Command | Description |\n| :------ | :---------- |\n| ***!authcode***         | Request a Steam Guard Mobile Authenticator code |\n| ***!send steam items*** | Request all tradable Steam inventory items      |\n| ***!send tf2 items***   | Request all tradable TF2 inventory items        |\n| ***!send dota2 items*** | Request all tradable DOTA2 inventory items      |\n| ***!send csgo items***  | Request all tradable CS:GO inventory items      |\n\u003e**Note:** These commands can be issued by bot administrator as ***Steam chat messages***.\n\n### Managing database\nOn receiving a trade offer the bot will look for the price of a trade item in ***`database.json`*** by ***market hash name***. The bot can only recognize items specified in this file. The database can be managed by modifying this file while retaining the general structure.\n#### Example\n```json\n{\n  \"Market hash name of item 1\":\n  {\n    \"buy\" : 1,\n    \"sell\": 2\n  },\n  \n  \"Market hash name of item 2\":\n  {\n    \"buy\" : 50,\n    \"sell\": 100\n  }\n}\n```\n\u003e**Note:** The bot needs to be restarted after modifying the database to reflect updated prices.\n\n### Reset bot\n```\nnode reset\n```\n\u003e**Note:** Reseting bot removes ***Steam Guard Mobile Authenticator*** from the linked Steam account.\n\n\u003e**Note:** After reset account restrictions may apply in accordance with [***Steam Subscriber Agreement***](https://store.steampowered.com/subscriber_agreement).\n\n## References\n\u003e[Logo](https://github.com/prasunroy/steam-bot/raw/master/assets/logo.png) is obtained from [Pixabay](https://pixabay.com) made available under [Creative Commons CC0 License](https://creativecommons.org/publicdomain/zero/1.0/deed.en).\n\n## License\nMIT License\n\nCopyright (c) 2018 Prasun Roy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n\u003cbr /\u003e\n\u003cbr /\u003e\n\n**Made with** :heart: **and GitHub**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprasunroy%2Fsteam-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprasunroy%2Fsteam-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprasunroy%2Fsteam-bot/lists"}