Skip to content
The tokei.rs server code.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
Cargo.lock
Cargo.toml
README.md
cron
initdb.sql
setup
tokei_rs.service

README.md

tokei.rs badge service

tokei.rs has support for badges. For example .

[![](https://tokei.rs/b1/github/Aaronepower/tokei_rs)](https://github.com/Aaronepower/tokei_rs).

Tokei's URL scheme is as follows.

https://tokei.rs/<host>/<namespace>/<name>
  • host: either github or gitlab.
  • namespace: The namespace of the repo. eg. rust-lang or Aaronepower.
  • name: the name of the repo eg. rust or tokei.

By default the badge will show the repo's LoC(Lines of Code), you can also specify for it to show a different category, by using the ?category= query string. It can be either code, blanks, files, lines, or comments. Here is an example showing total number of lines. .

[![](https://tokei.rs/b1/github/Aaronepower/tokei?category=lines)](https://github.com/Aaronepower/tokei).
You can’t perform that action at this time.