Vibe coding a meme generator app with WeWeb

Published on 
September 19, 2025
Ishika Jain
Junior Growth Marketer at WeWeb

Why build a meme generator app?

If you’re new to the world of web development and vibe coding, what’s a better way to learn than by building something fun? 

A meme generator may sound simple, but the real challenge is building an intuitive interface where anyone can easily create and customize memes:

  1. Drag and drop captions onto any template,
  2. Resize or rotate text with ease, and
  3. Style everything from fonts, colors, shadows, to strokes, and more.

In this blog post, we’ll walk you step by step through the process of vibe coding a meme generator using WeWeb AI.

The best part? You’ll get a real look at the vibe coding process - the wins, the frustrations, and how to avoid falling into vibe debugging hell.

Let’s get to it! 👇

A quick demo of the meme generator app

Here’s how it works (we’ll cover how to improve it later):

Step 1: Pick a template from the left menu:

Step 2: Customize your meme in the editor panel. Add captions, change fonts, colors, shadows, adjust text position, rotation, and more:

Step 3: Download your masterpiece as a PNG once you’re happy with it:

P.S. - We’ve published the meme generator app in the WeWeb marketplace, and it’s free for use 👉

Step 1: Create a WeWeb account. It's free!

The first step is setting up your WeWeb account.

Unlike other vibe coding tools, the beauty of WeWeb is that you can prompt AI to bring your ideas to life 70–80% of the way. 

From there, instead of eternally prompting AI, you can switch to the no-code editor to finish the last 20% and push your app into production.

If you haven’t already, sign up for a free WeWeb workspace.

Step 2: Generate the UI

Instead of starting from a blank page, ask WeWeb AI to generate the initial layout for you.

Since we’re starting from scratch, leave the AI's mode set to Build and pass the entire project as context:

You can use natural language prompts, and if you’ve got a wireframe or UI reference, you can even upload it as an image:

💡Prompt💡

I want to create a one page meme editor where users can pick a meme template from the left side menu and using an image editor on the right side add captions. The design should be clean, modern, and Notion-like.

Step 2: Fetch meme templates

Once the AI generates the design, it’s time to replace the dummy templates with real meme templates. 

We’ll use ImgFlip’s API to fetch popular meme templates for free:

  1. Add the REST API plugin to your WeWeb project:
  1. Create a page workflow, like so:
  1. Switch to the AI tab. WeWeb AI will automatically flip into Workflow mode so it only edits the opened workflow:
  1. Add the memeTemplates variable as context so the AI knows where to store the data:
  1. Then, prompt AI to set up the logic:

💡Prompt💡

Using ImgFlip's free API, https://api.imgflip.com/get_memes, get 100 popular meme templates using REST API GET request and save it in the memeTemplates variable. Display an error message when the API request fails.

  1. Finally, test the workflow and verify the response status in the Logs tab:

⚠️ If the logic doesn’t work as expected, double-check the following:

  1. In edit mode, enable Proxy request server side to handle CORS:
  1. Confirm your branching logic is correct:

Step 3: Create a custom image editor

Why not just use ImgFlip’s caption API? Two reasons:

  1. it's a paid feature, and we want to keep this meme generator app free, and
  2. the styling options offered are limited.

So instead, let’s build a custom image editor.

Switch WeWeb AI to Coded component mode and give it a clear prompt:

💡Prompt💡

Prompt: Create an image editor component that takes an image input that is bindable. Let's users: add text on top of the image. Choose the text’s font, size, color, and outline (stoke color + width). Drag and place the text anywhere on the image. Rotate the text to whatever angle that suits them. Finally, export and download the final image with text as PNG. The design should be clean and Notion-like.

Once the AI generates the component:

  1. Drag and drop it into the editor and remove the placeholder image:
  1. Now bind the selectedTemplate image to the editor:

From here, you can keep iterating with AI to refine the editor:

But sometimes the iterations won’t match your vision, that’s when it’s best to switch to the no-code editor and take over manually.

Step 4: Understand AI code & make manual edits

To tweak things yourself:

  1. Check the AI.md file to better understand the component and use code-specific words in your prompt (e.g., use imageRotation instead of “image rotation”):
  1. Dig into the actual code. Copy-paste it into ChatGPT or Claude and ask for a breakdown, like so:
  1. Tell ChatGPT or Claude the features you want to modify or add, ask for the updated code for specific sections, refactor the code suggestion, and then copy-paste:

Next steps: Customize & monetize

Hopefully, this guide helps you get your meme generator up and running.

Right now, it’s a simple meme generator app with an intuitive interface where users can freely customize meme templates. But this is just the starting point.

Here are some ideas to take it further (and maybe even turn it into a SaaS product):

  • Build a backend to store and manage your own meme templates.
  • Add AI-powered categorization to sort memes by type (funny, political, gaming, movie-related, etc.).
  • Introduce an AI chat assistant where users can describe a scenario and receive meme template recommendations.
  • Enhance the image editor to automatically place dummy text in predefined spots on the canvas based on the selected template.
  • Implement authentication and permissions so users can create accounts and manage their content.
  • Polish the UI/UX to make it more branded, professional, and visually engaging.

Happy Building!

Start building for free