Skip to content

b1ank1108/LLM-Star-Classifier

Repository files navigation

🌟 GitHub Star Repository Classifier

English | 中文

Cursor

Developed with Cursor

A tool that uses 🤖 AI to classify and summarize GitHub Star repositories.

✨ Features

  • 🔄 Automatically fetch GitHub Star repository information
  • 🤖 AI-powered repository classification and summarization
  • 📁 Multi-category management
  • 📝 Automatic documentation generation
  • ⚡ Concurrent processing support
  • 🔑 Multiple API Key rotation support

🚀 Installation

  1. Clone the repository:
git clone https://github.com/yourusername/llm-star-classifier.git
cd llm-star-classifier
  1. Install dependencies:
pip install -r requirements.txt
  1. Configuration:
    • Copy config.yaml.example to config.yaml
    • Fill in your GitHub Token and OpenAI API Key in config.yaml

📖 Usage

📥 Fetch Repository Information

python main.py fetch

🏷️ Classify Repositories

python main.py classify

🔄 Process Unclassified Repositories Only

python main.py classify -u

📝 Generate Classification Documentation

python main.py gen-readme

⚙️ Configuration

Configure the following information in config.yaml:

  • 🔑 GitHub Token: For accessing GitHub API
  • 🤖 OpenAI API Key: For AI classification
  • 💾 Database Path: Location to store repository information
  • 📁 Categories: Predefined classification list

🤝 Contributing

Issues and Pull Requests are welcome to help improve this project.

📄 License

MIT License

About

这是一个使用 🤖 AI 对 GitHub Star 的仓库进行分类和总结的工具。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages