A Telegram bot that provides GitHub profile and repository statistics via inline queries.
- Profile Search: Type
@bot username(e.g.,@your_bot octocat). - Repository Search: Type
@bot user/repo(e.g.,@your_bot google/go-github). - Visuals: Displays GitHub Streak cards for profiles and key metrics (stars, forks, etc.) for repositories.
- Clone the repository:
git clone https://github.com/ashleybeloved/github-checker-bot.git cd github-checker-bot - Configure environment variables:
TELEGRAM_TOKEN=your_telegram_bot_token GITHUB_TOKEN=your_github_personal_access_token
- Run the bot:
go run main.go
To enable inline mode:
- Open @BotFather
- Go to Edit Bot > Inline Mode
- Click Turn On
