Skip to content

dbillor/memergy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“Έ Memergy πŸŒ€
The Ultimate AI-Powered Meme Generator

image

β€œWhen AI meets memes, magic happens!”


πŸŽ‰ Welcome to Memergy! πŸŽ‰

Ever had a meme idea that was too epic to keep to yourself? πŸš€ Want to let AI handle the heavy lifting while you sit back and laugh at the results? πŸ˜‚ Look no further! Memergy is here to transform your vibes into viral memes using the power of Artificial Intelligence. Whether you're a meme lord or just meme-curious, Memergy has got you covered! πŸ•ΆοΈβœ¨


πŸ› οΈ Features πŸ› οΈ

  • Automated Image Processing: Easily process and manage your meme templates.
  • Smart Embedding Generation: Harness the power of AI to understand and generate meme content.
  • Vibe-Based Meme Creation: Enter your unique meme "vibe" and watch Memergy do its magic! 🎩✨

πŸš€ Getting Started πŸš€

Ready to dive into the meme-iverse? Follow these steps to set up Memergy and start generating your own hilarious memes!

πŸ“‹ Prerequisites

  • Python 3.8+
  • Pip (Python package installer)
  • Git

πŸ”§ Installation

  1. Clone the Repository

    git clone https://github.com/yourusername/memergy.git
    cd memergy
  2. Create a Virtual Environment

    It's always a good idea to use a virtual environment to manage your dependencies.

    python3 -m venv memergy-env
    source memergy-env/bin/activate  # On Windows: memergy-env\Scripts\activate
  3. Install Dependencies

    pip install -r requirements.txt
  4. Set Up Environment Variables

    Create a .env file in the root directory and add your API keys and other configurations. Never commit this file to GitHub! πŸ”’

    API_KEY=your_api_key_here
    DATABASE_URL=your_database_url_here

    Psst... Make sure .env is in your .gitignore to keep it safe! πŸ•΅οΈβ€β™‚οΈ

πŸ—‚οΈ Project Structure

memergy/
β”‚
β”œβ”€β”€ images/                # Folder containing meme templates
β”œβ”€β”€ database/              # Database files
β”œβ”€β”€ process_images.py      # Processes images and populates the database
β”œβ”€β”€ generate_embeddings.py # Generates embeddings for the database content
β”œβ”€β”€ generate_memes.py      # Generates memes based on your vibe
β”œβ”€β”€ requirements.txt       # Python dependencies
β”œβ”€β”€ README.md              # This awesome README
└── .gitignore             # Git ignore file

πŸƒ How to Use Memergy πŸƒ

1️⃣ Process Your Images

First things first, let's get those meme templates into the database! πŸ“₯

python process_images.py
  • What it does:
    Scans the images/ folder, processes each image, and stores them in the database for easy access.

2️⃣ Generate Embeddings

Now, let's make those images smarter with some AI magic! πŸ§™β€β™‚οΈβœ¨

python generate_embeddings.py
  • What it does:
    Analyzes the content of each image in the database and creates embeddings to understand and generate relevant meme captions.

3️⃣ Generate Memes

Time to unleash your meme "vibe"! 🎀πŸ”₯

python generate_memes.py
  • What it does:
    Prompts you to enter your meme "vibe" (think of it as the theme or feeling you want your meme to convey), and Memergy generates a meme that perfectly captures your vibe.

🎨 Example Workflow 🎨

IMPORTANT YOU MUST CREATE meme_images/ folder and generated_memes/ folder for memes!!

  1. Add Your Meme Templates:

    • Drop your favorite meme images into the images/ folder. πŸ“‚βœ¨
  2. Process the Images:

    python process_images.py

    Let Memergy do its thing! πŸ› οΈ

  3. Generate Embeddings:

    python generate_embeddings.py

    AI is getting smarter... πŸ€“

  4. Create a Meme:

    python generate_memes.py
    • Input: Enter your vibe (e.g., "When you realize it's Monday again...")
    • Output: Boom! Your custom meme is ready to share. πŸ“€πŸ˜‚

🧩 Customization 🧩

Want to tweak Memergy to better fit your meme style? Here's how:

  • Adding More Templates:
    Simply add more images to the images/ folder and rerun process_images.py.

  • Changing Font Styles:
    Modify the add_text_to_image function in generate_memes.py to use your favorite fonts and styles. πŸŽ¨πŸ–‹οΈ

  • Adjusting Embedding Parameters:
    Play around with generate_embeddings.py to fine-tune how Memergy understands your images.


🀝 Contributing 🀝

Memergy is a community-driven project! Whether you're a seasoned developer or a meme enthusiast, your contributions are welcome. Here's how you can help:

  1. Fork the Repository
  2. Create a Feature Branch
    git checkout -b feature/your-feature-name
  3. Commit Your Changes
    git commit -m "Add some feature"
  4. Push to the Branch
    git push origin feature/your-feature-name
  5. Open a Pull Request

Let's make Memergy the dankest meme generator out there! 🌟


πŸ”’ Security Best Practices πŸ”’

  • Keep Your API Keys Safe:
    Store them in the .env file and ensure it's listed in .gitignore.

  • Rotate Your Keys Regularly:
    Change your API keys periodically to maintain security.

  • Monitor Usage:
    Keep an eye on your API usage to detect any unusual activity.

Stay safe, meme responsibly! πŸ›‘οΈπŸ˜Ž


πŸ“œ License πŸ“œ

This project is licensed under the MIT License. Feel free to use, modify, and distribute as you see fit. Just don’t forget to give credit where it’s due! πŸ˜‰


πŸ“¬ Contact & Support πŸ“¬

Got questions, suggestions, or just want to share your latest meme creation? Hit us up!


πŸ“ˆ Roadmap πŸ“ˆ

We're constantly improving Memergy to bring you the best meme-generating experience. Here's what's coming next:

  • ** immediate TODO is: update memes with hard coded coordinates and usage **-

  • Advanced Customization Options 🎨

  • Integration with Social Media Platforms πŸ“±

  • Enhanced AI for Even Funnier Memes πŸ€–πŸ˜‚

  • Community Features & Sharing 🌐

Stay tuned and keep the memes coming! πŸš€


πŸ“š Resources & References πŸ“š


🎭 Meme Gallery 🎭

Check out some of the awesome memes created with Memergy! πŸ“Έβœ¨

IMG_8316

IMG_3515

IMG_3176


πŸ₯³ Join the Memergy Movement! πŸ₯³

Be a part of the future of meme creation. Let’s make the internet a funnier place, one meme at a time! πŸŒπŸ˜‚


β€œMemergy: Where your vibes become viral memes!” πŸš€πŸ“ˆ


Disclaimer: Memergy is not responsible for any excessive laughter, meme addiction, or internet fame that may result from using this tool. Use responsibly! 😜

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published