







---
### π **Update Notice**
Recent updates changed the structure of `config.jsonc` and `accounts.jsonc` files (including extensions).
**If you see Git conflicts during `git pull` on these files:**
```bash
# Delete and fresh clone
rm -rf Microsoft-Rewards-Script
git clone -b v2 https://github.com/TheNetsky/Microsoft-Rewards-Script.git
cd Microsoft-Rewards-Script
# Manually re-enter your settings in the new files
```
β οΈ Don't copy old config files directlyβstructure has changed. Re-enter your credentials and preferences manually.
This notice will remain for a few releases. Once we reach stable v2.5+, automatic updates will work smoothly again.
---
## What Does This Do?
**Automate your Microsoft Rewards daily activities with intelligent browser automation.**
Complete searches, quizzes, and promotions automatically while mimicking natural human behavior.
### **Daily Earnings Breakdown**
| π― Activity | π Points | β±οΈ Time |
|:-----------|:---------|:--------|
| **Desktop Searches** | ~90 pts | 30 sec |
| **Mobile Searches** | ~60 pts | 20 sec |
| **Daily Set Tasks** | ~30-50 pts | 1-2 min |
| **Promotions & Punch Cards** | Variable | 30s-2min |
| **π TOTAL AVERAGE** | **150-300+ pts** | **3-5 min** |
## Quick Start
### **π Automated Setup** (Recommended)
```bash
# Windows
setup\setup.bat
# Linux / macOS / WSL
bash setup/setup.sh
# Universal
npm run setup
```
**The wizard handles everything:**
- β
Creates `accounts.json` with your credentials
- β
Installs dependencies & builds project
- β
Runs first automation (optional)
### **π οΈ Manual Setup**
```bash
# 1. Clone repository
git clone -b v2 https://github.com/TheNetsky/Microsoft-Rewards-Script.git
cd Microsoft-Rewards-Script
# 2. Configure accounts
cp src/accounts.example.jsonc src/accounts.json
# Edit accounts.json with your Microsoft credentials
# 3. Install & build
npm i
# 4. Run automation
npm start
```
## Intelligent Features
|
### π‘οΈ **Risk-Aware System**
```
Real-time threat detection
ββ Monitors captchas & errors
ββ Dynamic delay adjustment (1xβ4x)
ββ Automatic cool-down periods
ββ ML-based ban prediction
```
### π **Performance Analytics**
```
Track everything
ββ Points earned per day
ββ Success/failure rates
ββ Historical trends
ββ Account health monitoring
```
|
### π **Query Diversity Engine**
```
Natural search patterns
ββ Multi-source queries
ββ Pattern breaking algorithms
ββ Smart deduplication
ββ Reduced detection risk
```
### β
**Config Validator**
```
Pre-flight checks
ββ Detects common mistakes
ββ Security warnings
ββ Optimization suggestions
ββ Dry-run test mode
```
|
## Usage Commands
```bash
# Run automation once
npm start
# Daily automated scheduler
npm run start:schedule
# Manual redemption mode (monitor points while shopping)
npm start -- -buy your@email.com
# Docker deployment
docker compose up -d
# Test configuration without executing
npm start -- --dry-run
```
## Configuration
Edit `src/config.jsonc` to customize behavior:
```jsonc
{
"browser": {
"headless": false // Set true for background operation
},
"execution": {
"parallel": false, // Run desktop + mobile simultaneously
"runOnZeroPoints": false, // Skip when no points available
"clusters": 1 // Parallel account processes
},
"workers": {
"doDailySet": true,
"doDesktopSearch": true,
"doMobileSearch": true,
"doPunchCards": true
},
"humanization": {
"enabled": true, // Natural human-like delays
"actionDelay": { "min": 500, "max": 2200 },
"randomOffDaysPerWeek": 1 // Skip random days naturally
}
}
```
**[π Complete Configuration Guide β](./docs/config.md)**
## Core Features

Human-Like Behavior
Randomized delays β’ Mouse movements Natural scrolling patterns
|

Anti-Detection
Session persistence β’ Fingerprinting Proxy support
|

Multi-Account
Parallel execution β’ 2FA/TOTP Per-account proxies
|

Smart Quiz Solver
Polls β’ ABC Quiz β’ This or That 4/8-option quizzes
|

Built-in Scheduler
Daily automation No external cron needed
|

Notifications
Discord webhooks β’ NTFY Real-time alerts
|
## Documentation
| π Getting Started | βοΈ Configuration | π Monitoring |
|:------------------|:----------------|:-------------|
| [Installation & Setup](./docs/getting-started.md) | [Config Guide](./docs/config.md) | [Notifications](./docs/ntfy.md) |
| [Accounts Setup](./docs/accounts.md) | [Scheduler](./docs/schedule.md) | [Diagnostics](./docs/diagnostics.md) |
| [Docker Deployment](./docs/docker.md) | [Humanization](./docs/humanization.md) | [Buy Mode](./docs/buy-mode.md) |
| | [Proxy Configuration](./docs/proxy.md) | |
**[π Complete Documentation Index β](./docs/index.md)**
## Technical Architecture
**Built with Modern Technologies**
**Core Modules:**
| Module | Purpose |
|--------|---------|
| `Login.ts` | Microsoft authentication flow with 2FA/TOTP support |
| `Workers.ts` | Completes Daily Set, Promotions, and Punch Cards |
| `Search.ts` | Desktop/mobile Bing searches with natural query variations |
| `Activities.ts` | Routes to specific activity handlers (Quiz, Poll, etc.) |
| `activities/*.ts` | Individual handlers for each reward type |
**Key Technologies:**
- [Playwright](https://playwright.dev/) β Browser automation framework
- [Rebrowser](https://github.com/rebrowser/rebrowser-playwright) β Anti-fingerprinting extensions
- [fingerprint-generator](https://www.npmjs.com/package/fingerprint-generator) β Device consistency
- [Cheerio](https://cheerio.js.org/) β Fast HTML parsing
- [Luxon](https://moment.github.io/luxon/) β Modern date/time handling
## Important Disclaimers
### β οΈ **USE AT YOUR OWN RISK** β οΈ
**Using automation violates Microsoft's Terms of Service.**
Accounts may be **suspended or permanently banned**.
This project is for **educational purposes only**.
**Best Practices:**
β
**DO:**
- Use 2FA/TOTP for security
- Enable humanization features
- Schedule 1-2x daily maximum
- Set `runOnZeroPoints: false`
- Test on secondary accounts first
- Monitor diagnostics regularly
β **DON'T:**
- Run on your main account
- Schedule hourly runs
- Ignore security warnings
- Use shared proxies
- Skip configuration validation
## Contributors
### **Core Development Team**
### **All Contributors**
## Community & Support
### **Need Help? Found a Bug?**
**Join our Discord community β we're here to help!**
[](https://discord.gg/KRBFxxsU)
**For bug reports and feature requests, please use Discord first.**
GitHub Issues are also available for documentation and tracking.
[](https://github.com/TheNetsky/Microsoft-Rewards-Script/issues)
> π‘ **Looking for enhanced builds?** Community-maintained versions with faster updates and advanced features may be available. Ask in our Discord for more info.
## License
**ISC License** β Free and open source
See [LICENSE](./LICENSE) for details β’ [NOTICE](./NOTICE) for disclaimers
---
**β Star this repo if you found it useful! β**

**Made with β€οΈ by the open source community**