DEV Community

Anointed
Anointed

Posted on

I Built a Nigerian AI That Does SEO Audits and Writes Code — Here's the Stack

I want to show you something I built. It's called Flames Nova AI — a Nigerian-built AI assistant that's free to use, requires no signup, and runs entirely on open-source models.

What It Does

  • Chat — Standard AI conversation, but with Nigerian context and understanding
  • Web Search — Real-time search with source cards, favicons, and citations
  • DeepThink Mode — Step-by-step reasoning for complex problems
  • Deep Research Mode — Multi-source research with structured reports
  • 17 SEO Tools — Keyword research, competitor analysis, content gap analysis, SERP analysis, schema generation, EEAT audits, and more
  • Code Generation — With live HTML/CSS/JS preview (collapsible code blocks)
  • Image Analysis — Via Qwen2.5-VL (describes uploaded images, screenshots, documents)
  • Guest Mode — 5 free messages, no signup required
  • Coming Soon — Image generation, video analysis, voice input

The Stack (All Free)

I built this with zero budget for AI APIs. Here's what powers it:

Layer Technology
Primary Model Qwen2.5-72B via OpenRouter (free tier)
Fallback 1 Qwen2.5-7B via HuggingFace Inference (free)
Fallback 2 Pollinations API (free)
Fallback 3 Gemini 2.5 Flash via Lovable Gateway
Vision Qwen2.5-VL-7B + BLIP-2 (HuggingFace)
Web Search DuckDuckGo API + Serper (Google Search)
Backend Supabase Edge Functions (Deno)
Frontend React + TypeScript + TailwindCSS
Database Supabase (PostgreSQL)

Every model is free. No OpenAI API keys. No Anthropic credits. Just smart routing and fallback chains.

The Edge Function Architecture

The entire AI runs through a single Supabase edge function. It routes requests based on intent:
User Input → Router
├─ Search Agent (DuckDuckGo + Serper)
├─ SEO Agent (competitor scraping + analysis)
├─ Code Agent (generation + review)
├─ Vision Agent (Qwen2.5-VL)
├─ Voice Agent (Whisper — coming soon)
└─ General Agent (Qwen2.5-72B)

Uploading image
The fallback chain is:

  1. OpenRouter Qwen2.5-72B
  2. HuggingFace Qwen2.5-7B
  3. Pollinations
  4. Lovable (Gemini)

If one fails, it moves to the next automatically. Users never notice.

The SEO Tools

This is where Flames Nova AI stands out. It has 17 built-in SEO tools:

  • Keyword Research — Generates primary, secondary, long-tail, and LSI keywords with search intent
  • Competitor Analysis — Scrapes competitor pages, extracts headings, counts words, compares structure
  • Content Gap Analysis — Finds topics your competitors cover that you don't
  • SERP Analysis — Analyzes search results for featured snippets, PAA, related searches
  • Content Briefs — Generates full content briefs with headings, keywords, FAQs
  • Schema Generation — Outputs valid JSON-LD for articles, products, FAQs
  • Topical Maps — Creates content cluster strategies with internal linking plans
  • 90-Day SEO Roadmaps — Week-by-week action plans
  • EEAT Audits — Scores Experience, Expertise, Authority, Trustworthiness
  • AEO Optimization — Answer Engine Optimization for AI overviews and featured snippets
  • Plus: readability checks, meta tag audits, alt text generation, internal linking plans, local SEO audits

All powered by the same free models. No Ahrefs subscription needed.

What I Learned Building This

  1. Open-source models are good enough — Qwen2.5-72B via OpenRouter handles most tasks at near-ChatGPT quality. For free.

  2. Fallback chains are essential — Free APIs go down. Having 4 fallback options means the AI never fails completely.

  3. Nigerian context matters — The system prompt includes Nigerian history, culture, Afrobeats, Nollywood, JAPA trends, and local context. Foreign AIs don't understand this.

  4. SEO tools are a differentiator — No other AI assistant has built-in competitor analysis. This attracts bloggers, marketers, and small businesses.

  5. Guest mode drives signups — 5 free messages with no signup. After that, users create accounts willingly.

What's Coming Next

  • Image generation — Stable Diffusion XL integration is ready in the backend, going live on the frontend soon
  • Video analysis — Qwen2.5-VL can already analyze video URLs in testing
  • Voice input — Whisper Large v3 is integrated in the backend, being polished for release
  • Standalone app — Launching on ai.flamesnova.name.ng as a separate product

Try It

https://flamesnova.name.ng/ai

No signup required. No credit card. Built in Nigeria. Available to the world.


What would you add to this stack? Let me know in the comments. 🇳🇬

Top comments (0)