WidgetForgeFREE
/
widget
/
mainPRODUCTION
OVERVIEWINTRODUCTION

Introduction

widgetforge turns any website into an AI-powered support hub — without a backend.

Most AI chatbot tools are black boxes. You hand over your data, pay per message, and hope the vendor doesn't go down. widgetforge flips this: you bring your own API key from Gemini, OpenAI, or Anthropic. We store it encrypted, proxy your requests, and give you a single script tag. The LLM bill goes to your account — not ours.

The problem we solve

Building a chatbot that knows about your website normally requires: a backend server, a vector database for embeddings, an auth system, a widget UI, and a deployment pipeline. That's weeks of work for something most developers don't want to maintain.

widgetforge collapses this to: describe your website → preview the bot → paste one script tag. Total time: under 60 seconds.

The BYOK model

BYOK stands for Bring Your Own Key. You paste your Gemini, OpenAI, or Anthropic API key into the builder. We encrypt it with AES-256-GCM and store it in our database. When a visitor chats with your bot, we decrypt the key in memory, make the LLM call, and discard it. Your key is never exposed to the visitor's browser.

🔒
Your key, your bill
We never see your plain-text API key after it leaves your browser. Every LLM call uses your tokens directly. widgetforge charges nothing for AI usage — only for the platform itself (on paid tier).

Tech stack at a glance

Next.js
Full-stack framework. Frontend + API routes in one project.
Supabase
Postgres database + auth. Hosted, managed, free tier available.
Drizzle ORM
Type-safe SQL queries. Schema defined in TypeScript.
AES-256-GCM
Symmetric encryption for API keys. Random IV per encryption.
React Flow
The node-based builder canvas. 4 connected nodes, left to right.
Shadow DOM
Widget isolation. Host site's CSS can't touch the widget.