Skip to content

An AI-powered search engine with a generative UI

style: Apply Prettier formatting to CLAUDE.md and README.md

Yoshiki Miura0285225761c1
diff --git a/CLAUDE.md b/CLAUDE.md
index ecf86dff..67703845 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -31,6 +31,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
When running with Docker Compose, `ENABLE_AUTH=false` is set by default, allowing personal use without Supabase setup. All users share a single anonymous user ID.
**⚠️ Security Warning:**
+
- Anonymous mode is **only for personal, single-user local environments**
- All chat history is shared under one user ID
- **NOT suitable** for multi-user or production deployments
@@ -38,6 +39,7 @@ When running with Docker Compose, `ENABLE_AUTH=false` is set by default, allowin
**Enabling Authentication:**
To require Supabase authentication, set:
+
```bash
ENABLE_AUTH=true # or remove ENABLE_AUTH from docker-compose.yaml
NEXT_PUBLIC_SUPABASE_URL=[your-supabase-url]
@@ -45,6 +47,7 @@ NEXT_PUBLIC_SUPABASE_ANON_KEY=[your-supabase-anon-key]
```
**Implementation:**
+
- Auth logic: [lib/auth/get-current-user.ts:22-40](lib/auth/get-current-user.ts#L22-L40)
- Always warns when `ENABLE_AUTH=false` (except in tests)
- Guards against `MORPHIC_CLOUD_DEPLOYMENT=true`
diff --git a/README.md b/README.md
index 3d9b4a33..985a3505 100644
--- a/README.md
+++ b/README.md
@@ -234,6 +234,7 @@ docker compose up -d
```
The application will:
+
- Start PostgreSQL 17 with health checks
- Start Redis for SearXNG search caching
- Wait for the database to be ready