orbitspy

byLucifer Nexgen

Build a production-ready, single-tenant micro-SaaS called "AdSpyZero: Competitor Ad Monitor". The application must be fully operational, heavily optimized for low code footprints to build successfully within 10 credits, and leverage an opinionated stack. ### 1. THEME & VISUAL DESIGN (Deep Space / Black Hole Aesthetic) - Colors: Primary background must be rich deep space black (#050508). Surface cards must use a translucent cosmic dark blue-gray (#0d0e15) with a subtle border (#1e2235). - Accents: Neon singularity violet (#8b5cf6), event horizon cyan (#06b6d4), and stellar amber (#f59e0b) for high-performance badges. - Effects: Use Tailwind's backdrop-blur-md, radical gradients (`bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))]`), and subtle neon box-shadows to simulate an event-horizon glow around active data modules. ### 2. SYSTEM ARCHITECTURE & CODE CONSTRAINTS - Stack: Next.js (App Router), Tailwind CSS, Lucide Icons, SQLite (via Prisma or native Node-sqlite) for the database. - Credit-Saving Constraint: Do NOT generate placeholder tests, excessive microservices, or complex multi-role setups. Consolidate logic. Keep backend endpoints inside Next.js API routes (/app/api/). - Mock Infrastructure: Create an internal simulated worker service (`/lib/services/adScraperSim.js`) that mimics scraping and populates the database with realistic competitor ad mock data (Ad copy, image/video thumbnail URLs, status, active days, platform, and date detected) when a user adds a competitor URL. ### 3. CORE DATA MODELS (Prisma/SQL Schema) - User: id, email, passwordHash, activeSubscription (boolean). - Competitor: id, userId, name, websiteUrl, dateAdded, trackingStatus (Active/Paused). - AdCreative: id, competitorId, platform (Meta, TikTok, Google), adText, visualUrl, daysRunning, dateDetected, firstSeen, status (Active/Inactive). ### 4. FRONTEND UI & PAGES (Space-Themed Tailwind Canvas) Build a clean, high-conversion SaaS dashboard layout featuring: 1. Landing / Auth Page: Cinematic "Event Horizon" marketing layout. A massive typography hero section ("Pull Your Competitors' Strategies into the Event Horizon") set against a dark radial gradient background, with a translucent login/signup card. 2. Main Dashboard Layout: Fixed left sidebar with a futuristic control-panel layout (Dashboard, Tracked Competitors, Ad Archive, Billing) using subtle violet active-state text glows. 3. Dashboard Overview Page: - Cosmic Stat Cards: 4 glassmorphism cards displaying Total Tracked Competitors, Total Ads Monitored, Active Ads, and Average Ad Lifespan (Days). - "Pull Competitor URL" Input: A sleek, neon-bordered input field that accepts a website URL and triggers the mock automated scraping sync. - Singularity Alerts Feed: A clean list showing newly discovered competitor ads with a neon badge for the platform (e.g., Meta, TikTok) and "Days Running" count. 4. Competitor Detail View: Clicking a competitor reveals their specific grid of captured ad creatives. Each ad card must display the thumbnail, ad copy text, platform icon, date detected, and a glowing "Supernova Performance" fire badge if daysRunning > 14. 5. Billing Tab: A simple tier selection page displaying the $79/mo plan with a mock payment success trigger toggle to update `activeSubscription` state. ### 5. BACKEND API LOGIC - POST `/api/competitors`: Validates and adds a competitor URL. Instantly triggers the mock crawler function to generate 3-5 randomized ad creative entries attached to that competitor id so the UI instantly feels alive. - GET `/api/ads`: Fetches all tracked ads sorted by `daysRunning` desc or `dateDetected` desc with basic query filtering by platform. - DELETE `/api/competitors/[id]`: Removes a competitor and cascades deletes their tracked ads. Execute this design immediately across Frontend, Backend, and Database layers. Rely on clean Tailwind utility patterns. Focus strictly on a pristine, functional UI and bulletproof local mock-data persistence to keep execution under 10 credits.

No preview

Comments (0)

No comments yet. Be the first!

Project Tasks

34 planning tasks
#1

Generate system requirement document

1m 20s0.1 cr used
Done
#2

Generate personas & user flows

0m 20s0.1 cr used
Done
#7

Create flow for Solo Saa S Operator

0m 4sCredits in parent
Done
#8

Landing

34m 34sCredits in subtasks
Error
#24

Repair Landing JSX

0m 24s0.2 cr used
Error
#23

Repair Landing JSX

0m 54s0.2 cr used
Done
#21

Repair Landing JSX

0m 53s0.2 cr used
Done
#17

Landing / Navigation

0m 30s0.8 cr used
Done
#16

Landing / Content

1m 1s0.8 cr used
Done
#18

Landing / Footer

0m 23s0.8 cr used
Done
#19

Navigation

0m 30sCredits in parent
Done
#20

Footer

0m 23sCredits in parent
Done
#22

Retry First Page

12m 59s0.2 cr used
Error
#27

Landing

11m 2sCredits in subtasks
Error
#38

Repair Landing JSX

0m 58s0.2 cr used
Done
#35

Landing / Navigation

Not recordedNo extra credits
Done
#36

Landing / Content

Not recordedNo extra credits
Done
#37

Landing / Footer

Not recordedNo extra credits
Done
#9

Landing / Auth Page

Credits in subtasks
Cancelled
#10

Dashboard Overview Page

Credits in subtasks
Cancelled
#11

Tracked Competitors

Credits in subtasks
Cancelled
#12

Competitor Detail View

Credits in subtasks
Cancelled
#13

Ad Archive

Credits in subtasks
Cancelled
#14

Billing

Credits in subtasks
Cancelled
#15

Dashboard

Credits in subtasks
Cancelled
#28

Landing / Auth Page

Credits in subtasks
Error
#29

Dashboard Overview Page

Credits in subtasks
Error
#30

Tracked Competitors

Credits in subtasks
Error
#31

Competitor Detail View

Credits in subtasks
Error
#32

Ad Archive

Credits in subtasks
Error
#33

Billing

Credits in subtasks
Error
#34

Dashboard

Credits in subtasks
Error
#5

Architecture

0.1 cr needed
Cancelled
#6

Workspace task plan

0.1 cr needed
Cancelled

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

Landing: View product overview
Landing / Auth Page: Sign up or sign in
Dashboard Overview Page: 1. Review stat cards and alerts
Dashboard Overview Page: Submit competitor URL
Dashboard Overview Page: Review captured ad creatives
Tracked Competitors: View tracked competitors
Tracked Competitors: Delete competitor and ads
Competitor Detail View: Inspect ad creatives
Competitor Detail View: Check Supernova badges
Ad Archive: Browse all tracked ads
Ad Archive: Filter ads by platform
Billing: 2. Select $79/mo tier
Billing: 3. Toggle mock payment success
Dashboard: 4. View live overview

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

Landing: View product overview
Landing / Auth Page: Sign up or sign in
Dashboard Overview Page: 1. Review stat cards and alerts
Dashboard Overview Page: Submit competitor URL
Dashboard Overview Page: Review captured ad creatives
Tracked Competitors: View tracked competitors
Tracked Competitors: Delete competitor and ads
Competitor Detail View: Inspect ad creatives
Competitor Detail View: Check Supernova badges
Ad Archive: Browse all tracked ads
Ad Archive: Filter ads by platform
Billing: 2. Select $79/mo tier
Billing: 3. Toggle mock payment success
Dashboard: 4. View live overview