Code Monkey home page Code Monkey logo

bible_chatbot's Introduction

Daily Bible Verse bot

GitHub GitHub last commit

A Python script to automate posting daily Bible verses, explanations, and prayers on Twitter.

Overview

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.

Features

  • 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.

Usage

  1. Clone the repository:

    git clone https://github.com/martcpp/Bible_chatbot.git
  2. Install dependencies:

    pip install -r requirements.txt
  3. Set up Twitter API credentials in .env or rename .env-example to .env.

  4. Run the script:

    python main.py

Configuration

  • .env: Contains Twitter API credentials. Replace placeholders with your actual credentials.

Daily Bible Verse Twitter Bot Dockerized

This Dockerized Python script automatically posts daily Bible verses, explanations, and prayers on Twitter.

Usage

1. Clone the Repository

Clone the repository to your local machine:

git clone https://github.com/your_username/daily-bible-verse-twitter-bot-dockerized.git

3. Build the Docker Image

Build the Docker image using the provided Dockerfile:

cd BIBLE_CHATBOT
docker build -t daily-bible-bot .

4. Run the Docker Container

Run the Docker container with the following command:

docker run -d daily-bible-bot

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/new-feature).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature/new-feature).
  6. Create a new Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgements

  • Thanks to the creators of the tweepy and meta 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.

Contact

For any questions or suggestions, feel free to contact the project maintainer:

Your Name
Email: [email protected]
Twitter: @biblebot

bible_chatbot's People

Contributors

martcpp avatar

Stargazers

BARTHOLOMEW SHEKARI avatar  avatar TALAQALOTAIBIPMP avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.