Monitor GitHub trending repositories by language and time range, receiving daily alerts via Telegram, Discord, or Email with pay-per-use pricing.
Monitor GitHub trending repositories and receive daily notifications.
Fetch current GitHub trending repositories.
Query Parameters:
language (optional): Programming language filtersince (optional): Time range - daily, weekly, monthlyExample:
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
MIT
ZIP package — ready to use