An AI-driven platform for creating and deploying static websites to GitHub Pages. This repository combines the power of AI agents with modern web development practices to streamline website creation.
Website Creator v1 is designed to be driven by AI agents that handle both planning and implementation of static websites. The platform leverages GitHub Pages for hosting and GitHub Actions for automated deployment.
- π€ AI Planning Agent: Gathers requirements and creates comprehensive website plans
- π οΈ AI Implementation Agent: Builds and deploys websites based on specifications
- π Automatic Deployment: GitHub Actions workflow for seamless GitHub Pages deployment
- π± Responsive Design: Mobile-first approach with modern CSS
- β‘ Performance Optimized: Fast loading times and optimized assets
- βΏ Accessible: WCAG 2.1 AA compliance
- π¨ Customizable: Easy to modify and extend
website-creator-v1/
βββ .github/
β βββ workflows/
β β βββ pages.yml # GitHub Actions deployment workflow
β βββ agents/
β βββ planning-agent.md # Planning Agent context and instructions
β βββ implementation-agent.md # Implementation Agent context and instructions
βββ css/
β βββ style.css # Main stylesheet
βββ js/
β βββ main.js # Main JavaScript file
βββ _config.yml # Jekyll configuration
βββ index.html # Homepage
βββ .gitignore # Git ignore patterns
βββ README.md # This file
- A GitHub account
- Basic understanding of HTML, CSS, and JavaScript (for customization)
- GitHub Pages enabled in repository settings
- Go to your repository settings
- Navigate to "Pages" section
- Under "Source", select "GitHub Actions"
- The site will automatically deploy when you push to the main/master branch
To view the site locally:
# Clone the repository
git clone https://github.com/ManagedKube/website-creator-v1.git
cd website-creator-v1
# Open index.html in your browser
open index.html
# or
python3 -m http.server 8000
# Then visit http://localhost:8000If you want to use Jekyll's features locally:
# Install Jekyll (requires Ruby)
gem install bundler jekyll
# Serve the site
jekyll serve
# Visit http://localhost:4000The Planning Agent (.github/agents/planning-agent.md):
- Asks questions about website goals and requirements
- Gathers information about content, design, and functionality
- Creates a comprehensive plan and specification
- Hands off to the Implementation Agent
The Implementation Agent (.github/agents/implementation-agent.md):
- Receives the detailed plan from the Planning Agent
- Creates HTML, CSS, and JavaScript files
- Optimizes assets and ensures quality
- Deploys to GitHub Pages
- Provides documentation and handoff
Edit css/style.css and modify the color values:
/* Header gradient */
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
/* Accent color */
color: #667eea;- Create a new HTML file (e.g.,
about.html) - Use the same structure as
index.html - Update navigation links across all pages
- Test and deploy
Edit index.html to change the content, headings, and structure.
Every push to the main/master branch triggers:
- GitHub Actions workflow (
.github/workflows/pages.yml) - Jekyll build process
- Deployment to GitHub Pages
- Site available at
https://<username>.github.io/<repository>/
You can also trigger deployment manually:
- Go to "Actions" tab in GitHub
- Select "Deploy to GitHub Pages" workflow
- Click "Run workflow"
- Keep commits focused and atomic
- Write clear commit messages
- Test changes locally before pushing
- Review the live site after deployment
- Follow semantic HTML practices
- Maintain responsive design
- Optimize images before adding
- Test across different browsers and devices
- Keep dependencies minimal
- Provide clear, detailed requirements to Planning Agent
- Review and approve plans before implementation
- Test implemented features thoroughly
- Keep agent context files updated
When contributing to this project:
- Fork the repository
- Create a feature branch
- Make your changes
- Test thoroughly
- Submit a pull request
- Check GitHub Actions logs in the "Actions" tab
- Verify GitHub Pages is enabled in settings
- Ensure _config.yml has correct baseurl
- Check for syntax errors in HTML/CSS/JS
- Verify file paths are correct
- Check browser console for errors
- Ensure CSS file is properly linked in HTML
- Clear browser cache
- Check file paths match exactly (case-sensitive)
- Verify baseurl in _config.yml
- Ensure files are committed to the repository
This project is open source and available under the MIT License.
For issues, questions, or contributions, please use the GitHub Issues page.