danswriter
danswriter is an app to create posts for your blogspot by leveraging GPT and PaLM. None of the requirements need to be paid for as of now (Oct 2nd, 2023).
Features
- Write posts for your blogspot (with labels/tags) using:
- GPT-3.5 via tgpt
- PaLM 2 via the official API
- Insert images from Unsplash using the official API
- Upload your post on Blogger using the official API
- Built-in bearer token refresh (using OAuth flow)
Pre-requisites
- Either the official API keys for PaLM 2 OR tgpt installed on your machine.
- Unsplash API key (If you do not want to get the API key and are fine without having pictures in your post, then you can comment out the relevant code.)
- The official Blogger API key.
Installation
To install this project, follow these steps:
- Clone the repository:
git clone https://github.com/DaniyalAhmadSE/danswriter.git
- Install the dependencies:
pip install -r requirements.txt
Usage
- Configure the app from the config.json file. Refer to the help.json file for details.
- Run app.py from your favorite IDE or with:
Contributing
To contribute to this project, follow these steps:
- Fork the repository.
- Make your changes.
- Submit a pull request.
License
This project is licensed under the MIT license.
Contact
For questions or suggestions (especially regarding prompts), contact me at [email protected].
Additional information
-
Roadmap:
- Improve the prompt.
- Integrate an improved PaLM model.
- Allow integration of GPT using the official Openai API keys.
- Integrate more blogging sites.
-
Contributors:
-
Official Blogspot:
- Read the official blogs written by danswriter at danswriter.blogspot.com
-
About tgpt
- tgpt by aandrew-me is an awesome cross-platform ChatGPT CLI client that does not require Openai API keys. Follow the official installation instructions for tgpt.