Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.
docs: settings and api server
Louisd8fa777b74bc
diff --git a/docs/src/pages/docs/desktop/_assets/hardware-settings.png b/docs/src/pages/docs/desktop/_assets/hardware-settings.pngnew file mode 100644index 000000000..28cbc65b2Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/hardware-settings.png differdiff --git a/docs/src/pages/docs/desktop/_assets/local-api-server.png b/docs/src/pages/docs/desktop/_assets/local-api-server.pngnew file mode 100644index 000000000..c4f0e11e2Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/local-api-server.png differdiff --git a/docs/src/pages/docs/desktop/_assets/server-configuration.png b/docs/src/pages/docs/desktop/_assets/server-configuration.pngnew file mode 100644index 000000000..77626cfadBinary files /dev/null and b/docs/src/pages/docs/desktop/_assets/server-configuration.png differdiff --git a/docs/src/pages/docs/desktop/_assets/server-troubleshooting.png b/docs/src/pages/docs/desktop/_assets/server-troubleshooting.pngnew file mode 100644index 000000000..1b53fea02Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/server-troubleshooting.png differdiff --git a/docs/src/pages/docs/desktop/api-server.mdx b/docs/src/pages/docs/desktop/api-server.mdxindex 7f4e9874e..72353adff 100644--- a/docs/src/pages/docs/desktop/api-server.mdx+++ b/docs/src/pages/docs/desktop/api-server.mdx@@ -23,15 +23,14 @@ import { Callout, Steps } from 'nextra/components'Jan provides a built-in, OpenAI-compatible API server that runs entirely on your computer, powered by `llama.cpp`. Use it as a drop-in replacement for cloud APIs to build private, offline-capable AI applications.-+## Quick Start<Steps>### Start the Server1. Navigate to **Settings** > **Local API Server**.-2. Enter a custom **API Key** (e.g., `secret-key-123`). This is required for all requests.-3. Click **Start Server**.+2. Click **Start Server**.The server is ready when the logs show `JAN API listening at http://127.0.0.1:1337`.@@ -51,7 +50,9 @@ curl http://127.0.0.1:1337/v1/chat/completions \## Server Configuration-These settings control the network accessibility and basic behavior of your local server.+These settings control the network accessibility and basic behavior of your local server. Access them via the **Configuration** button in the top right.++### Server HostThe network address the server listens on.diff --git a/docs/src/pages/docs/desktop/server-troubleshooting.mdx b/docs/src/pages/docs/desktop/server-troubleshooting.mdxindex dd51aed99..85353ca1d 100644--- a/docs/src/pages/docs/desktop/server-troubleshooting.mdx+++ b/docs/src/pages/docs/desktop/server-troubleshooting.mdx@@ -27,10 +27,9 @@ When Jan isn't working properly, error logs help identify the problem. Here's ho### Quick Access to Logs**In Jan Interface:**-1. Look for **System Monitor** in the footer-2. Click **App Log**+Go to **Settings** > **General** > **App Logs** and click **Open Logs**.-+**Via Terminal:**```bash@@ -171,7 +170,7 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib642. Turn on **GPU Acceleration**3. Check **System Monitor** (footer) to verify GPU is detected-+### Step 3: Verify Configuration