This guide will help you set up and use the Automanic template repository system.
git clone https://github.com/UniversalStandards/automanic.git
cd automanic
<!-- AUTOMANIC-CONFIG-START -->
PROJECT_TYPE: web-app
LANGUAGE: python
FRAMEWORK: fastapi
BUILD_SYSTEM: pip
DATABASE: postgresql
DEPLOYMENT: docker
CI_CD: github-actions
TESTING: pytest
LICENSE_TYPE: mit
VISIBILITY: public
<!-- AUTOMANIC-CONFIG-END -->
# Your Project Title
Your project description...
./scripts/setup.sh
If you prefer a guided setup process:
./scripts/interactive-setup.sh
This will walk you through each configuration option and generate the appropriate project structure.
All fields in the AUTOMANIC-CONFIG block are required:
| Field | Description | Valid Values |
|---|---|---|
PROJECT_TYPE |
Type of project | web-app, cli-tool, library, api, mobile-app, desktop-app, data-science, documentation |
LANGUAGE |
Programming language | python, javascript, typescript, go, rust, java, cpp, c, php, ruby, swift, kotlin, scala, r |
FRAMEWORK |
Framework to use | react, vue, angular, express, fastapi, django, spring, gin, actix, electron, flutter, pytorch, tensorflow, none |
BUILD_SYSTEM |
Build system | npm, yarn, pip, cargo, maven, gradle, make, cmake, none |
DATABASE |
Database system | postgresql, mysql, mongodb, redis, sqlite, none |
DEPLOYMENT |
Deployment platform | docker, kubernetes, aws, gcp, azure, vercel, netlify, heroku, none |
CI_CD |
CI/CD system | github-actions, jenkins, gitlab-ci, circleci, travis-ci, none |
TESTING |
Testing framework | jest, pytest, cargo-test, junit, go-test, rspec, none |
LICENSE_TYPE |
License type | mit, apache-2.0, gpl-v3, bsd-3-clause, unlicense, proprietary |
VISIBILITY |
Repository visibility | public, private |
Based on your configuration, Automanic creates:
your-project/
├── .github/
│ ├── workflows/ # CI/CD workflows
│ ├── ISSUE_TEMPLATE/ # Issue templates
│ ├── PULL_REQUEST_TEMPLATE.md
│ └── dependabot.yml
├── src/ # Source code
├── tests/ # Test files
├── docs/ # Documentation
├── scripts/ # Automation scripts
├── config/ # Configuration files
├── .gitignore # Git ignore rules
├── .editorconfig # Editor configuration
├── README.md # Project documentation
├── CONTRIBUTING.md # Contribution guidelines
├── SECURITY.md # Security policy
└── LICENSE # License file
Python Projects:
requirements.txt - Dependenciessetup.py - Package setuppyproject.toml - Build configuration.pre-commit-config.yaml - Pre-commit hookstox.ini - Testing configurationJavaScript/TypeScript Projects:
package.json - Dependencies and scriptstsconfig.json (TypeScript only).eslintrc.js - Linting configurationjest.config.js - Testing configurationGo Projects:
go.mod - Module definitionDockerfile - Container configurationMakefile - Build automationRust Projects:
Cargo.toml - Package configurationDockerfile - Container configurationGitHub Actions Workflows:
ci.yml - Continuous Integrationauto-management.yml - Issue/PR automationauto-release.yml - Release automationsecurity.yml - Security scanningDevelopment Tools:
After generation, you can customize:
.github/workflows/docs/ and README.md.vscode/Python not found:
# Install Python 3.8+
# On macOS with Homebrew:
brew install python
# On Ubuntu/Debian:
sudo apt-get install python3 python3-pip
Permission denied on scripts:
chmod +x scripts/*.sh
Configuration block not found: Make sure your README.md contains the exact format:
<!-- AUTOMANIC-CONFIG-START -->
...configuration...
<!-- AUTOMANIC-CONFIG-END -->
Invalid configuration values: Check that all values match the valid options listed in the Configuration Options table.
You can create custom templates for specific project patterns:
templates/scripts/generate-structure.pyAdd custom GitHub Actions workflows:
.github/workflows/Automanic integrates with:
After setup:
For more detailed information, see: