Find answers to common questions about mkarchi. Can't find what you're looking for? Contact us.
mkarchi is a powerful command-line tool that generates complete project structures from tree-format text files. It's designed to bridge the gap between AI code generation and your local filesystem.
Think of it as "Architecture as Code" - you define your project structure in a simple, visual format, and mkarchi creates all the directories and files for you.
mkarchi requires Python 3.6+ and can be installed via pip:
pip install mkarchiTo upgrade to the latest version:
pip install --upgrade mkarchipip is Python's package installer and usually comes pre-installed with Python. To check if you have pip:
pip --versionIf pip is not installed, visit the official pip installation guide:
https://pip.pypa.io/en/stable/installation/We strongly recommend using v0.1.7 (the latest version).
v0.1.7 includes important new features:
-max=<kb> flag to control file size limits--no-max flag to include all file contents--no-ignore flag for complete project snapshotsUnless you have a specific reason to use v0.1.6, always install the latest version.
Older versions may contain:
Always use the latest stable version to get the best experience and access to all features.
These are the two main commands in mkarchi:
Reverse Engineering: Scans your existing project and generates a structure file. Use this to create templates or backups.
mkarchi give output.txtProject Generation: Reads a structure file and creates the project. Use this to build projects from templates.
mkarchi apply structure.txtYes! mkarchi automatically ignores common clutter like node_modules, .git, and __pycache__.
You can customize ignore patterns by creating a .mkarchiignore file in your project root. The syntax is identical to .gitignore:
# .mkarchiignore
node_modules
.env
*.log
dist/For more details, check the Configuration section.
Yes, mkarchi is safe, but follow these best practices:
Note: mkarchi will overwrite existing files if they're defined in the structure file. Always backup important work!
We're here to help! Here are your options:
We're here to help! Join our community or reach out directly.