{"id":15638731,"url":"https://github.com/haq/microsoft-rewards-bot","last_synced_at":"2025-04-06T04:12:21.992Z","repository":{"id":111471826,"uuid":"604793694","full_name":"haq/microsoft-rewards-bot","owner":"haq","description":"docker image for Microsoft-Rewards-Farmer by charlesbel","archived":false,"fork":false,"pushed_at":"2025-01-07T19:22:39.000Z","size":25,"stargazers_count":116,"open_issues_count":2,"forks_count":12,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T03:06:34.981Z","etag":null,"topics":["docker","microsoft-rewards","python"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/haq.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-02-21T19:59:42.000Z","updated_at":"2025-03-24T02:50:35.000Z","dependencies_parsed_at":"2023-11-06T23:06:55.304Z","dependency_job_id":"6e20d800-f5ce-413c-9420-32d6815c3462","html_url":"https://github.com/haq/microsoft-rewards-bot","commit_stats":{"total_commits":33,"total_committers":1,"mean_commits":33.0,"dds":0.0,"last_synced_commit":"471d56cb831fe199efeaf0bc6f3fc3abe48f1885"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haq%2Fmicrosoft-rewards-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haq%2Fmicrosoft-rewards-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haq%2Fmicrosoft-rewards-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haq%2Fmicrosoft-rewards-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haq","download_url":"https://codeload.github.com/haq/microsoft-rewards-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430873,"owners_count":20937874,"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":["docker","microsoft-rewards","python"],"created_at":"2024-10-03T11:22:54.636Z","updated_at":"2025-04-06T04:12:21.976Z","avatar_url":"https://github.com/haq.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e June 24, 2023 - Ever since the takedown of the original [GitHub](https://github.com/farshadz1997/Microsoft-Rewards-bot) repository, this image has been migrated over to use the [GitLab](https://gitlab.com/farshadzargary1997/Microsoft-Rewards-bot) one. But it seems to me that the GitLab one is not as updated and has multiple open [issues](https://gitlab.com/farshadzargary1997/Microsoft-Rewards-bot/-/issues).\n\n\u003e August 18, 2023 -  Migrated image over to utilize [charlesbel/Microsoft-Rewards-Farmer](https://github.com/charlesbel/Microsoft-Rewards-Farmer) since [farshadzargary1997/Microsoft-Rewards-bot](https://gitlab.com/farshadzargary1997/Microsoft-Rewards-bot) has been abandoned.\n\n\u003e June 15, 2024 -  Migrated image over to utilize [klept0/Microsoft-Rewards-Farmer](https://github.com/klept0/MS-Rewards-Farmer.git) since [charlesbel/Microsoft-Rewards-Farmer](https://github.com/charlesbel/Microsoft-Rewards-Farmer) has been abandoned.\n\n![create and publish docker image](https://github.com/haq/microsoft-rewards-bot/actions/workflows/docker-publish.yml/badge.svg)\n![Docker image size](https://ghcr-badge.egpl.dev/haq/microsoft-rewards-bot/size)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/haq/microsoft-rewards-bot)\n\n# microsoft-rewards-bot\n\n[klept0/Microsoft-Rewards-Farmer](https://github.com/klept0/MS-Rewards-Farmer.git) but dockerized.\n\n## docker-cli\n\n```sh\ndocker run --rm -it \\\n  --shm-size 4g \\\n  -v \"$PWD\"/accounts.json:/app/accounts.json \\\n  ghcr.io/haq/microsoft-rewards-bot\n```\n\n## recommended usage\n\n### compose.yml\n\n```yml\nservices:\n\n  rewards-home:\n    image: ghcr.io/haq/microsoft-rewards-bot\n    container_name: rewards_home\n    shm_size: 4gb\n    volumes:\n     - ./accounts.json:/app/accounts.json\n    restart: no\n\n  rewards-vpn:\n    image: ghcr.io/haq/microsoft-rewards-bot\n    container_name: rewards_vpn\n    network_mode: service:wireguard\n    shm_size: 4gb\n    depends_on:\n      - wireguard\n    volumes:\n     - ./accounts.json:/app/accounts.json\n    restart: no\n\n  wireguard:\n    image: lscr.io/linuxserver/wireguard\n    container_name: wireguard\n    cap_add:\n      - NET_ADMIN\n      - SYS_MODULE\n    sysctls:\n      - net.ipv4.conf.all.src_valid_mark=1\n      - net.ipv4.ip_forward=1\n    volumes:\n      - ./wg0.conf:/config/wg0.conf\n    healthcheck:\n      test: [ \"CMD\", \"ping\", \"-c\", \"1\", \"google.com\" ]\n      retries: 3\n      timeout: 5s\n    restart: unless-stopped\n```\n\n### accounts.json\n\n```json\n[\n   {\n      \"username\":\"account1@mail.com\",\n      \"password\":\"password1\"\n   },\n   {\n      \"username\":\"account2@mail.com\",\n      \"password\":\"password2\",\n      \"totp\":\"0123 4567 89ab cdef\",\n      \"proxy\":\"http://user:pass@host1:port\"\n   }\n]\n```\n\n### wg0.conf\n\n```conf\n[Interface]\nPrivateKey =\nAddress =\nDNS =\n\n[Peer]\nPublicKey =\nPresharedKey =\nAllowedIPs = 0.0.0.0/0\nPersistentKeepalive = 25\nEndpoint =\n```\n\n### crontab\n\n- It is recommended that you randomize the time each script is run.\n- Also take note of how long the script takes to run. There should be no overlap.\n\n```crontab\n0 4 * * * docker start rewards_home\n0 5 * * * docker start rewards_vpn\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaq%2Fmicrosoft-rewards-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaq%2Fmicrosoft-rewards-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaq%2Fmicrosoft-rewards-bot/lists"}