Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haq/microsoft-rewards-bot
docker image for Microsoft-Rewards-Farmer by charlesbel
https://github.com/haq/microsoft-rewards-bot
docker microsoft-rewards python
Last synced: about 2 hours ago
JSON representation
docker image for Microsoft-Rewards-Farmer by charlesbel
- Host: GitHub
- URL: https://github.com/haq/microsoft-rewards-bot
- Owner: haq
- Created: 2023-02-21T19:59:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-10T15:19:09.000Z (13 days ago)
- Last Synced: 2024-12-16T15:39:32.197Z (7 days ago)
- Topics: docker, microsoft-rewards, python
- Language: Dockerfile
- Homepage:
- Size: 23.4 KB
- Stars: 107
- Watchers: 2
- Forks: 13
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
> 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).
> 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.
> 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.
![create and publish docker image](https://github.com/haq/microsoft-rewards-bot/actions/workflows/docker-publish.yml/badge.svg)
![Docker image size](https://ghcr-badge.egpl.dev/haq/microsoft-rewards-bot/size)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/haq/microsoft-rewards-bot)# microsoft-rewards-bot
[klept0/Microsoft-Rewards-Farmer](https://github.com/klept0/MS-Rewards-Farmer.git) but dockerized.
## docker-cli
```sh
docker run --rm -it \
--shm-size 4g \
-v "$PWD"/accounts.json:/app/accounts.json \
ghcr.io/haq/microsoft-rewards-bot
```## recommended usage
### compose.yml
```yml
services:rewards-home:
image: ghcr.io/haq/microsoft-rewards-bot
container_name: rewards_home
shm_size: 4gb
volumes:
- ./accounts.json:/app/accounts.json
restart: norewards-vpn:
image: ghcr.io/haq/microsoft-rewards-bot
container_name: rewards_vpn
network_mode: service:wireguard
shm_size: 4gb
depends_on:
- wireguard
volumes:
- ./accounts.json:/app/accounts.json
restart: nowireguard:
image: lscr.io/linuxserver/wireguard
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv4.ip_forward=1
volumes:
- ./wg0.conf:/config/wg0.conf
healthcheck:
test: [ "CMD", "ping", "-c", "1", "google.com" ]
retries: 3
timeout: 5s
restart: unless-stopped
```### accounts.json
```json
[
{
"username":"[email protected]",
"password":"password1"
},
{
"username":"[email protected]",
"password":"password2",
"totp":"0123 4567 89ab cdef",
"proxy":"http://user:pass@host1:port"
}
]
```### wg0.conf
```conf
[Interface]
PrivateKey =
Address =
DNS =[Peer]
PublicKey =
PresharedKey =
AllowedIPs = 0.0.0.0/0
PersistentKeepalive = 25
Endpoint =
```### crontab
- It is recommended that you randomize the time each script is run.
- Also take note of how long the script takes to run. There should be no overlap.```crontab
0 4 * * * docker start rewards_home
0 5 * * * docker start rewards_vpn
```