An AI-powered Software Requirements Specification document generator that uses multiple specialized AI models to create comprehensive SRS documents.
- Web-based interface for inputting project details
- AI-powered generation of SRS sections
- Multiple specialized AI models for different aspects of requirements
- Markdown export functionality
- Docker support for easy deployment
-
Clone the repository:
git clone <repository-url> cd SRSGenerator
-
Create
.envfile from template:cp .env.example .env
Add your OpenRouter API key to the
.envfile. -
Build and run with Docker:
docker-compose up --build
-
Access the application at
http://localhost
-
Create and activate virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows: venv\Scripts�ctivate
-
Install dependencies:
pip install -r requirements.txt
-
Set up environment variables:
cp .env.example .env
Add your OpenRouter API key to the
.envfile. -
Run the development server:
./run.sh
-
Access the application at
http://localhost:5000
pytest tests/The project uses:
- Black for Python code formatting
- Flake8 for Python code linting
Format code:
black .Run linting:
flake8 .SRSGenerator/
├── backend/ # Flask backend
│ ├── ai/ # AI integration
│ ├── models/ # Database models
│ └── templates/ # Flask templates
├── frontend/ # Frontend assets
│ └── public/ # Static files
├── tests/ # Test suite
│ ├── unit/ # Unit tests
│ └── integration/ # Integration tests
├── nginx/ # Nginx configuration
├── Dockerfile # Production Docker config
└── docker-compose.yml # Docker composition
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
MIT License