Skip to content

depak7/actBrow

Repository files navigation

actbrow

Embeddable AI assistant for web apps: a Spring Boot backend + SDK that lets a coding agent scan your repo and push tools, navigation flows, and knowledge live, plus a Next.js dashboard to manage assistants and a drop-in browser widget.

ActBrow is an in-app AI agent runtimeembed an AI agent that navigates your app with two script tags, no backend rewrite. See the React example, Vue example, or self-hosting guide · Book a demo.

  • Backend — Spring Boot (Java 21), PostgreSQL, OpenAI-compatible model provider (OpenRouter, or a local Claude-CLI proxy for dev).
  • UI — Next.js dashboard (ui/) that proxies /api/* to the backend.
  • Widget/SDKactbrow-sdk.js + actbrow-widget.js, served by the backend.

Quickstart (Docker)

cp .env.example .env            # optional: fill in model/OAuth/mail values
docker compose up --build

This brings up Postgres, the backend, and the UI together. Google login and the model provider need real credentials (see Configuration); the app boots without them for local exploration.

Run locally (without Docker)

Backend:

# needs a running Postgres matching SPRING_DATASOURCE_* (see .env.example)
./mvnw spring-boot:run

UI:

cd ui
cp .env.example .env.local      # point NEXT_PUBLIC_API_PROXY_TARGET at your backend
npm install
npm run dev                     # http://localhost:3000

Configuration

Backend env vars (see .env.example); the committed src/main/resources/application.properties reads them via ${VAR:default}:

Variable Purpose
SPRING_DATASOURCE_URL / _USERNAME / _PASSWORD PostgreSQL connection
OPENAI_API_KEY / OPENAI_BASE_URL / OPENAI_CHAT_MODEL Model provider (OpenRouter or compatible)
GOOGLE_OAUTH_CLIENT_ID Google Sign-In (login)
ACTBROW_CORS_ALLOWED_ORIGINS Comma-separated allowed origins
SIGNUP_NOTIFY_ENABLED / SIGNUP_NOTIFY_RECIPIENT / MAIL_* Signup & waitlist email notifications (SMTP)

UI env vars: see ui/.env.example. NEXT_PUBLIC_* values are inlined into the browser bundle — never put secrets there.

Tests

./mvnw test          # backend
cd ui && npx tsc --noEmit   # UI type check

License

MIT

About

An agent living inside SaaS that executes actions.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors