Struct AI transforms repositories and raw source code into clean, production-ready README files. Upload a ZIP or paste code — Struct analyzes your project structure and generates polished markdown documentation using Gemini API.
Prerequisites: Node.js 18+, a Gemini API key
# Clone the repo
git clone https://github.com/ash1shkumar/struct.git
cd struct
# Install dependencies
npm install
# Set up environment
cp .env.example .env
# → Add your GEMINI_API_KEY to .env
# Start the server
npm startOpen http://localhost:3000 in your browser.
- Upload a
.ziprepository or paste raw source code - Select Concise or Detailed documentation style
- Click Generate Documentation
- Copy or download your
README.md
struct/
│
├── public/
│ ├── struct.png
│ └── bg_no_logo.png
│
├── src/
│ ├── script.js
│ └── style.css
│
├── server/
│ └── server.js
│
├── index.html
├── .env.example
├── .gitignore
├── package.json
└── package-lock.json- Fork the repository
- Create your feature branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -m 'Add your feature') - Push to the branch (
git push origin feature/your-feature) - Open a Pull Request
Distributed under the MIT License. See LICENSE for details.
Built by Ashish Kumar
