Logo Lanfrica

kisilumueti/motivational-bot

Record type:

software
Creator:
kis
Host:
Motivational Quote Bot is a Python-powered Twitter bot that uses OpenAI's GPT-3 to generate and post daily motivational quotes tailored for Gen Z and Millennial hustlers in Kenya. Built with automation in mind using GitHub Actions. 💬🇰🇪🚀 # 🌟 Motivational Quote Bot 🚀 Welcome to the **Motivational Quote Bot**! This simple yet powerful bot generates daily motivational quotes using **OpenAI's GPT-3** and posts them to **Twitter**. It's the perfect way to keep your Twitter feed filled with positive vibes and hustle energy. Let's get inspired, one tweet at a time! 💪 > 👤 Built with 💻 and ☕ by a BBIT student passionate about tech & motivation. > 📬 Contact: @johnboscomueti | Email: muetijohnbosco35@gmail.com --- ## 🎯 Purpose The bot's goal is to: - Generate unique, tweet-length motivational quotes. - Use OpenAI’s powerful GPT-3 model for crafting custom content. - Post these quotes automatically to your Twitter account. - Inspire and energize Gen Z & Millennials, especially from the urban hustle in **Kenya**. 🌍 ### ✨ Key Features - **AI-powered Motivational Quotes**: Generated by OpenAI’s GPT-3 model, the quotes are tailored for urban African millennials. - **Twitter Integration**: The bot posts directly to your Twitter account via Tweepy. - **Customizable**: You can tweak the style of quotes or adjust the post frequency. --- ## 🛠️ Technologies Used - **Python**: The language used to build the bot. - **OpenAI API**: The brain behind the motivational quotes. - **Tweepy**: Python library used to tweet the quotes. - **GitHub Actions**: To automate the daily tweeting. --- ## 💡 Getting Started Follow the steps below to set up the bot on your local machine or cloud server: ### 1️⃣ Install Dependencies ###bash pip install openai tweepy 2️⃣ Set Up API Keys You will need credentials for both OpenAI and Twitter: OpenAI: Get your API key Twitter: Create a Twitter Developer App Then, set the following environment variables: export OPENAI_API_KEY="your_openai_api_key" export TWITTER_CONSUMER_KEY="your_twitter_consumer_key" export TWITTER_CONSUMER_SECRET="your_twitter_consumer_secret" export TWITTER_ACCESS_TOKEN="your_twitter_access_token" export TWITTER_ACCESS_TOKEN_SECRET="your_twitter_access_token_s …