WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

mintesnotm23/MyCodeAnalyzerBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyCodeAnalyzerBot

MyCodeAnalyzerBot is a Telegram bot that analyzes code files. Users can upload their code, and the bot reviews the file using Hugging Face APIs to provide feedback on structure, readability, and best practices.

Features

  • Upload a code file to Telegram and receive a detailed analysis.
  • Supports various file types like .js, .ts, .py, etc.
  • Uses Hugging Face models for analysis and insights.
  • Simple and intuitive interaction via Telegram.

Technology Stack

  • Node.js for the backend.
  • TypeScript for type safety.
  • Telegram Bot API for user interactions.
  • Hugging Face API for AI-based code analysis.

Installation

Prerequisites

Setup

  1. Clone the repository:

    git clone  https://github.com/jamyMarkos/MyCodeAnalyzerBot
    cd MyCodeAnalyzerBot
  2. Install dependencies:

    npm install
  3. Configure your environment in a .env file:

    TELEGRAM_TOKEN=your-telegram-bot-token
    HUGGINGFACE_API_TOKEN=your-huggingface-api-token
  4. Start the bot:

    npm run start

File Processing

  • Files uploaded to the bot are analyzed by Hugging Face and deleted after processing to avoid storage issues.

License

This project is licensed under the MIT License.

About

MyCodeAnalyzerBot provides AI-powered code analysis and reviews!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published