Bộ công cụ tự động bình luận Twitter/X — gói gọn, chạy 5 phút là xong. (Self-contained Twitter/X auto-comment toolkit — clone, run wizard, done in 5 min.)
- Node.js 20 trở lên
- Một tài khoản Twitter/X có cookies hợp lệ
- (Tùy chọn) Telegram bot để nhận cảnh báo
- API key của một trong 3 nhà cung cấp AI: DeepSeek (rẻ), OpenAI, hoặc Anthropic
git clone <repo-url> twitter-comment-pack
cd twitter-comment-pack
npm install
npm run setupWizard sẽ hỏi 4 câu hỏi chính (+ AI provider + API key):
- Cookies Twitter — paste JSON từ extension Cookie-Editor (xem
guides/01-get-cookies.md) - Telegram bot token + chat ID — xem
guides/02-get-telegram-token.md - Chế độ A / B / C — xem
guides/03-modes-explained.md - Số comment mỗi giờ — mặc định 15. Xem
guides/04-rate-limits.md
Sau khi setup xong:
npm start # chạy ngay
# hoặc bot đã được cài auto-start lúc boot Windows nếu bạn chọn Y ở wizardLogs: data/run.log. Xem real-time: Get-Content data/run.log -Wait (PowerShell)
- A — List comment: bot crawl các list bạn chọn, comment vào từng tweet bằng AI theo ngôn ngữ + phong cách bạn cấu hình.
- B — Amplify: khi bạn đăng tweet mới, bot tìm các tweet hashtag liên quan và comment kèm link đến tweet của bạn.
- C — Hybrid: luân phiên A và B.
- KHÔNG commit
data/config.jsonlên git — đã được gitignore sẵn. - Cookies hết hạn (~2-4 tuần) → re-export và
npm run setuplại (chỉ cần làm lại Q1). - Mode B chỉ dùng cho nội dung viral / signal trade / on-chain analysis. KHÔNG dùng spam tin tức → bị restrict.
schtasks /Delete /TN TwitterCommentPack /F
schtasks /Delete /TN TwitterCommentPack_Startup /F- Node.js 20+
- Valid Twitter/X account cookies
- (Optional) Telegram bot for alerts
- API key for one of: DeepSeek (cheap), OpenAI, or Anthropic
git clone <repo-url> twitter-comment-pack
cd twitter-comment-pack
npm install
npm run setupThe wizard asks 4 main questions + AI key. Guides for each are in guides/.
Start: npm start. Logs: data/run.log.
- A — List comment: crawl chosen lists, AI-comment per language and persona.
- B — Amplify: when you post, bot comments under hashtag-matching tweets pointing back to yours.
- C — Hybrid: alternates A/B.
data/config.jsonis gitignored — never commit secrets.- Cookies expire (~2-4 weeks) → re-export and re-run wizard (Q1 only).
- Mode B is for viral / signal / analysis content only. NOT for news spam.
schtasks /Delete /TN TwitterCommentPack /F
schtasks /Delete /TN TwitterCommentPack_Startup /F