Skip to content

A tool that automatically analyzes codebases and generates clear, structured README files. Helps developers quickly document, and maintain their projects.

Notifications You must be signed in to change notification settings

LakshitAgarwal/Readme-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 README Generator Project

This project is a comprehensive solution for automating the analysis and documentation of codebases. It utilizes a large language model (LLM) to select important files, summarize their content, and generate a README document. The project aims to simplify the process of understanding and documenting complex codebases, making it easier for developers to collaborate and maintain their projects.

🚀 Key Features

  • Automated File Selection: Uses an LLM to identify the most relevant files in a codebase.
  • File Summarization: Generates concise summaries of each selected file's content.
  • README Generation: Compiles the summaries into a comprehensive README document.
  • LLM Fallback Mechanism: Ensures reliability by rotating through multiple LLM providers and API keys.
  • Modular Design: Allows for easy integration with other tools and services.

📸 Working

demo-1-1752783312121.1.1.1.mp4
Screenshot 2025-06-24 at 6 08 38 PM Screenshot 2025-06-24 at 6 08 38 PM

🛠️ Tech Stack

  • Frontend: Next.js, React, Tailwind CSS
  • Backend: Express.js, Node.js, Python
  • LLM Providers: Gemini, Groq
  • Utilities: langgraph, google.generativeai, langchain, dotenv, groq
  • Database: Not specified

📦 Installation

To set up the project, follow these steps:

  1. Prerequisites: Ensure you have Node.js and Python installed on your system.
  2. Clone the Repository: Run git clone https://github.com/your-repo-url.git to download the project.
  3. Install Dependencies: Navigate to the project directory and run npm install for the frontend and pip install -r requirements.txt for the backend.
  4. Configure Environment Variables: Set up your environment variables for API keys and other configurations.

💻 Usage

  1. Start the Backend: Run node server.js to start the Express server.
  2. Start the Frontend: Run npm run dev to start the Next.js development server.
  3. Interact with the Application: Open your web browser and navigate to http://localhost:3000 to use the application.
  4. Testing sync

📂 Project Structure

project/
├── frontend/
│   ├── app/
│   │   ├── layout.tsx
│   │   ├── page.tsx
│   │   └── ...
│   ├── lib/
│   │   ├── config.ts
│   │   ├── utils.ts
│   │   └── ...
│   ├── next.config.ts
│   ├── package.json
│   └── ...
├── backend/
│   ├── src/
│   │   ├── server.ts
│   │   ├── routes/
│   │   │   ├── readme.ts
│   │   │   └── ...
│   │   ├── utils/
│   │   │   ├── make-dir.ts
│   │   │   ├── clone-repo.ts
│   │   │   └── ...
│   │   ├── python/
│   │   │   ├── agents.py
│   │   │   ├── llm_fallback.py
│   │   │   ├── prompts.py
│   │   │   └── ...
│   │   └── ...
│   ├── package.json
│   └── ...
├── .env
├── README.md
└── ...

🤝 Contributing

Contributions are what make the open-source community such an amazing place to learn and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📬 Contact

@LakshitAgarwal - lakshit7811@gmail.com

Thanks

This project was made possible thanks to the contributions of many individuals and the support of our community. This is written by readme.ai for better documentation.

About

A tool that automatically analyzes codebases and generates clear, structured README files. Helps developers quickly document, and maintain their projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •