Tellvira

An embeddable AI chatbot SaaS for small business websites that answers visitor questions and captures leads 24/7.

personalFeatured

Overview

Tellvira is a multi-plan SaaS that lets small businesses (clinics, salons, real estate, restaurants, online stores) add an AI chatbot to their website with a single script tag. Owners train the bot on their own content, customize its look, and collect leads and appointment requests in a dashboard. I built the whole product solo: an API-only Laravel backend, a Next.js dashboard and SEO-optimized marketing site, a lightweight embeddable widget, subscription billing through Paddle as merchant of record, and a transactional email system.

Tech Stack

LaravelPHPMariaDBLaravel SanctumNext.jsReactTailwind CSSxAI GrokGoogle Gemini EmbeddingsPaddleResendAWS EC2CloudflareesbuildPest

Challenges & Solutions

Challenge

Stripe is not available in Pakistan, but the product needed reliable subscription billing, taxes and invoicing for international customers.

Solution

Integrated Paddle as merchant of record using its PHP SDK with custom subscription, invoice and plan tables. Webhooks are the only writer of subscription status, with signature verification and idempotency, and plan upgrades are prorated while downgrades are scheduled for the end of the billing period.

Challenge

The chatbot had to be embeddable on any customer website with a one-line snippet, without slowing down host pages or being usable from unauthorized domains.

Solution

Built a standalone widget bundled with esbuild and served from a CDN subdomain, with per-bot configuration, exact-host allowed-domain enforcement, and a live preview in the dashboard so owners can customize appearance before installing.

Challenge

A new SaaS needs to be discoverable on search engines, but the app also contains private dashboard and auth pages that must never be indexed.

Solution

Built a data-driven marketing site with per-niche solution pages, blog, JSON-LD, sitemap and robots rules, and noindex on private routes. Trimmed marketing JavaScript from about 268 KiB to about 196 KiB gzip and kept all marketing routes statically rendered.

Challenge

Usage-based plans needed accurate limits per customer without a multi-tenant architecture.

Solution

Modeled everything around user ownership with policy-based authorization, a single config as the source of truth for plans, and usage counted in conversations per billing cycle, shown to customers in a usage and billing dashboard.

Gallery