AI-powered vehicle fix assistant for UK drivers
π fix.autodun.com β live and free to use
fix.autodun.com is a free, AI-powered vehicle fix assistant hub built for UK drivers. It combines Claude's language and vision capabilities with a clean, purpose-built interface to help drivers diagnose breakdowns, decode warning lights, appeal parking fines, and check whether a used car is fairly priced β all without needing to book a mechanic or pay for advice.
Every result includes a thumbs up / down feedback mechanism. That feedback is stored in Supabase as structured ML training data, building a dataset to train future Autodun AI models on real-world UK vehicle problems.
This project is built and maintained by a solo UK-based founder as part of the broader Autodun platform.
No login required. Works on mobile and desktop.
Describe any vehicle problem and receive a structured AI diagnosis in seconds.
- Input: vehicle make, model, year, mileage, driveability status, and problem description
- Output: likely cause, severity rating (Critical / High / Medium / Low), whether it's safe to drive, immediate action steps, what to tell your mechanic, and a UK repair cost estimate
- Powered by Claude with a domain-specific mechanic system prompt
Three input methods for maximum flexibility:
| Method | Description |
|---|---|
| π· Photo Upload | Upload a dashboard photo β Claude Vision identifies the light and explains it |
| β Grid Picker | Tap any of 16 common warning lights (oil, ABS, airbag, DPF, TPMS, etc.) |
| π OBD Code | Enter a fault code (e.g. P0300) for a full technical breakdown |
Output includes: what the light means, severity, whether it's safe to drive, likely causes, repair steps, UK cost estimate, and a mechanic tip.
Generates formal, ready-to-send UK appeal letters based on the circumstances of the fine.
- Supports both council PCNs and private parking charges
- Structured form: vehicle reg, date, location, reason on notice, grounds for appeal
- Output references relevant legislation: Traffic Management Act 2004, Protection of Freedoms Act 2012, BPA / IPC Codes of Practice, POPLA / IAS appeal procedures
- One-click Copy Letter button on the result
Two modes for evaluating a used car's price:
π Text Details mode:
- Paste any UK listing text for instant analysis
- Paste an AutoTrader / eBay Motors URL β a structured helper form appears (AutoTrader is login-protected; the form captures make, model, year, mileage, price, seller type, and extras)
- Output: GREAT DEAL / FAIR PRICE / OVERPRICED / UNDERPRICED verdict, green flags, red flags, fair market value, negotiation tips, and a pre-purchase checklist
π· Photo Valuation mode:
- Upload any car photo (exterior works best)
- Claude Vision identifies the make, model, approximate year, and trim level
- Output: vehicle identified, condition rating (Excellent / Good / Fair / Poor), estimated UK market value range, key price factors, and a buying / selling tip
Every result screen includes a feedback bar:
"Was this helpful? Your feedback trains the Autodun AI" π π
- Thumbs up / down vote captured on click
- Optional free-text comment (submitted on Enter or Send)
- Each feedback row inserted into Supabase with:
tool,vote,note,result_summary(first 200 chars),created_at - Builds a labelled training dataset of real UK vehicle queries and AI responses for future fine-tuning
| Layer | Technology |
|---|---|
| Framework | Next.js 14 β App Router, Server Components, API Routes |
| AI | Anthropic Claude API (claude-sonnet-4-20250514) with Vision |
| Database | Supabase (PostgreSQL) β ML feedback storage |
| Deployment | Vercel |
| Styling | Pure CSS β custom design system, no Tailwind, no CSS-in-JS |
| Font | Inter via next/font/google |
| Token | Value | Usage |
|---|---|---|
| Background | #070f1a |
Page background |
| Card | #111f33 |
Surface / card background |
| Green | #00d48a |
Primary CTA, active states, section headings |
| Blue | #2979ff |
Focus states, selected items |
| Orange | #ff9500 |
Medium severity, warnings |
| Red | #ff4444 |
Critical severity, error states |
| Yellow | #ffd60a |
Low/medium severity badges |
- Node.js 18+
- An Anthropic API key
- A Supabase project with the
fix_feedbacktable (schema below)
# Clone the repository
git clone https://github.com/kamrangul87/fix-autodun-com.git
cd fix-autodun-com/app
# Install dependencies
npm install
# Copy the example env file and fill in your keys
cp .env.local.example .env.local
# Start the development server
npm run devOpen http://localhost:3000 in your browser.
Create a .env.local file in the app/ directory:
ANTHROPIC_API_KEY=sk-ant-...
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJ...| Variable | Required | Description |
|---|---|---|
ANTHROPIC_API_KEY |
β | Anthropic API key β used server-side only in /api/claude |
NEXT_PUBLIC_SUPABASE_URL |
β | Your Supabase project URL |
NEXT_PUBLIC_SUPABASE_ANON_KEY |
β | Supabase anon/public key for client-side inserts |
Note:
ANTHROPIC_API_KEYis accessed only in theapp/api/claude/route.jsserver-side route and is never exposed to the browser. The Supabase keys use theNEXT_PUBLIC_prefix because feedback is inserted directly from the client.
Run this in the Supabase SQL editor to create the feedback table:
create table fix_feedback (
id uuid primary key default gen_random_uuid(),
tool text not null,
vote text not null check (vote in ('up', 'down')),
note text,
result_summary text,
created_at timestamptz not null default now()
);User submits query
β
βΌ
Claude generates result (via /api/claude proxy)
β
βΌ
Result displayed to user
β
βΌ
User clicks π or π (optionally adds comment)
β
βΌ
Supabase insert β fix_feedback table
βββ tool ("breakdown" | "lights" | "appeal" | "price")
βββ vote ("up" | "down")
βββ note (free-text comment or null)
βββ result_summary (first 200 chars of AI response)
βββ created_at (timestamp)
β
βΌ
Labelled dataset β future fine-tuning of Autodun AI
This creates a continuously growing, human-labelled dataset of:
- Real UK vehicle breakdown queries + AI diagnoses
- Warning light lookups + explanations
- Parking fine details + appeal letters
- Car listing analyses + price verdicts
fix.autodun.com (Next.js 14 β App Router)
β
βββ app/
β βββ page.js β Single-page hub (client component)
β β βββ BreakdownAssistant
β β βββ WarningLightDecoder (photo / grid / OBD)
β β βββ ParkingFineAppeal
β β βββ FairPriceChecker (text / photo)
β β
β βββ api/claude/route.js β Server-side Anthropic proxy
β β βββ POST /api/claude (keeps API key server-side)
β β
β βββ lib/supabase.js β Supabase client
β βββ globals.css β Full design system
β βββ layout.js β Inter font + metadata
β
βββ Deployed on Vercel
Key architectural decisions:
- All Anthropic API calls are proxied through
/api/claudeβ the API key never reaches the browser - Vision requests (base64 images) are sent through the same proxy route, keeping the interface uniform
- Feedback inserts go directly from the browser to Supabase using the anon key (safe β row-level security can be added to restrict to inserts only)
- No global state management library β React
useStateper component is sufficient for this use case - No CSS framework β the design system is ~600 lines of hand-written CSS variables, utility classes, and component styles
Contributions, issues, and feature requests are welcome.
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Commit your changes:
git commit -m 'add your feature' - Push to the branch:
git push origin feature/your-feature - Open a Pull Request
This project is licensed under the MIT License.
Kamran β solo founder and developer, based in the UK.
Part of the Autodun platform β building AI tools for UK drivers and the automotive industry.
- π autodun.com
- π» github.com/kamrangul87