![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?style=for-the-badge&logo=typescript&logoColor=white) ![Playwright](https://img.shields.io/badge/Playwright-2EAD33?style=for-the-badge&logo=playwright&logoColor=white) ![Node.js](https://img.shields.io/badge/Node.js-339933?style=for-the-badge&logo=node.js&logoColor=white) ![Docker](https://img.shields.io/badge/Docker-2496ED?style=for-the-badge&logo=docker&logoColor=white)
![Version](https://img.shields.io/badge/v2.4.0-blue?style=for-the-badge&logo=github&logoColor=white) ![License](https://img.shields.io/badge/ISC-00D9FF?style=for-the-badge) ![Stars](https://img.shields.io/github/stars/TheNetsky/Microsoft-Rewards-Script?style=for-the-badge&color=blue) ![Status](https://img.shields.io/badge/Active-00C851?style=for-the-badge)


---
### πŸ“Œ **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**

TheNetsky
πŸ—οΈ Foundation Architect

Mgrimace
πŸ’» Active Developer

LightZirconite
πŸ” V2+

### **All Contributors**

## Community & Support
### **Need Help? Found a Bug?** **Join our Discord community β€” we're here to help!**
[![Discord](https://img.shields.io/badge/Join_Discord-5865F2?style=for-the-badge&logo=discord&logoColor=white)](https://discord.gg/KRBFxxsU)
**For bug reports and feature requests, please use Discord first.** GitHub Issues are also available for documentation and tracking.
[![GitHub Issues](https://img.shields.io/badge/GitHub_Issues-181717?style=for-the-badge&logo=github&logoColor=white)](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! ⭐**
![Stars](https://img.shields.io/github/stars/TheNetsky/Microsoft-Rewards-Script?style=social)
**Made with ❀️ by the open source community**