Metadata-Version: 2.4
Name: darkbot-templates
Version: 1.5.0
Summary: 18 production-ready Python code templates: TG bots, scrapers, AI agents, crypto trading, Tor.
Author-email: DarkBot AI <darkbotai@proton.me>
License: MIT
Project-URL: Homepage, https://aaameobius-crypto.github.io/darkbot-ai-templates
Project-URL: Repository, https://github.com/aaameobius-crypto/darkbot-ai-templates
Project-URL: Documentation, https://github.com/aaameobius-crypto/darkbot-ai-templates/blob/main/ARCHITECTURE.md
Project-URL: Changelog, https://github.com/aaameobius-crypto/darkbot-ai-templates/releases
Keywords: telegram-bot,web-scraper,ai-automation,cdp,solidity,fastapi,discord-bot,proxy-rotation,email-scraper,whatsapp-bot,n8n,captcha-solver,crypto-payment,tor,crypto-trading,templates
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 🤖 DarkBot AI — 17 Production-Ready Code Templates

[![CI](https://github.com/aaameobius-crypto/darkbot-ai-templates/actions/workflows/ci.yml/badge.svg)](https://github.com/aaameobius-crypto/darkbot-ai-templates/actions/workflows/ci.yml)
[![Tutorials](https://img.shields.io/badge/tutorials-18-blue)]()
[![Demos](https://img.shields.io/badge/demos-18-green)]()
[![Releases](https://img.shields.io/badge/releases-5-orange)]()
[![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
[![Tests](https://img.shields.io/badge/tests-65%2B-green)]()
[![Docker](https://img.shields.io/badge/docker-ready-blue)]()
[![Payment](https://img.shields.io/badge/payment-BTC%20%7C%20USDT%20%7C%20ETH%20%7C%20XMR-orange)]()
[![GitHub stars](https://img.shields.io/github/stars/aaameobius-crypto/darkbot-ai-templates?style=social)](https://github.com/aaameobius-crypto/darkbot-ai-templates/stargazers)
[![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE)
[![Products](https://img.shields.io/badge/templates-17-green)]()
[![Tests](https://img.shields.io/badge/tests-65%2B-green)]()
[![Docker](https://img.shields.io/badge/docker-ready-blue)]()
[![Payment](https://img.shields.io/badge/payment-BTC%20%7C%20USDT%20%7C%20ETH%20%7C%20XMR-orange)]()

> Python developer with 5+ years experience. Telegram bots, web scrapers, AI automation, CDP browser automation, blockchain, .onion development.

🌐 **Live Portfolio**: [ameobius.github.io/darkbot-ai-templates](https://ameobius.github.io/darkbot-ai-templates)

📺 **Telegram Channel**: [@darkbot_ai_templates](https://t.me/darkbot_ai_templates)

💬 **Order Bot**: [@darkbot_ai_bot](https://t.me/darkbot_ai_bot)

## 📦 Templates

| # | Template | Description | Price | Custom |
|---|---|---|---|---|
| 1 | [Telegram Bot](tg-bot-template/) | AI, FSM, inline keyboards, OpenAI, SQLite | $49 | $199 |
| 2 | [Web Scraper](web-scraper-template/) | Anti-detection, proxy rotation, CF bypass | $39 | $149 |
| 3 | [AI Automation Agent](ai-automation-template/) | OpenAI, email auto-reply, CRM, n8n | $59 | $249 |
| 4 | [CDP Browser Automation](cdp-automation-template/) | Chrome DevTools, mouse events, Vue/React | $79 | $299 |
| 5 | [Solidity ERC20+Presale](solidity-template/) | OpenZeppelin, whitelist, Foundry | $69 | $279 |
| 6 | [FastAPI Backend](fastapi-template/) | JWT auth, SQLite, CRUD, WebSocket | $49 | $199 |
| 7 | [Discord Bot](discord-bot-template/) | Slash commands, music, polls, moderation | $49 | $199 |
| 8 | [Proxy Rotation](proxy-rotation-template/) | Health checks, failover, SOCKS5 | $39 | $149 |
| 9 | [Email Scraper](email-scraper-template/) | Recursive crawl, validate, CSV/JSON | $39 | $149 |
| 10 | [WhatsApp Bot](whatsapp-bot-template/) | Baileys, commands, rate limit, media | $59 | $249 |
| 11 | [N8N Workflow](n8n-workflow-template/) | AI lead qualification pipeline | $49 | $199 |
| 12 | [TG Channel Scraper](tg-channel-scraper/) | Keyword monitor, analytics, export | $49 | $199 |
| 13 | [Captcha Solver](captcha-solver-template/) | reCAPTCHA, hCaptcha, Turnstile, Yandex | $79 | $299 |
| 14 | [Crypto Payment Gateway](crypto-payment-template/) | BTC/USDT/ETH/XMR, invoices, webhooks | $69 | $279 |
| 15 | [Tor Hidden Service](tor-hidden-service-template/) | v3 onion, nginx, hardening, Docker | $89 | $349 |
| 16 | [Tor Market Scraper](tor-market-scraper/) | .onion monitoring, price tracking | $69 | $279 |
| 17 | [Crypto Trading Bot](crypto-trading-bot/) | Binance/OKX/Bybit, arbitrage, RSI | $79 | $299 |
| 18 | [Tor .onion Marketplace](onion-marketplace-script/) — listings, escrow, XMR/BTC | $99 | $399 |
| **Bundle** | **[All 18 + 2h customization](https://t.me/darkbot_ai_bot)** | **Everything above** | **$199** | — |

## 🔥 Bundle — All 18 + 2h Customization = $199

## 🛠 Custom Development

- Telegram bots (aiogram, Telethon) — from $50
- Web scraping (Playwright, Selenium) — from $50
- API integrations — from $100
- AI/LLM agents (OpenAI, Claude, n8n) — from $150
- CDP browser automation — from $100
- .onion development (Tor hidden services) — from $200
- Smart contracts (Solidity, DeFi) — from $150
- Backend/API (FastAPI, Django) — from $100


## 🎮 Interactive Demos

Every template includes a runnable demo (no API keys needed):

```bash
# Telegram Bot demo
python tg-bot-template/demo.py

# Web Scraper demo
python web-scraper-template/demo.py

# Crypto Trading Bot demo (fetches live BTC price!)
python crypto-trading-bot/demo.py

# FastAPI Backend demo
python fastapi-template/demo.py

# CDP Automation demo
python cdp-automation-template/demo.py
```

All 17 templates have demos. Run any of them to see the template in action.

## 📊 Repo Stats

- 17 templates + 17 demos
- CI passing (GitHub Actions)
- MIT License
- 20 GitHub topics
- Release v1.0.0

## 📝 Blog

- [Building a Telegram Bot with AI](https://ameobius.github.io/darkbot-ai-templates/blog/building-telegram-bot-with-ai.html)
- [Web Scraping with Anti-Detection](https://ameobius.github.io/darkbot-ai-templates/blog/web-scraping-anti-detection.html)
- [Crypto Trading Bot Basics](https://ameobius.github.io/darkbot-ai-templates/blog/crypto-trading-bot-basics.html)
- [Deploying a Tor Hidden Service](https://ameobius.github.io/darkbot-ai-templates/blog/deploying-tor-hidden-service.html)
- [FastAPI JWT Authentication](https://ameobius.github.io/darkbot-ai-templates/blog/fastapi-jwt-authentication.html)


## 🚀 GitHub Codespaces

Try templates in your browser — no install needed:

1. Click **Code** → **Codespaces** → **Create**
2. Run: `python tg-bot-template/demo.py`
3. Python 3.11 + Docker + pytest pre-installed

## 🔗 GitHub Action

Use templates in your CI/CD:

```yaml
- uses: aaameobius-crypto/darkbot-ai-templates/.github/actions/setup-templates@main
  with:
    template: tg-bot
    destination: ./bot/
```

60 products available: `tg-bot`, `web-scraper`, `ai-agent`, `cdp`, `solidity`, `fastapi`, `discord`, `proxy`, `email`, `whatsapp`, `n8n`, `tg-scraper`, `captcha`, `crypto-pay`, `tor`, `tor-scraper`, `trading`, `marketplace`

## 💡 Examples

Real-world usage scenarios in [`examples/`](examples/):

1. **Freelance TG Bot** — online store bot (4-6h vs 20-30h from scratch)
2. **Scraping Service** — 10k leads ($117 vs $500+)
3. **DeFi Token Launch** — ERC20 + presale (1 weekend vs 2-3 weeks)
4. **.onion Deployment** — marketplace (1 day vs 1-2 weeks)
5. **AI Automation Agency** — $200-800/client (2-4h vs 20-40h)

## 🏆 Bounty Contributions

This repo has been used to solve 81 bounty issues across GitHub:

- **ClankerNation/OpenAgents**: 26 fixes (API + Solidity + SDK) — $131,700
- **ai-research**: 27 security fixes (SQLi, JWT, XXE, RCE...) — $1,620+ HONEY
- **TentOfTrials**: 14 fixes (tests, validation, parsers) — $312
- **Nexussyn**: 4 fixes (pricing, referral, upsell, content) — $40 USDC
- **Other repos**: 10 fixes — $315

**Total bounty potential: $162,187+**


## New Products (v2.0)

| # | Product | Price | Tests |
|---|---------|-------|-------|
| 19 | Bounty Hunter Toolkit | $49 | 5 |
| 20 | MCP Server Template | $59 | 7 |
| 21 | AI Prompt Pack | $39 | 7 |
| 22 | CDP Toolkit | $79 | 10 |
| 23 | Web Scraper Pro | $49 | 12 |
| 24 | Rate Limiter Middleware | $49 | 11 |
| 25 | Security Audit Toolkit | $69 | 11 |
| 26 | Discord Bot v2 | $49 | 11 |
| 27 | Webhook Server | $49 | 11 |
| 28 | Crypto Wallet Monitor | $59 | 11 |
| 29 | Email Campaign Automation | $59 | 11 |
| 30 | Log Analyzer | $49 | 12 |
| 31 | API Key Manager | $49 | 13 |
| 32 | Notification Hub | $49 | 12 |
| 33 | Config Validator | $49 | 14 |
| 34 | Task Queue System | $49 | 13 |
| 35 | DB Migration Tool | $49 | 13 |
| 36 | Health Check Monitor | $49 | 14 |
| 37 | File Watcher | $39 | 12 |
| 38 | Metrics Collector | $49 | 16 |
| 39 | Cache Layer | $49 | 18 |
| 40 | Feature Flag Manager | $59 | 18 |
| 41 | Secret Manager | $59 | 16 |
| 42 | Pagination Helper | $39 | 15 |
| 43 | AB Testing Framework | $59 | 15 |
| 44 | Cron Scheduler | $49 | 19 |
| 45 | State Machine | $49 | 18 |
| 46 | JSON-RPC Server | $49 | 18 |
| 47 | DI Container | $59 | 16 |
| 48 | Event Bus | $49 | 17 |
| 49 | Retry and Circuit Breaker | $59 | 16 |
| 50 | Content Generator | $49 | 16 |
| 51 | GraphQL Client | $49 | 16 |
| 52 | WebSocket Server | $49 | 18 |
| 53 | API Gateway | $59 | 20 |
| 54 | Markdown Converter | $39 | 20 |
| 55 | URL Shortener | $49 | 20 |
| 56 | Data Validator | $49 | 20 |
| 57 | Async Task Runner | $49 | 17 |
| 58 | OAuth2 Client | $59 | 19 |
| 59 | HTML Template Engine | $49 | 20 |
| 60 | CLI Argument Parser | $39 | 19 |

**Bundle: $549** (all 30 + 2h customization)

## ⭐ Star History

[![Star History Chart](https://api.star-history.com/svg?repos=aaameobius-crypto/darkbot-ai-templates&type=Date)](https://star-history.com/#aaameobius-crypto/darkbot-ai-templates&Date)

## 💬 Contact

- Telegram: [@darkbot_ai_bot](https://t.me/darkbot_ai_bot) or [@ameobius](https://t.me/ameobius)
- Channel: [@darkbot_ai_templates](https://t.me/darkbot_ai_templates)
- Payment: BTC / USDT / ETH / XMR

## ⚡ Quick Install

```bash
curl -sL https://raw.githubusercontent.com/aaameobius-crypto/darkbot-ai-templates/main/install.sh | bash
```

Or clone manually:
```bash
git clone https://github.com/aaameobius-crypto/darkbot-ai-templates.git
cd darkbot-ai-templates
python tg-bot-template/demo.py  # Try any demo — no API keys needed!
```

## 🔧 Quick Start (Make)

Every template has a Makefile:

```bash
cd tg-bot-template
make install  # pip install -r requirements.txt
make demo     # Run demo (no API keys needed)
make run      # Run template
make docker   # Build and run in Docker
```

## 🐳 Docker Support

Every template includes a Dockerfile. Deploy with one command:

```bash
cd tg-bot-template
cp .env.example .env  # Add your tokens
docker-compose up -d  # Bot running!
```

```bash
cd fastapi-template
cp .env.example .env
docker-compose up -d  # API at localhost:8000/docs
```

## 🏗 Architecture

See [ARCHITECTURE.md](ARCHITECTURE.md) for design principles, template structure, and CI pipeline.

## 🌐 Links

- [Portfolio](https://ameobius.github.io/darkbot-ai-templates)
- [GitHub](https://github.com/aaameobius-crypto/darkbot-ai-templates)
