Getting LLMs to Generate Funny Memes: Surprisingly Hard

2025-01-06

A University of Waterloo intern attempted to build an app using LLMs and the Greptile API to generate memes that roast GitHub repositories. The process proved unexpectedly challenging. Directly prompting the LLM for roasts yielded generic results. The solution involved separating the task into code analysis (using Greptile to pinpoint specific issues) and roast generation (using the LLM to create targeted humor). Image generation proved difficult due to limitations in handling text, leading to the use of pre-built meme templates and node-canvas for text insertion. Despite the hurdles, the project culminated in reporoast.com, a website capable of generating custom code-roasting memes.

Development Meme Generation