An automated, lightweight 24/7 daily Lucky Pot claimer script for Honeygain. Supports running locally, in background, or 100% free on GitHub Actions Cloud.
Created with ❤️ by Binhake ツ
- 🤖 24/7 Auto Claim: Automatically checks bandwidth progress and claims daily Lucky Pot rewards.
- ☁️ GitHub Actions Cloud Mode: Runs automatically on GitHub Cloud every day — zero computer uptime required!
- 📲 Telegram Notifications: Get instant push notifications on your phone via Telegram Bot whenever a Lucky Pot is claimed.
- 🔒 Secure Configuration: Uses
.envor GitHub Secrets to protect your account credentials. - ⚡ Zero Dependencies: Pure Node.js standard modules — no external
npmpackages required. - 🕒 Clean Logging: Timestamped output (
DD/MM/YYYY HH:mm:ss) with visual cycle separators and log file persistence. - 📦 Modular Design: Clean
src/modular architecture for high maintainability.
- Node.js:
>= 18.0.0(Supports nativefetchAPI)
Run 100% free on GitHub servers without keeping your PC powered on:
- Fork or Clone this repository to your GitHub account.
- Open your repository on GitHub and navigate to Settings > Secrets and variables > Actions.
- Click New repository secret and add two required secrets (and optional Telegram secrets):
HONEYGAIN_EMAIL: Your Honeygain account email.HONEYGAIN_PASSWORD: Your Honeygain account password.- (Optional)
TELEGRAM_BOT_TOKEN: Your Telegram Bot API token. - (Optional)
TELEGRAM_CHAT_ID: Your Telegram Chat ID.
- Done! The workflow automatically triggers every day at 07:05 AM (UTC+7).
- Optional: You can manually trigger a claim test anytime under the Actions tab by clicking Honeygain Auto Claimer > Run workflow.
git clone https://github.com/binhake/honeygain.git
cd honeygainCopy .env.example to .env:
cp .env.example .envOpen .env and fill in your details:
# Honeygain Account Configuration
HONEYGAIN_EMAIL=your_email@example.com
HONEYGAIN_PASSWORD=your_password_here
HONEYGAIN_TOKEN=
# Telegram Notification Configuration (Optional)
TELEGRAM_BOT_TOKEN=your_bot_token_here
TELEGRAM_CHAT_ID=your_chat_id_herenpm startOr directly with node:
node mainGet instant push notifications when your daily Lucky Pot is claimed:
- Get Bot Token: Open Telegram, search for @BotFather, send
/newbot, and follow the steps to create a bot. Copy the HTTP API token. - Get Your Chat ID: Open Telegram, search for @userinfobot, and press
/startto get yourId. - Add
TELEGRAM_BOT_TOKENandTELEGRAM_CHAT_IDto your.envfile or GitHub Repository Secrets.
Honeygain/
├── .github/
│ └── workflows/
│ └── honeygain.yml # GitHub Actions automated daily workflow
├── .env.example # Example environment variables template
├── .env # Local configuration file (ignored by git)
├── .gitignore # Ignores sensitive files and logs
├── main.js # Main application entry point (24/7 scheduler)
├── package.json # Project metadata and npm scripts
└── src/
├── action.js # Single-run execution entry point for GitHub Actions
├── config.js # Environment loader & configuration settings
├── honeygain.js # Honeygain API authentication & claim logic
├── logger.js # Formatted timestamp logger & console banner
├── scheduler.js # 24/7 background scheduler and interval timer
└── telegram.js # Telegram Bot API notification module