AI Language Tools Suite

A collection of fun language tools powered by Gemini AI, with a clean and simple warm-beige UI.

Node.js Express.js Google Gemini AI JavaScript HTML/CSS REST API

A set of AI-powered language tools that do silly things with text. Built with Google Gemini AI. Warm beige UI because why not.

Project Overview

Four tools that use Gemini to mess with language: translate corporate jargon, turn insults into backhanded compliments, generate fake buzzword phrases, and write brutally honest reviews in various styles.

Tools Included

1. Brainrot ↔ English Translator

Transform communication between generations with bidirectional translation:

  • English to Brainrot: Convert standard English into Gen Z “brainrot” slang
  • Brainrot to English: Decode modern slang back to conventional language
  • Real-time Translation: Instant conversion with context awareness

2. Corporate BS Generator

Create professional-sounding buzzword phrases for any occasion:

  • Random Generation: Produce authentic-sounding corporate speak
  • Keyword Integration: Include specific terms in generated phrases
  • Context Awareness: Maintains professional tone while highlighting absurdity
  • Customizable Output: Tailor phrases to specific industries or situations

3. Insult-to-Compliment Converter

Master the art of passive-aggressive communication:

  • Subtext Preservation: Maintains the original meaning while sounding positive
  • Contextual Conversion: Adapts tone based on the input severity
  • Creative Rephrasing: Generates multiple conversion options
  • Social Navigation: Perfect for diplomatic communication

4. Polite but Brutal: Bad Review Generator

Craft hilariously honest reviews with style:

  • Multiple Styles: Choose from Passive-Aggressive, Overly Polite, Fake Enthusiasm, Existential Crisis, Haiku Mode, or Corporate Reviewer
  • Subject Customization: Specify products, apps, or services
  • Emotion Targeting: Incorporate underlying feelings like frustration or confusion
  • Creative Formats: Including poetic reviews in haiku form

Technical Implementation

Backend Architecture

sequenceDiagram
    participant User
    participant App as Vanilla JS UI
    participant API as Express Server
    participant Gemini as Google Gemini API
    
    User->>App: Enters text
    App->>API: HTTP Request to Tool Endpoint
    API->>API: Inject specific prompt logic
    API->>Gemini: Remote completion call
    Gemini-->>API: Generated text
    API-->>App: JSON object
    App-->>User: Display formatted result
  • Express.js Server: RESTful API design with clean endpoint structure
  • Gemini AI Integration: Efficient API calls with prompt engineering
  • Environment Configuration: Secure API key management
  • Error Handling: Fallback responses when the API fails

API Design

// Example API endpoints
GET /api/to-brainrot?text=Hello world
GET /api/corporate-bs?keywords=blockchain,metaverse
GET /api/insult-to-compliment?text=You're lazy
GET /api/bad-review?style=Passive-Aggressive&subject=app

Frontend Features

  • Responsive Design: Mobile-first approach with warm beige color scheme
  • Interactive Navigation: Switch between tools without page reloads
  • Real-time Results: Instant feedback without page refreshes
  • Clean Interface: Minimalist design focusing on functionality

Key Features

User Experience

  • Simple Navigation: Intuitive menu system for tool switching
  • Fast Response Times: Optimized API calls for quick results
  • Consistent Theming: Warm beige color palette throughout
  • Accessibility: Clean, readable interface design

Technical Highlights

  • Single API Key: Efficient resource management across all tools
  • Modular Architecture: Each tool as a separate, maintainable module
  • Environment Flexibility: Easy deployment with environment variables
  • Development Workflow: Hot-reload support for rapid iteration

Example Outputs

Insult-to-Compliment Conversions

  • “You’re dumb”“You have such a unique way of thinking—like nobody else would ever think that.”
  • “Your cooking is terrible”“Your adventurous approach to flavors is certainly memorable!”

Bad Review Examples

  • Passive-Aggressive: “Wow. Just wow. You really committed to making this the worst possible user experience. Inspiring, really.”
  • Haiku Mode:
    Crashed once, then again
    Took my hopes and dreams with it
    Still gave four stars

Technology Stack

  • Runtime: Node.js for server-side JavaScript execution
  • Framework: Express.js for API routing and middleware
  • AI Integration: Google Gemini AI API for natural language processing
  • Frontend: Vanilla HTML/CSS/JavaScript for lightweight performance
  • Development: npm scripts for development and production workflows
  • Deployment: Environment-based configuration for easy hosting

Installation & Usage

# Clone and setup
git clone https://github.com/yourusername/ai-language-tools.git
cd ai-language-tools
npm install

# Configure environment
echo "GEMINI_API_KEY=your_api_key_here" > .env

# Start development server
npm run dev

Learn More

Interested in building AI-powered applications? Read my in-depth guide on Building AI Agents That Actually Work — covering architecture patterns, implementation strategies, and practical gotchas when working with LLMs.


Project Links