A Python script to automate posting daily Bible verses, explanations, and prayers on Twitter.
This project aims to create a Twitter bot that automatically posts daily Bible verses along with explanations and prayers. It utilizes Python's asyncio library for asynchronous execution and interacts with the Twitter API for posting tweets.
- Generates a daily Bible verse reference.
- Retrieves the verse text, explanation, and prayer using external modules.
- Posts daily verse, explanation, and prayer as separate tweets.
- Introduces a delay between tweets to avoid hitting Twitter's rate limits.
-
Clone the repository:
git clone https://github.com/martcpp/Bible_chatbot.git
-
Install dependencies:
pip install -r requirements.txt
-
Set up Twitter API credentials in
.env or rename .env-example to .env
. -
Run the script:
python main.py
.env
: Contains Twitter API credentials. Replace placeholders with your actual credentials.
This Dockerized Python script automatically posts daily Bible verses, explanations, and prayers on Twitter.
Clone the repository to your local machine:
git clone https://github.com/your_username/daily-bible-verse-twitter-bot-dockerized.git
Build the Docker image using the provided Dockerfile:
cd BIBLE_CHATBOT
docker build -t daily-bible-bot .
Run the Docker container with the following command:
docker run -d daily-bible-bot
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature/new-feature
). - Make your changes.
- Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature/new-feature
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the creators of the
tweepy
andmeta ai api
modules for providing the functionality to generate Bible verses and explanations. - Special thanks to Twitter for providing the API to interact with the platform.
For any questions or suggestions, feel free to contact the project maintainer:
Your Name
Email: [email protected]
Twitter: @biblebot