DEV Community

Cover image for AI Mania V6 is here — Why I Rebuild Everything from scratch
Bogdan Andronic
Bogdan Andronic

Posted on

AI Mania V6 is here — Why I Rebuild Everything from scratch

Until version 5, AI Mania was built on Firebase for database, authentication, and storage. However, one major concern kept me up at night: 𝒄𝒐𝒔𝒕 𝒄𝒐𝒏𝒕𝒓𝒐𝒍. Firebase doesn’t allow you to set a maximum spending limit, only alerts, meaning you could end up with a huge bill if you’re not careful. That risk was just too high for me.

Why Supabase?
To address this, I decided to switch to Supabase. It offers similar services to Firebase — PostgreSQL database, authentication, and storage — but with one crucial difference: 𝒃𝒖𝒊𝒍𝒕-𝒊𝒏 𝒄𝒐𝒔𝒕 𝒄𝒐𝒏𝒕𝒓𝒐𝒍. You can stop everything before it runs up a massive bill, which is a huge relief! Plus, both platforms offer serverless functions, which I’m a big fan of.

Looking Forward
Thinking about future developments for the website, I believe an SQL database is a better long-term solution for my site. Supabase also makes it easier to optimize images and integrate them with the Next.js image component (harder to achieve that with google storage), which is a nice bonus.

𝑾𝒉𝒂𝒕’𝒔 𝑵𝒆𝒘 𝒊𝒏 𝑨𝑰 𝑴𝒂𝒏𝒊𝒂 𝑽6?

  • new design (in beta)
  • improved mobile responsive
  • news/articles have table of contents etc
  • better categories
  • Next.js app version (backend + frontend)
  • New CMS (payload as headless vs firecms)
  • Supabase (database) + GraphQL
  • Authentication (coming soon)
  • Serverless functions (scheduled tasks, etc.)

𝑪𝒐𝒎𝒊𝒏𝒈 𝑺𝒐𝒐𝒏 𝒂𝒍𝒔𝒐 𝒊𝒏 𝒗6

  • Speed Performance Optimisation
  • AI guides (free)
  • AI (generative HTML on search, advanced search capabilities, tool suggestions based on needs, etc.)
  • AI chat / AI training
  • Ability to add your own AI Tools
  • And ... (I’ll reveal this feature after it launches!)

𝒀𝒐𝒖𝒓 𝑻𝒉𝒐𝒖𝒈𝒉𝒕𝒔?
Have you used both Supabase and Firebase? Which one do you prefer?

https://aimania.one/

Top comments (0)