Skip to content

[Provider] Add tokei - code statistics / line counter #663

@loonghao

Description

@loonghao

Add tokei provider

Tool Information

Description

tokei is a program that shows statistics about your code. It counts lines of code, comments, and blanks by language.

Key features:

  • Supports 300+ programming languages
  • Fast (Rust-based, handles millions of lines)
  • Output in multiple formats (terminal, JSON, CBOR, YAML)
  • Respects .gitignore
  • Can sort by language, lines, files, blanks, comments

Why Add to vx?

  • Standard tool for quick project size assessment
  • Used in CI/CD for code metrics
  • Replaces cloc with much better performance
  • Cross-platform: macOS, Linux, Windows

Implementation Notes

  • Binary name: tokei
  • GitHub releases follow Rust target triple naming
  • Use github_rust_provider template
  • Asset pattern: tokei-{os}-{arch}.{ext} or similar

References

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions