Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rsaryev/ai-detector
AI Detector is a command-line tool designed to analyze code and determine the likelihood that it was generated by an AI model
https://github.com/rsaryev/ai-detector
bun nodejs openai
Last synced: about 1 month ago
JSON representation
AI Detector is a command-line tool designed to analyze code and determine the likelihood that it was generated by an AI model
- Host: GitHub
- URL: https://github.com/rsaryev/ai-detector
- Owner: rsaryev
- Created: 2024-04-10T21:39:12.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-11T19:45:30.000Z (9 months ago)
- Last Synced: 2024-11-10T04:46:48.013Z (about 2 months ago)
- Topics: bun, nodejs, openai
- Language: JavaScript
- Homepage:
- Size: 511 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![npm](https://img.shields.io/npm/v/ai-detector)](https://www.npmjs.com/package/ai-detector)
[![Node.js Package](https://github.com/rsaryev/ai-detector/actions/workflows/npm-publish.yml/badge.svg)](https://github.com/rsaryev/ai-detector/actions/workflows/npm-publish.yml)
[![MIT License](https://img.shields.io/badge/license-MIT-blue)](https://github.com/transitive-bullshit/chatgpt-api/blob/main/license)
[![ai-detector npm downloads](https://img.shields.io/npm/dt/ai-detector)](https://www.npmjs.com/package/ai-detector)# 🧠AI Detector
AI Detector is a command-line tool designed to analyze code and determine the likelihood that it was generated by an AI model. It leverages the power of OpenAI's API to evaluate code samples. Currently, the tool uses a general-purpose model, but it's expected that a specialized model for detecting AI-generated code will be introduced in the future, which will enhance the accuracy of the tool.
## Usage
```bash
npx ai-detector [options]
or
bunx ai-detector [options]
```## Options
```bash
Options:
-V, --version output the version number
-f, --file Analyze the specified file
-d, --dir Analyze the specified directory
-r, --reset Reset the configuration
-h, --help display help for command
```