prompt.FaiL is a visually striking, witty, and technically sophisticated immersive AI platform exploring the contrast between Loveable Language Models (LLMs) and Mutant Misfit Losers (MMLs), centered around Claube, the unLoveable anti-hero. It blends Mondrian-inspired design, playful 3D characters, encrypted cultural layers, and sharp British humor into a seamless, engaging user journey.
- Immersive hero section with animated witty greetings and 3D mascot
- Claube persona showcase with 3D avatar and witty captions
- Interactive LLM vs. MML comparison with annotations and animations
- Failure gallery highlighting AI missteps with playful commentary
- Cultural playground with encrypted references and layered overlays
- Encrypted cinematic finale with compelling call-to-action
- Flawless scroll snapping and immersive routing
- Fully responsive, accessible, and performant
- Frontend: React + TypeScript SPA
- Routing: react-router-dom with scroll sync
- Animations: Framer Motion, Lottie, CSS
- Styling: CSS Grid, Flexbox, CSS Variables
- 3D Assets: Optimized voxel models, SVG, GLTF
- Containerization: Docker
- CI/CD: Automated pipelines
- Testing: Jest + React Testing Library
- Security: Secure secret management using environment variables, secret scanning, and avoiding hardcoded sensitive data.
- Monitoring: Logging, analytics, performance metrics
Significant improvements have been made based on recent codebase reviews, including refactoring of src/components/ClaubeDesign.tsx into smaller, more manageable components and implementing a robust database migration system using Umzug/sequelize-cli.
See PLANNING.md and DESIGN.md for full details.
- Clone the repository
git clone https://github.com/aegntic/prompt-fail.git
cd prompt-fail- Install dependencies
npm install- Configure environment variables
- Copy
.env.exampleto.env - Fill in secrets and API URLs
- Never commit
.envto version control
- Run the development server
npm run dev- Open in browser
Visit http://localhost:5173 (or your configured port)
We utilize environment variables for managing configuration and sensitive data. See .env.example for required variables:
VITE_API_URL— Frontend API base URLJWT_SECRET,DATABASE_URL— Backend secrets
Important:
- Copy
.env.exampleto.envand fill in your specific values. - Never commit
.envor any file containing sensitive secrets to version control. - Avoid exposing sensitive backend secrets by prefixing frontend environment variables with
VITE_.
Database schema changes are managed using Umzug and sequelize-cli.
- Development: Migrations are automatically run when the backend server starts (
npm run devin thebackend/directory). - Production: Automatic migrations are skipped. You must run migrations manually using the sequelize-cli:
npx sequelize-cli db:migrateTo create a new migration, use:
npx sequelize-cli migration:generate --name your-migration-nameRefer to the Umzug and Sequelize-CLI documentation for more advanced usage.
Build and run with Docker:
docker build -t promptfail-app .
docker run -p 3000:3000 --env-file .env promptfail-appUse docker-compose.yml for multi-service orchestration.
- Branching: Use Gitflow (
feature/,bugfix/,release/) - Commits: Descriptive, atomic, conventional
- Code Style: Enforced with ESLint, Prettier
- Testing: Write and maintain unit/integration tests
- Documentation: Update inline comments and markdown files
- Security: Never commit secrets; follow best practices
- Pull Requests: Require review, pass all checks before merge
prompt-fail/
├── src/ # React app source
│ ├── components/ # Modular components
│ ├── styles/ # CSS modules and global styles
│ ├── assets/ # Images, 3D models, animations
│ ├── App.tsx # Main app container
│ └── main.tsx # Entry point
├── public/ # Static assets
├── .env.example # Environment variable template
├── PLANNING.md # Architecture & milestones
├── DESIGN.md # Branding & design system
├── TASK.md # Granular task breakdown
├── README.md # This file
└── Dockerfile # Containerization
MIT © 2025 prompt.FaiL
- Inspired by AI quirks, failures, and creative chaos
- Built with a love for clever design, wit, and technical excellence