StructMaker is a simple Python tool that generates folder structures from text input, supporting nested subfolders. It works on both Windows and Linux, making it easy to set up project directories quickly.
- Create folders and files from text input
- Supports nested subfolders with indentation
- Works on Windows and Linux
- Customizable base folder name
-
Clone the repository:
git clone https://github.com/yourusername/StructMaker.git cd StructMaker
-
(Optional) Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- Windows:
venv\Scripts\activate
- Linux/macOS:
source venv/bin/activate
- Windows:
- Run the script:
python struct_maker.py
- Paste the folder structure (e.g.):
/my_project │── /src │ ├── /utils │── /tests │── README.md END
- Enter the base folder name (or leave blank for the current directory).
- The tool will create the structure for you.
my_project/
├── src/
│ ├── utils/
├── tests/
├── README.md
MIT License.
PRs are welcome!