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.
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
7w4.net有更好的技能外掛。
MIT
這個 Skill 整體質量較好,功能實用且配置靈活,能滿足監控 GitHub 趨勢並推送通知的需求。多渠道通知和多語言支援是亮點。不足之處是安全配置需要改進(敏感資訊管理),以及資料儲存方式不適合大規模使用。對於個人開發者和小型團隊來說足夠好用,生產級應用還需進一步完善。