> ## Documentation Index
> Fetch the complete documentation index at: https://touchdeck.codesft.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Install, launch, and drive Touchdeck in minutes

## 1) Install Touchdeck

**1. Create a virtual environment (uv recommended)**

```bash theme={null}
uv venv
uv sync
```

Prefer pip? Use:

```bash theme={null}
python -m venv .venv
source .venv/bin/activate
pip install -e .
```

**2. Optional: install extras**

* `speedtest-cli` enables the Speed Test page.
* `nvidia-ml-py` enables GPU stats through NVML.
* Spotify mode requires client ID/secret from the Spotify dashboard.

**3. Run Touchdeck**

```bash theme={null}
uv run touchdeck  # or: python -m touchdeck
```

On first launch you'll be asked to pick a display and whether to start in demo mode.

## 2) Learn the gestures

* Swipe left/right (or use mouse) to move between pages.
* Swipe up from the bottom edge to open the quick actions drawer; swipe down to close.
* Tap cards and buttons; sliders support touch + mouse.

## 3) Configure the basics

* Open the Settings page from the last tab.
* Pick `MPRIS` or `Spotify` as the media source.
* Set UI scale/opacity to match your panel, and choose a theme.
* Enable/disable pages you want visible.

Settings are stored at `~/.config/touchdeck/settings.json` and saved automatically.

## 4) Connect Spotify (optional)

> [accordion] Authenticate
>
> 1. Go to Settings → Music → Spotify.
> 2. Enter your client ID/secret and redirect port (defaults to 8765).
> 3. Tap **Sign in to Spotify** and complete the browser OAuth flow.

> [accordion] Pick a device
>
> * Tap **Refresh devices** to list active Spotify Connect devices.
> * Select the device, then **Transfer playback** to move audio there.

## Next steps

> [card] [Configure settings](https://touchdeck.codesft.dev/configuration.md)
>
> Media polling, lyrics cache, GPU toggle, and page visibility.

> [card] [Quick actions](https://touchdeck.codesft.dev/quick-actions.md)
>
> Add custom shell commands and reorder gestures.

> [card] [Themes & layout](https://touchdeck.codesft.dev/themes.md)
>
> Tune colors, UI scale, and opacity for your display.

> [card] [Troubleshooting](https://touchdeck.codesft.dev/troubleshooting.md)
>
> Fix MPRIS, Spotify, speed tests, and display issues.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.