Building "Rap Dojo" - AI Rap Lyrics Generator

Portfolio

AI Rap Lyrics Generator - Rap Dojo

This portfolio case study covers Rap Dojo, an AI-powered rap lyrics generator that I developed and launched after submitting the original project to a Google-sponsored hackathon.

Rap Dojo is an entertainment web tool that lets users enter everyday experiences or messages, then uses generative AI to turn them into hip-hop-style rap lyrics.
As a solo developer, I handled the full process, including the hackathon submission, domain acquisition, SEO work that helped the site achieve strong search rankings, and a secure, cost-effective serverless backend API.

For the build, I combined Python, LangChain, the Gemini API, and Google Cloud (GCP) to create efficient backend processing and serverless infrastructure.
I also used the AI coding assistant "Claude Code" for frontend development, completing the full workflow from initial design to public launch in approximately 30 hours.

Visit rapdojo.com

Background and Purpose

Development Background and Public Launch Flow

The project began with a simple goal: build a web application on my own.
While brainstorming ideas, I chose "rap," a subject I have always been interested in, and created a tool that makes lyric writing easy for anyone to enjoy.

I originally built Rap Dojo as a submission for a Google-sponsored hackathon, but it did not win any awards.
Rather than leaving the project idle, I purchased the domain "rapdojo.com" and launched the website publicly.
To reach more users, I also invested in search engine optimization (SEO) to attract organic traffic and actively promoted the site on social media.

SEO Results (High Search Rankings)

Rap Dojo SEO Results - High Search Rankings

One of the project's main achievements was earning top search engine rankings for target keywords through SEO optimization.

By analyzing search intent for keywords related to "rap generator" and "writing rap lyrics," I structured the page content and meta tags more effectively. Those changes produced strong ranking results in Google Search Console, as shown below:

With no advertising budget, the website continues to receive consistent organic traffic from users interested in hip-hop culture and AI-powered writing tools.

Practical Use Cases (Daily Life, Events, and Social Media)

Practical Use Cases in Daily Life, Events, and Social Media

Since launch, Rap Dojo has become more than a demo or experiment. I use it myself in daily life and at events in the following ways:

  • Daily Motivation Booster: I generate rap lyrics tailored to my mood or the time of day (morning, afternoon, or evening).
    Reciting these personalized lyrics has become a positive habit that helps me stay motivated.
  • Icebreakers at Tech Meetups: When presenting my work at coding meetups and other technical events, I generate a rap on the spot and perform it.
    Combining technical concepts with humor helps break the ice and build a friendly connection with the audience.
  • Creative Social Media Posts: When I travel or enjoy a great meal, I generate rap lyrics that capture the moment.
    Posting these lyrics along with photos or videos on social media is a fun way to share creative digital content with friends.

Technical Specifications

Rap Dojo Serverless System Architecture

Like my other AI web tools, Rap Dojo runs on a decoupled serverless architecture that separates the static frontend from the backend AI engine.

  • Frontend (HTML / CSS / JavaScript): Built as a lightweight static site to ensure fast loading times.
    I optimized the frontend for speed to meet Core Web Vitals requirements, which are crucial for search rankings.
  • Backend (Google Cloud Run / Functions & Python): Heavy operations such as prompt formatting and LLM calls are offloaded to Google Cloud serverless functions.
    This setup scales down to zero when inactive, keeping operational costs extremely low.
  • Gemini API & Prompt Design: The Python backend controls the Gemini API and applies prompt templates designed to generate hip-hop-style structure and natural Japanese rhymes, including rhyme scheme and flow.
  • Security Features: In addition to hiding API keys, the backend uses CORS restrictions and Referer validation to prevent unauthorized use and API calls from external domains.

Future Outlook

Because Rap Dojo was launched as a personal hobby project, I currently have no plans for major updates or new feature development.

However, while maintaining the website, I want to keep learning more about the structure of hip-hop lyrics and the art of rhyming.
My goal is to continue practicing rap delivery so that one day, I can improvise and perform my own freestyle lyrics without relying on AI tools.

Visit rapdojo.com

Portfolio My Past Projects



See All