Avbuzz
by @zxcnny930
Query AV new releases, rankings, and actress info from FANZA GraphQL API. No authentication required. Supports direct curl queries and optional Discord/Teleg...
All settings in config.json:
{
"discord": {
"token": "YOUR_DISCORD_BOT_TOKEN",
"guildId": "YOUR_GUILD_ID",
"channelId": "YOUR_CHANNEL_ID"
},
"telegram": {
"botToken": "YOUR_TELEGRAM_BOT_TOKEN",
"chatId": "YOUR_CHAT_ID"
},
"schedule": {
"dailyPushHourJST": 0,
"dailyPushMinuteJST": 5,
"actressCheckIntervalHours": 6
}
}
Discord Setup
1. Create app at discord.com/developers โ Bot tab โ Add Bot โ copy Token
2. OAuth2 โ URL Generator โ scopes: bot โ permissions: Send Messages, Embed Links โ invite bot
3. Right-click server โ Copy Server ID (enable Developer Mode first)
4. Right-click channel โ Copy Channel ID
Telegram Setup (Optional)
1. Message @BotFather on Telegram โ /newbot โ copy Token
2. Send a message, then visit https://api.telegram.org/bot โ find chat.id
3. Leave both fields empty to run Discord-only
Discord Slash Commands
| Command | Description |
|---------|-------------|
| /new [date] | New releases for date (default: today JST) |
| /today | Today's trending (by sales rank) |
| /ranking | Top 10 by category |
| /search | Search by actress, title, code |
| /track | Track actress โ alerts on new releases |
| /untrack | Stop tracking |
| /tracklist | Show all tracked actresses |
| /random | Random video recommendation |
| /status | System status and API health check |
| /code | Exact video code lookup (e.g., SSIS-001) |
| /digest | Weekly top picks (rating, bookmark, sales) |
Scheduling
| Task | Frequency | Description | |------|-----------|-------------| | Daily Digest | Once/day (configurable JST time) | Top 20 new releases โ Discord + Telegram | | Actress Check | Every 6h (configurable) | New releases for tracked actresses โ alerts | | Weekly Digest | Sunday JST 20:00 | Top rated, bookmarked, best-selling โ Discord + Telegram |
VPS Deployment (systemd)
ssh root@your-vps.com
git clone https://github.com/zxcnny930/avbuzz.git /root/avbuzz
cd /root/avbuzz && npm install
cp config.example.json config.json && nano config.json
Create /etc/systemd/system/avbuzz.service:
[Unit]
Description=AVBUZZ Discord Bot
After=network.target[Service]
Type=simple
WorkingDirectory=/root/avbuzz
ExecStart=/usr/bin/node src/index.js
Restart=always
RestartSec=10
[Install]
WantedBy=multi-user.target
systemctl daemon-reload && systemctl enable avbuzz && systemctl start avbuzz
journalctl -u avbuzz -f # View logs
Reconfiguring
nano config.json && systemctl restart avbuzz
clawhub install avbuzz