AutoPost-Discord: Automate Your Blogspot & YouTube Updates to Discord

Discord Auto-Poster for YouTube & Blogspot: Keep Your Community Updated Effortlessly!

📢 What is This Bot?

This bot is an automated content-sharing tool that keeps your Discord community updated with the latest YouTube videos and Blogspot posts. Whenever you upload a new video or publish a new blog post, the bot instantly fetches the content and posts it to your Discord server with a rich embed, title, thumbnail, and direct link—all automatically!

No more manual sharing every time you post something new. Just set up this bot once, and it will handle the rest!

🔥 Features at a Glance

Automates YouTube & Blogspot Content Sharing – Fetches and posts new updates without manual effort.
Real-Time Notifications – Your community gets instant updates when new content is published.
Rich Discord Embeds – Posts include titles, thumbnails, and direct links for better engagement.
Secure API Key Storage – Uses GitHub Secrets to store API keys securely.
Runs Every 30 Minutes – Ensures your audience never misses an update.
Lightweight & Efficient – Uses API calls and RSS feeds, requiring minimal resources.
Works with GitHub Actions – Fully automated with no need to run scripts manually.


⚙️ How It Works

1️⃣ The bot checks your YouTube channel for new videos using the YouTube API.
2️⃣ It also fetches new Blogspot posts from your RSS feed.
3️⃣ If new content is found, the bot formats it into a stylish Discord embed.
4️⃣ The bot then sends the post to a Discord channel using a Webhook.
5️⃣ This process repeats every 30 minutes via GitHub Actions, keeping your community updated 24/7!

🚀 Setting Up the Bot (Easy Guide)

1️⃣ Fork & Clone the Repository

First, fork this repository and clone it to your local system:

git clone https://github.com/nayandas69/autonotify-discord
cd autonotify-discord

2️⃣ Install Required Packages

Run this command to install all dependencies:

pip install -r requirements.txt

3️⃣ Configure GitHub Secrets

Since the bot runs on GitHub Actions, you must add your API keys and URLs securely.

Go to GitHubYour RepositorySettingsSecrets and VariablesActionsNew Repository Secret.

Add the following secrets:

Secret Name Purpose
DISCORD_WEBHOOK Your Discord Webhook URL
BLOGSPOT_URL Your Blogspot RSS Feed URL
YOUTUBE_API_KEY Your YouTube API Key
YOUTUBE_CHANNEL_ID Your YouTube Channel ID

4️⃣ Test the Bot Manually

To verify everything is set up correctly, run:

python main.py

5️⃣ Automate with GitHub Actions

  1. Push the code to GitHub.
  2. Go to Actions in your repository.
  3. Enable GitHub Actions (if required).
  4. The bot will now run every 30 minutes automatically!

🛠 Troubleshooting & FAQs

🤔 The bot is not posting to Discord

✅ Ensure your Discord Webhook URL is correct.
✅ Double-check your GitHub Secrets are set properly.
✅ Run the script manually to check for errors:

python main.py

✅ Check GitHub Actions logs for possible failures.

🎥 YouTube videos are not appearing

✅ Verify your YouTube API Key and Channel ID.
✅ Make sure your YouTube channel is public.
✅ YouTube API quota limits might be exhausted—try again later.

📝 Blogspot posts are not being fetched

✅ Confirm your Blogspot RSS feed URL is correct.
✅ Ensure your Blogspot blog is public.
✅ Run the script manually to see if any errors appear.


📜 License & Contribution

This project is open-source under the MIT License. Contributions are always welcome!


💬 Need Help?

If you have questions, open an issue on GitHub! 🚀

Comments

Popular posts from this blog

Email OTP Bypass Using Kali Linux, Burp Suite, and Temp Mail – Ethical Hacking Demonstration

How to Format a USB Drive Using Windows CMD – Complete Step-by-Step Guide