This project consists of two Python scripts: main.py
, a graphical user interface application for generating and publishing blog articles, and an auxiliary script that provides functionalities such as content generation, article updating, and publishing automation utilizing the OpenAI API.
Ensure you have the following prerequisites installed on your system:
- Python 3.x
- CustomTkinter
- Requests
- PyYAML
Additionally, you must have an OpenAI API key to use the content generation features.
-
Install the required Python libraries by running the following command:
pip install customtkinter requests pyyaml
-
Place your OpenAI API key in the auxiliary script, replacing the
API_KEY
variable's value.
The script provides a user-friendly interface for configuring and managing your blog's content. Features include setting up blog directory and type, configuring article parameters, and directly publishing articles.
Execute the script by running:
python main.py
Contributions are welcome. You can contribute by reporting bugs, suggesting enhancements, or submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to CustomTkinter for the GUI framework.
- Thanks to OpenAI for the API used in content generation.