git clone https://github.com/linksplatform/Bot
cd Bot/csharp/Bot
dotnet restore
For the bot to work, you need to get a token. You can do this here: https://github.com/settings/tokens/new.
dotnet run NICKNAME TOKEN APP_NAME [LINKS_DB] [FILE_SET_NAME] [MINIMUM_INTERACTION_INTERVAL]NICKNAME- A username.TOKEN- A GitHub access token.- A name of your GitHub App.
- Path to a database file. Default:
db.links - File set name. Default:
HelloWorldSet.
dotnet run MyNickname ghp_123 MyAppName db.links HelloWorldSet./run.sh NICKNAME TOKEN APP_NAMEThe bot responds to GitHub issues with specific triggers:
- Hello World: Create issues with title "hello world" to test the bot
- Organization Last Month Activity: Create issues with title "organization last month activity" to get member activity
- Top by Technology: Create issues with title "Top by technology [TECHNOLOGY_NAME]" to get users ranked by their activity with specific technologies
The "Top by technology" feature analyzes repositories in your organization and ranks users based on:
- Commit activity in repositories that contain the specified technology
- Overall contribution activity weighted by technology usage
- Repository language analysis and file patterns
Example usage:
- "Top by technology CUDA" - Find users working with CUDA
- "Top by technology Qt" - Find users working with Qt
- "Top by technology Docker" - Find users working with Docker
- "Top by technology React" - Find users working with React
The bot will analyze the last 3 months of activity and return the top 10 contributors for the specified technology.