Folder Structure Generator is a tool that allows users to generate elegant folder structure visualizations from any GitHub repository.
- Fetches and displays folder structure from public GitHub repositories.
- Provides a clean markdown output.
- Copy or download the generated folder structure.
- User-friendly UI with Tailwind CSS.
fostgen/
├─ public
│ ├─ favicon.png
│ ├─ file.svg
│ ├─ fostgen.png
│ ├─ globe.svg
│ ├─ next.svg
│ ├─ vercel.svg
│ └─ window.svg
├─ src
│ ├─ app
│ │ ├─ favicon.ico
│ │ ├─ globals.css
│ │ ├─ layout.tsx
│ │ └─ page.tsx
│ ├─ components
│ │ ├─ Header.tsx
│ │ ├─ InputForm.tsx
│ │ ├─ Notification.tsx
│ │ └─ OutputDisplay.tsx
│ └─ utils
│ └─ githubApi.ts
├─ .gitignore
├─ eslint.config.mjs
├─ LICENCE
├─ next.config.ts
├─ package-lock.json
├─ package.json
├─ postcss.config.mjs
├─ README.md
├─ tsconfig.json
└─ turbo.json
-
Clone the repository:
git clone https://github.com/idugeni/fostgen.git
-
Navigate to the project directory:
cd fostgen
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
- Open the application in your browser.
- Enter a valid GitHub repository URL.
- Click on
"Generate Structure"
to fetch and display the folder structure. - Copy or download the generated markdown file.
Contributions are welcome! Follow these steps:
-
Fork the repository.
-
Create a new branch:
git checkout -b feature-branch
-
Make your changes and commit them:
git commit -m "Add new feature"
-
Push to your forked repository:
git push origin feature-branch
-
Create a Pull Request.
This project is licensed under the MIT License. See the LICENSE file for details.