SkillHub

github-trending-monitor

v1.0.0

监控 GitHub 趋势仓库,支持按语言和时间范围筛选,每日推送至 Telegram、Discord 或邮箱,按量付费。

Sourced from ClawHub, Authored by zhdryanchang

Installation

Please help me install the skill `github-trending-monitor` from SkillHub official store. npx skills add zhdryanchang/github-trending-monitor

GitHub Trending Monitor

Monitor GitHub trending repositories and receive daily notifications.

Features

  • 🔥 Real-time monitoring of GitHub trending repositories
  • 🌍 Filter by programming language (JavaScript, Python, Go, Rust, etc.)
  • 📅 Time ranges: Daily, weekly, or monthly trends
  • 📱 Multi-channel notifications: Telegram, Discord, Email
  • ⏰ Scheduled daily reports
  • 💰 Pay-per-use: 0.001 USDT per call

API Endpoints

Fetch current GitHub trending repositories.

Query Parameters: - language (optional): Programming language filter - since (optional): Time range - daily, weekly, monthly

Example:

curl "http://localhost:3000/trending?language=javascript&since=daily"

Response:

{
  "success": true,
  "data": [
    {
      "name": "awesome-project",
      "author": "github-user",
      "description": "An awesome project",
      "language": "JavaScript",
      "stars": 1234,
      "forks": 567,
      "todayStars": 89,
      "url": "https://github.com/github-user/awesome-project"
    }
  ]
}

POST /notify

Trigger immediate notification with trending repositories.

Request:

{
  "userId": "user123",
  "transactionId": "tx456",
  "channels": {
    "telegram": { "chatId": "123456789" }
  },
  "language": "javascript",
  "since": "daily"
}

POST /subscribe

Subscribe to daily trending notifications.

Request:

{
  "userId": "user123",
  "channels": {
    "telegram": { "chatId": "123456789" }
  },
  "preferences": {
    "language": "javascript",
    "since": "daily"
  }
}

Configuration

Required environment variables: - SKILLPAY_API_KEY: SkillPay API key (required) - TELEGRAM_BOT_TOKEN: Telegram bot token (optional) - DISCORD_WEBHOOK_URL: Discord webhook URL (optional) - EMAIL_USER/EMAIL_PASS: SMTP credentials (optional)

Installation

npm install
npm start

Pricing

  • 0.001 USDT per API call
  • Automatic settlement via SkillPay.me

License

MIT