This repository contains an AI-powered system to manage and deploy a personal website. The project automates content generation, updates, and deployment using Python.
deploy.py
- Automates the deployment process by generating website structure and AI-powered content.ai-operator.py
- Uses AI to dynamically update and generate website content.hidden_content/
- Stores AI-generated content that is loaded dynamically into public pages..gitignore
- Excludes unnecessary files from the repository.
-
Set Up the Project
- Ensure Python is installed on your system.
- Clone the repository:
git clone https://github.com/AlexFrancisco/my_blog_manager.git cd my_blog_manager
-
Install Dependencies
- Install required Python packages:
pip install openai beautifulsoup4
- Install required Python packages:
-
Set Up API Key
- Export your OpenAI API key:
set OPENAI_API_KEY=your-api-key # Windows (PowerShell) export OPENAI_API_KEY=your-api-key # macOS/Linux
- Export your OpenAI API key:
-
Deploy the Website
- Run the deployment script:
python deploy.py
- This script:
- Clears outdated subfolders.
- Generates necessary folders and AI-powered pages.
- Updates the root
index.html
.
- Run the deployment script:
-
Manage Content Updates
- AI updates content dynamically based on the
input_data.txt
instructions. - To process new instructions, run:
python ai-operator.py
- AI updates content dynamically based on the
- Excluded Folders:
.git
,__pycache__
,hidden_content
- AI-Generated Sections:
about
,mission
,blog
,summary
- Automate GitHub Pages deployment.
- Add support for user-defined content via a web interface.
🎉 Enjoy your AI-powered website automation!