Elf Names Wiki
AI-powered elf name generator with character portraits and voice pronunciation for D&D, LOTR, and Elder Scrolls.
• Copy the embed code to showcase this product on your website
• Share on X to spread the word about this amazing tool
Elf Names Wiki
An AI-powered toolkit for generating authentic elf names, built with Next.js and deployed on Cloudflare Pages.
Tech Stack
- Framework: Next.js 16 (App Router, static export)
- Styling: Tailwind CSS 4
- AI Name Generation: Google Gemini 2.5 Flash-Lite
- AI Portrait Generation: fal.ai Flux Schnell
- AI Voice Synthesis: fal.ai Kokoro TTS
- Auth: better-auth (Google OAuth)
- Database: Cloudflare D1
- Storage: Cloudflare R2
- Payments: Creem (Merchant of Record)
- Hosting: Cloudflare Pages + Pages Functions
Features
- Name Generator — AI generates batches of unique elf names with meanings, origins, and pronunciation across 11 subraces
- Portrait Generator — AI character artwork from any generated name
- Voice Pronunciation — Free browser-based TTS + premium AI voice with WAV download
- Name Encyclopedia — 16 categories of curated names, fully searchable
- Lore Library — Articles on elven naming traditions from D&D, Tolkien, and Elder Scrolls
Architecture Highlights
- Dual API directory:
src/app/api/for local dev,functions/api/for Cloudflare Pages Functions (static export doesn't support API routes) - Credit-based system with idempotent webhook handling via
waitUntil()for Cloudflare Workers compatibility - R2 asset storage with automatic transfer from fal.ai (URLs expire after 7 days)
- better-auth with per-request factory pattern for D1 binding in serverless context
Links
- Website: www.elfnames.wiki