{"id":20626701,"url":"https://github.com/dimensionsoftware/mcafee-bot","last_synced_at":"2025-04-15T15:20:49.761Z","repository":{"id":150980586,"uuid":"115269592","full_name":"DimensionSoftware/mcafee-bot","owner":"DimensionSoftware","description":"buy coins based on @officialmcafee tweets","archived":false,"fork":false,"pushed_at":"2018-01-20T22:19:24.000Z","size":43,"stargazers_count":63,"open_issues_count":1,"forks_count":32,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-28T21:42:50.962Z","etag":null,"topics":["bittrex","coin","cryptocurrencies","cryptocurrency","javascript","nodejs","trade","twitter"],"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/DimensionSoftware.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}},"created_at":"2017-12-24T14:53:26.000Z","updated_at":"2025-03-12T16:15:13.000Z","dependencies_parsed_at":"2023-04-13T04:01:53.944Z","dependency_job_id":null,"html_url":"https://github.com/DimensionSoftware/mcafee-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/DimensionSoftware%2Fmcafee-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionSoftware%2Fmcafee-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionSoftware%2Fmcafee-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DimensionSoftware%2Fmcafee-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DimensionSoftware","download_url":"https://codeload.github.com/DimensionSoftware/mcafee-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249094939,"owners_count":21211837,"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":["bittrex","coin","cryptocurrencies","cryptocurrency","javascript","nodejs","trade","twitter"],"created_at":"2024-11-16T13:14:27.758Z","updated_at":"2025-04-15T15:20:49.742Z","avatar_url":"https://github.com/DimensionSoftware.png","language":"JavaScript","readme":"# mcafee-bot\n\nWhen [@officialmcafee](https://twitter.com/officialmcafee) posts his coin of the day, buy it ASAP.\n\n# How it works\n\n* Read @officialmcafee's tweets in real time.\n* Determine whether the tweet is a coin of the day announcement.\n* If so, determine what coin it is.\n* If it's on bittrex, buy it.\n\n## IT DOES NOT SELL!\n\nThat is left as an exercise for you.\n\n# Installation\n\n## Prerequisites\n\nBefore you even try to install this, you need to have the following things installed:\n\n* [git](https://git-scm.com/)\n* [node.js](https://nodejs.org/en/)\n* [yarn](https://yarnpkg.com/en/)\n* libtesseract-dev (NEW)\n\n```sh\n# OSX\nbrew install tesseract --with-all-languages\n\n# Linux (Ubuntu)\napt-get install libtesseract-dev tesseract-ocr\n```\n\nI don't know what to tell you Windows people.  Perhaps consider running [Ubuntu under VirtualBox](https://www.lifewire.com/run-ubuntu-within-windows-virtualbox-2202098).\n\n## Cloning\n\n```sh\ngit clone git@github.com:DimensionSoftware/mcafee-bot.git\ncd mcafee-bot\nyarn\n```\n\n## API Keys\n\nYou have to go to both twitter and bittrex to get your own API keys.\nOnce acquired, I recommend putting them in `secrets.env`.\n\n* Twitter:  https://apps.twitter.com/\n  * Create an application.\n  * You can leave callback URL blank.\n  * After that's done go to **Keys and Access Tokens** and make some access tokens.\n* Bittrex:  https://bittrex.com/Manage#sectionApi\n  * **Read Info** should be **ON**.\n  * **Trade Limit** should be **ON**.\n  * **Trade Market** doesn't matter.\n  * **Withdraw** should be **OFF** for your safety.\n* Binance:  https://www.binance.com/userCenter/createApi.html (Coming Soon)\n  * **Read Info** should be **ON**\n  * **Enable Trading** should be **ON**\n  * **Enable Withdrawals** should be **OFF**\n\n# Usage\n\n```sh\nsource secrets.env  # You have to get your own API keys from twitter and bittrex!\nbin/repl\n```\n\nThis will drop you into a node.js repl with an instantiated bot you can command interactively.\n\n```javascript\n// The bot.\nbot\n\n// How much BTC are you willing to spend per purchase?\nbot.btcSpend = 0.25\n\n// To get ahead of the pump, \n// what multiplier do you want to add to the current price when putting in the buy order?\n// bid == price + (price * bot.adjustment)\nbot.adjustment = 0.20\n\n// If you want to see it read tweets:\nbot.verbose = true\n\n// If you want it to shut up (which is the default):\nbot.verbose = false\n\n// Make the bot connect to twitter and monitor tweets.  VERY IMPORTANT!\nbot.init()\n```\n\nIt is now waiting for @officialmcafee to tweet his coin of the day.\n\n# Tweets\n\n* https://twitter.com/officialmcafee/status/947845669213147136\n* https://twitter.com/officialmcafee/status/945655402276024320\n* https://twitter.com/officialmcafee/status/945293044252905472\n* https://twitter.com/officialmcafee/status/944929837671690241\n* https://twitter.com/officialmcafee/status/944555048880746497\n* https://twitter.com/officialmcafee/status/944206175100424193\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimensionsoftware%2Fmcafee-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimensionsoftware%2Fmcafee-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimensionsoftware%2Fmcafee-bot/lists"}