Get code statistics and badges for any Git repository using tokei.
For detailed information about badges, visit our badges documentation.
You can directly access GitHub repositories using the following format:
https://tokei.kojix2.net/github/:owner/:repo
For example, to analyze the Crystal language repository:
https://tokei.kojix2.net/github/kojix2/tokei-api
This allows you to access analysis results directly without having to input the repository URL.
tokei-api provides a consistent RESTful API for analyzing code statistics in Git repositories.
The API allows you to: