suna/frontend
Soumyadas15 0c66b05706 fix: fix tool call views in share page 2025-07-03 09:41:47 +05:30
..
public
src fix: fix tool call views in share page 2025-07-03 09:41:47 +05:30
.env.example feat(frontend): implement maintenance notice and banner components with edge configuration integration 2025-06-24 16:40:18 +00:00
.gitignore
.prettierignore
.prettierrc
Dockerfile
README.md docs: enhance contributing and self-hosting documentation 2025-06-23 16:16:44 +00:00
components.json
eslint.config.mjs
next.config.ts
package-lock.json feat(frontend): implement maintenance notice and banner components with edge configuration integration 2025-06-24 16:40:18 +00:00
package.json feat(frontend): implement maintenance notice and banner components with edge configuration integration 2025-06-24 16:40:18 +00:00
postcss.config.mjs
test-new-format.js
tsconfig.json

README.md

Suna Frontend

Quick Setup

The easiest way to get your frontend configured is to use the setup wizard from the project root:

cd .. # Navigate to project root if you're in the frontend directory
python setup.py

This will configure all necessary environment variables automatically.

Environment Configuration

The setup wizard automatically creates a .env.local file with the following configuration:

NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
NEXT_PUBLIC_BACKEND_URL=http://localhost:8000/api
NEXT_PUBLIC_URL=http://localhost:3000
NEXT_PUBLIC_ENV_MODE=LOCAL

Getting Started

Install dependencies:

npm install

Run the development server:

npm run dev

Build for production:

npm run build

Run the production server:

npm run start

Development Notes

  • The frontend connects to the backend API at http://localhost:8000/api
  • Supabase is used for authentication and database operations
  • The app runs on http://localhost:3000 by default
  • Environment variables are automatically configured by the setup wizard