Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```