GitHub Trending Monitor

👤 zhdryanchang 📦 v1.0.0 ⭐ 4.2 ⬇️ 1.1K 下载
💻 开发编程 免费 🔑 需 API Key

📖 技能介绍

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.

7w4.net提供免费和付费技能下载。

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

🤖 AI 评测

这个 Skill 整体质量较好,功能实用且配置灵活,能满足监控 GitHub 趋势并推送通知的需求。多渠道通知和多语言支持是亮点。不足之处是安全配置需要改进(敏感信息管理),以及数据存储方式不适合大规模使用。对于个人开发者和小型团队来说足够好用,生产级应用还需进一步完善。

📊 多维度评分

适应性4.2
规范性4.1
有效性4.2
可靠性4.4
可信度4.3

📁 包含文件 (16 个)

📄 PROJECT_SUMMARY.md 5.7 KB
📄 README.md 2.6 KB
📄 SKILL.md 2 KB
📄 START_HERE.txt 5.6 KB
📄 _meta.json 142 B
📄 package.json 799 B
📄 skill-card.md 2.7 KB
📄 skill.json 1.3 KB
📄 src/index.js 9.3 KB
📄 src/notifiers/discord.js 2.3 KB
📄 src/notifiers/email.js 4.6 KB
📄 src/notifiers/telegram.js 3.3 KB
📄 src/payment.js 2.5 KB
📄 src/scheduler.js 1.4 KB
📄 src/scrapers/github.js 5.2 KB
📄 test.js 2.8 KB