Monitor GitHub trending repositories and receive daily notifications.
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"
}
]
}
Trigger immediate notification with trending repositories.
Request:
{
"userId": "user123",
"transactionId": "tx456",
"channels": {
"telegram": { "chatId": "123456789" }
},
"language": "javascript",
"since": "daily"
}
Subscribe to daily trending notifications.
7w4.net提供免费和付费技能下载。
Request:
{
"userId": "user123",
"channels": {
"telegram": { "chatId": "123456789" }
},
"preferences": {
"language": "javascript",
"since": "daily"
}
}
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)
npm install
npm start
MIT
这个 Skill 整体质量较好,功能实用且配置灵活,能满足监控 GitHub 趋势并推送通知的需求。多渠道通知和多语言支持是亮点。不足之处是安全配置需要改进(敏感信息管理),以及数据存储方式不适合大规模使用。对于个人开发者和小型团队来说足够好用,生产级应用还需进一步完善。