Thank you for your interest in contributing to Marketing Agent! This document provides guidelines for contributing to the project.
If you find a bug, please create an issue with:
- Clear description of the bug
- Steps to reproduce
- Expected vs actual behavior
- Your environment (OS, Python version, etc.)
- Relevant logs or screenshots
We welcome feature suggestions! Please create an issue with:
- Clear description of the feature
- Use case and benefits
- Potential implementation approach (if you have ideas)
-
Fork the repository
-
Create a feature branch
git checkout -b feature/your-feature-name
-
Make your changes
- Follow the existing code style
- Add comments for complex logic
- Update documentation if needed
-
Test your changes
- Ensure existing functionality still works
- Test new features thoroughly
- Check for any errors or warnings
-
Commit your changes
git commit -m "Add: brief description of changes"Use conventional commit messages:
Add:for new featuresFix:for bug fixesUpdate:for improvementsDocs:for documentation changesRefactor:for code refactoring
-
Push to your fork
git push origin feature/your-feature-name
-
Create a Pull Request
- Provide a clear description of changes
- Reference any related issues
- Explain the rationale behind your approach
- Follow PEP 8 for Python code
- Use meaningful variable and function names
- Add docstrings to functions and classes
- Keep functions focused and modular
- Update README.md for user-facing changes
- Add inline comments for complex logic
- Update docstrings when changing function behavior
- Include examples for new features
- Test with different website types
- Verify brand DNA extraction accuracy
- Check image generation with various prompts
- Test error handling and edge cases
-
Clone the repository
git clone https://github.com/yourusername/marketing_agent.git cd marketing_agent -
Install dependencies
pip install -r requirements.txt playwright install
-
Set up API keys Create
api_secrets.py:MUAPIAPP_API_KEY = "your_key" FAL_KEY = "your_key"
-
Test your setup
python cli_marketing.py
We especially welcome contributions in these areas:
- Asset editing capabilities - In-app editing of generated assets
- Performance optimization - Faster generation and analysis
- Error handling - Better error messages and recovery
- Testing - Unit tests and integration tests
- Multi-language support - Support for non-English brands
- Template library - Pre-built campaign templates
- Export formats - Additional file format support
- Documentation - More examples and tutorials
- Analytics integration - Track campaign performance
- Social media scheduling - Direct posting capabilities
- Batch processing - Process multiple campaigns
- UI improvements - Better CLI or web interface
- Be respectful and inclusive
- Welcome newcomers and help them learn
- Focus on constructive feedback
- Respect differing viewpoints
- Prioritize the community's best interests
- Harassment or discriminatory language
- Trolling or insulting comments
- Personal or political attacks
- Publishing others' private information
- Other unprofessional conduct
While we don't have a formal bug bounty program, we greatly appreciate:
- Security vulnerability reports (please report privately)
- Critical bug fixes
- Performance improvements
- Documentation enhancements
- Issues: For bugs and feature requests
- Discussions: For questions and general discussion
- Email: For security concerns or private matters
Contributors will be:
- Listed in the project's contributors
- Mentioned in release notes for significant contributions
- Credited in documentation for major features
Thank you for contributing to Marketing Agent! 🚀