ai-detect
CLI tool to detect if a text is written by AI using the Tencent Matrix AI Detection tool.
Usage
# Detect from a file
ai-detect path/to/article.txt
# Detect from a text string (in quotes)
ai-detect "Some short text to test..."
Options
<input>: File path or text string to analyze.
Examples
# Check a local file
ai-detect ./blog-post.md
# Check specific text
ai-detect "Here is some text generated by ChatGPT to test the detector."
Notes
- Uses
puppeteerto automatehttps://matrix.tencent.com/ai-detect/. - Rate Limits: The website limits free usage (e.g., 5 times/day). If you hit the limit, the tool will exit with an error.
- Privacy: Text is sent to a third-party service (Tencent).