SurfSense/surfsense_web
DESKTOP-RTLN3BA\$punk 36cb688d05
Some checks failed
Build and Push Docker Images / image_version (push) Has been cancelled
Build and Push Docker Images / build (./docker/sandbox, cpu, ./docker/sandbox/Dockerfile, sandbox, surfsense-sandbox, ubuntu-24.04-arm, linux/arm64, arm64, , false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./docker/sandbox, cpu, ./docker/sandbox/Dockerfile, sandbox, surfsense-sandbox, ubuntu-latest, linux/amd64, amd64, , false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cpu, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, , production, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cpu, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, , production, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu126, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, -cuda126, production, true, cuda126) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu126, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, -cuda126, production, true, cuda126) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu128, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64, -cuda, production, true, cuda) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, cu128, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64, -cuda, production, true, cuda) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, cpu, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64, , runner, false, cpu) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, cpu, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64, , runner, false, cpu) (push) Has been cancelled
Build and Push Docker Images / verify_digests (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, , cpu) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, -cuda, cuda) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend, -cuda126, cuda126) (push) Has been cancelled
Build and Push Docker Images / create_manifest (sandbox, surfsense-sandbox, , cpu) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web, , cpu) (push) Has been cancelled
feat(release): 2.2.0
2026-10-09 14:31:04 -07:00
..
app style(web): format the files Biome flags on dev 2026-10-03 07:48:22 +02:00
atoms feat(chat): persist retrieval scope in cookies 2026-09-03 13:47:07 +05:30
blog/content fix: update URLs to use the "www" subdomain across the application 2026-05-15 12:35:15 -07:00
changelog/content docs(artifacts): document removal of document exports 2026-08-16 20:51:28 +05:30
components style(web): format the files Biome flags on dev 2026-10-03 07:48:22 +02:00
content/docs feat(local): more pre release tweaks 2026-09-17 21:19:21 -07:00
contexts feat(i18n): add Korean (ko) translation 2026-07-10 11:22:54 +07:00
contracts revert: cloud pricing and no-login chat retirement 2026-09-12 21:03:52 +02:00
features chore(dependencies): update lucide-react to version 1.40.0 and adjust icon imports 2026-09-03 18:23:56 +05:30
hooks fix(web): poll until the mount folder resolves so the badge shows 2026-09-01 15:49:46 +02:00
i18n feat(i18n): add Korean (ko) translation 2026-07-10 11:22:54 +07:00
lib feat(release): 2.2.0 2026-10-09 14:31:04 -07:00
messages revert: cloud pricing and no-login chat retirement 2026-09-12 21:03:52 +02:00
public docs(readme): lead every README with the SurfSense banner 2026-09-28 20:07:49 +05:30
scripts feat(local): more pre release tweaks 2026-09-17 21:19:21 -07:00
tests fix(sunset): gate the web redirect on DEPLOYMENT_MODE 2026-09-29 09:08:25 +02:00
types feat(rename): complete searchSpace to workspace transition across frontend and backend 2026-07-06 15:12:40 +05:30
zero Reapply "feat: Git remote exports, Google SERP parsing fixes, & testing video sandbox" 2026-08-29 19:51:37 +05:30
.cursorrules chore: add AGENTS.md and a small set of vendor skills 2026-09-18 08:51:48 +02:00
.dockerignore chore: ignore Playwright runtime artifacts 2026-05-04 17:48:44 +05:30
.env.example feat(local): more pre release tweaks 2026-09-17 21:19:21 -07:00
.gitignore chore: update .gitignore and biome.json to include additional test-related directories and files for improved E2E testing 2026-05-12 03:59:52 +05:30
AGENTS.md fix(skills): route shadcn work through frontend-workflow 2026-09-18 23:09:34 +05:30
biome.json chore: update .gitignore and biome.json to include additional test-related directories and files for improved E2E testing 2026-05-12 03:59:52 +05:30
CLAUDE.md chore(agents): symlink CLAUDE.md to AGENTS.md in each tree 2026-09-18 23:01:19 +05:30
components.json chore: ran linting 2026-02-17 12:47:39 +05:30
Dockerfile build(node): build the website and the installers on Node 24 2026-10-03 07:40:31 +02:00
eslint.config.mjs refactor(web): replace instances of BACKEND_URL with buildBackendUrl for improved URL handling 2026-06-16 14:51:25 +05:30
instrumentation-client.ts feat(automations): enhance tracking for automation lifecycle events 2026-05-30 01:13:21 -07:00
instrumentation.ts feat: enhance error handling with PostHog integration 2026-03-12 01:28:39 -07:00
LICENSE feat: monorepo 2025-04-07 23:47:06 -07:00
mdx-components.tsx perf(images): add sizes prop to improve Next.js image loading 2026-04-03 22:11:21 +07:00
next.config.ts feat(local): more pre release tweaks 2026-09-17 21:19:21 -07:00
package.json build(node): build the website and the installers on Node 24 2026-10-03 07:40:31 +02:00
playwright.config.ts test(artifacts): move parseWorkbook tests to tests/unit 2026-08-12 14:42:40 +02:00
pnpm-lock.yaml build(node): build the website and the installers on Node 24 2026-10-03 07:40:31 +02:00
pnpm-workspace.yaml fix(web): patch next, mermaid, vite and vulnerable transitive deps 2026-09-30 23:22:59 -07:00
postcss.config.mjs Initial formatting using biome 2025-07-27 10:05:37 -07:00
proxy.ts fix(sunset): gate the web redirect on DEPLOYMENT_MODE 2026-09-29 09:08:25 +02:00
README.md docs: add backend and web READMEs so each product has a setup path 2026-09-18 08:52:14 +02:00
source.config.ts refactor(changelog): remove title and description fields from changelog entries and update schema 2026-06-09 10:13:27 +05:30
svgr.d.ts chore: ran linting 2026-07-15 15:48:54 +05:30
tailwind.config.js feat: enhance UI components with new border radius and tooltip features 2026-01-20 17:35:08 +05:30
tsconfig.json feat: old chat to new-chat with persistance 2025-12-21 16:32:55 -08:00

SurfSense web

Next.js UI for the self-host stack (App Router, pnpm).

This is not the desktop UI. Desktop frontend lives in surfsense_local/frontend/.

You need

Run it

cp .env.example .env

In .env, point at a backend on your machine (the example file uses Docker hostnames):

NEXT_PUBLIC_FASTAPI_BACKEND_URL=http://localhost:8000
SURFSENSE_BACKEND_INTERNAL_URL=http://localhost:8000
AUTH_TYPE=LOCAL
ETL_SERVICE=DOCLING
DEPLOYMENT_MODE=self-hosted

Then:

pnpm install
pnpm dev

App: http://localhost:3000

Match AUTH_TYPE with the backend. Leave SUNSET_MODE unset.

Live document/chat updates need zero-cache. Most UI PRs can run without it; the page just will not refresh itself.

Tests

pnpm test:unit
pnpm format

Playwright needs Postgres, Redis, the API, and a worker. See tests/README.md.