| Crates.io | memer-rs |
| lib.rs | memer-rs |
| version | 0.1.1 |
| created_at | 2025-09-14 23:59:26.478384+00 |
| updated_at | 2025-09-28 19:08:38.759267+00 |
| description | a meme generation rust cli tool |
| homepage | |
| repository | https://github.com/Programmer-RD-AI/memer.rs |
| max_upload_size | |
| id | 1839272 |
| size | 81,931 |
A Rust CLI tool for generating memes using OpenAI's DALL-E 3 API.
memer.rs is a command-line interface that allows you to generate meme images by simply providing a text query. The tool uses OpenAI's DALL-E 3 model to create internet-style memes with bold, impact font text and high-contrast visuals.
git clone https://github.com/Programmer-RD-AI/memer.rs.git
cd memer.rs
cargo build --release
cargo install memer-rs
.env file in the project root:OPENAI_API_KEY=your_api_key_here
memer --query "when you finally understand Rust ownership"
memer --query "debugging at 3am" --folder my_memes
memer --help
-q, --query <QUERY>: The meme description/topic (required)-f, --folder <FOLDER>: Output directory (default: random UUID)# Generate a programming meme
memer -q "when your code works on the first try"
# Generate a relatable meme with custom folder
memer -q "me explaining why I need another monitor" -f work_memes
# Generate a Rust-specific meme
memer -q "borrowing in Rust vs other languages"
Generated images are saved as 1024x1024 PNG files in the specified directory. The tool automatically creates the directory if it doesn't exist.
async-openai: OpenAI API clientclap: Command-line argument parsingtokio: Async runtimedotenv: Environment variable loadingminijinja: Template renderinguuid: Unique identifier generationgit checkout -b feature/amazing-feature)git commit -m 'Add amazing feature')git push origin feature/amazing-feature)Apache License 2.0
Note: This tool requires an active OpenAI API subscription. Image generation costs apply according to OpenAI's pricing.