{"id":20573180,"url":"https://github.com/ashmadev/node-dogebot","last_synced_at":"2025-10-06T15:04:02.190Z","repository":{"id":170710457,"uuid":"646511273","full_name":"AshmaDev/node-dogebot","owner":"AshmaDev","description":"Trading bot that buys DOGE when Elon Musk tweets about it","archived":false,"fork":false,"pushed_at":"2023-06-03T12:33:02.000Z","size":1193,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T10:27:37.423Z","etag":null,"topics":["cryptocurrency","dogecoin","elonmusk"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/AshmaDev.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":"2023-05-28T16:23:55.000Z","updated_at":"2023-05-29T21:07:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"eb097f78-0948-4538-be7c-a47f25795fe2","html_url":"https://github.com/AshmaDev/node-dogebot","commit_stats":null,"previous_names":["ashmadev/node-dogebot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AshmaDev/node-dogebot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshmaDev%2Fnode-dogebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshmaDev%2Fnode-dogebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshmaDev%2Fnode-dogebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshmaDev%2Fnode-dogebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AshmaDev","download_url":"https://codeload.github.com/AshmaDev/node-dogebot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AshmaDev%2Fnode-dogebot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267436722,"owners_count":24086898,"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-07-27T02:00:11.917Z","response_time":82,"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":["cryptocurrency","dogecoin","elonmusk"],"created_at":"2024-11-16T05:25:56.750Z","updated_at":"2025-10-06T15:03:57.126Z","avatar_url":"https://github.com/AshmaDev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"img/dogebot.png\" alt=\"doge-bot\" width=\"250\" height=\"250\"\u003e\n  \u003cp\u003eCrypto trading bot that follows a Twitter account and buys crypto automatically when mentioned!\u003c/p\u003e\n\u003c/div\u003e  \n\n## Configuration\n\nBefore running the DogeBot application, make sure to provide required configuration.  \n\n### 1. Environmental variables\nSet up the required API keys by creating a .env file in the config directory. The .env file should have the following structure:\n\n```\nTWITTER_CONSUMER=\"\"\nTWITTER_CONSUMER_KEY=\"\"\nTWITTER_ACCESS_TOKEN=\"\"\nTWITTER_ACCESS_SECRET=\"\"\nBINANCE_API_KEY=\"\"\nBINANCE_API_SECRET=\"\"\n```\n  \nReplace the empty quotes (\"\") with your actual API keys obtained from the respective services.  \nThese API keys are necessary for accessing the [Twitter API](https://developer.twitter.com/en/docs/twitter-api). and [Binance API](https://www.binance.com/en/binance-api).  \n\n### 2. Dogebot conifg\n\nCreate a file named dogebot.config.js in config directory. The file should have the following structure:\n\n```json\n{\n    \"twitterId\": 44196397,\n    \"allowReplies\": false,\n    \"trade\": {\n        \"enabled\": false,\n        \"balancePercentage\": 0.25,\n        \"timeToSell\": 5,\n        \"coin\": \"DOGE\",\n        \"pairCoin\": \"USDT\"\n    }\n}\n``` \n\nCustomize the values in the JSON object according to your preferences:  \n\n- \"twitterId\": Replace 44196397 with the Twitter user ID you want to track. You can find the user ID using online tools or Twitter API documentation.\n- \"allowReplies\": Set this to true if you want the bot to respond to replies, or false if you want to ignore replies.\n- \"trade\": Configure the trade settings as per your requirements. Adjust the values of \"enabled\", \"balancePercentage\", \"timeToSell\", \"coin\", and \"pairCoin\" based on your trading strategy.  \n\nMake sure to review and update the configuration values according to your needs before running the DogeBot application.  \n\n## Run with Docker\n\nBuild the Docker image by running the following command: \n\n```bash\ndocker build -t node-dogebot:1.0.0 .\n```\n\nOnce the image is built, you can run a Docker container with the following command: \n\n```bash\ndocker run -d --name dogebot-container node-dogebot:1.0.0\n```\n\nThe DogeBot application should now be running inside the Docker container. You can check the logs of the container using the following command: \n\n```bash\ndocker logs dogebot-container\n```\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashmadev%2Fnode-dogebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fashmadev%2Fnode-dogebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fashmadev%2Fnode-dogebot/lists"}