

This is a CLI tool that retrieves text directly embedded in source code.
123
Automatically translated from Japanese by AI
This is a CLI tool that detects and lists hardcoded text within source code.
By default, it outputs information for humans, but it can also output in JSON for machines, and can output Exit Codes, making it easy to integrate into CI/CD pipelines.
Internally, it first roughly detects strings enclosed in "double quotation marks", 'single quotation marks', or バッククォート, narrows down the candidates, and then uses tree-sitter AST to obtain more precise information.
This app was created with the philosophy of "it's better to output candidates just in case rather than miss something." In other words, it prioritizes false positives.
It supports multiple programming languages including Rust, Python, JS/TS, Go, C#, and others.
# Windows (PowerShell)
irm https://raw.githubusercontent.com/DovahkiinYuzuko/txthc-cli/main/install.ps1 | iex→ For Linux/Mac
# Linux / macOS (bash)
curl -fsSL https://raw.githubusercontent.com/DovahkiinYuzuko/txthc-cli/main/install.sh | bash# 基本の使い方
txthc <ファイルパス>
# ヘルプの表示
txthc --help
# 最新リリースへ更新(確認あり)
txthc update
# アンインストール(確認あり)
txthc uninstall
Reactions & commentsFeedback
Share your thoughts, bug reports, or suggestions directly with the developer
Log in to share your feedback
Log in to leave feedback