diff --git a/README.md b/README.md index 7e342210..76387aa7 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,15 @@ Self-hostable AI system that captures audio/video data from OMI devices and other sources to generate memories, action items, and contextual insights about your conversations and daily interactions. -## Quick Start → [Get Started](quickstart.md) +## Quick Start -Run setup wizard, start services, access at http://localhost:5173 +```bash +curl -fsSL https://raw.githubusercontent.com/SimpleOpenSoftware/chronicle/main/install.sh | sh +``` + +This clones the latest release, installs dependencies, and launches the interactive setup wizard. + +For step-by-step instructions, see the [setup guide](quickstart.md). ## Screenshots diff --git a/install.sh b/install.sh new file mode 100755 index 00000000..8baf78e0 --- /dev/null +++ b/install.sh @@ -0,0 +1,34 @@ +#!/bin/sh +set -e + +REPO="https://github.com/SimpleOpenSoftware/chronicle.git" +DIR="chronicle" + +# Get latest release tag +TAG=$(curl -sL https://api.github.com/repos/SimpleOpenSoftware/chronicle/releases/latest | grep -o '"tag_name": *"[^"]*"' | head -1 | cut -d'"' -f4) + +if [ -z "$TAG" ]; then + echo "error: could not determine latest release" + exit 1 +fi + +echo "Installing Chronicle $TAG..." + +if [ -d "$DIR" ]; then + echo "error: directory '$DIR' already exists" + exit 1 +fi + +git clone --depth 1 --branch "$TAG" "$REPO" "$DIR" +cd "$DIR" + +# Install uv if missing +if ! command -v uv > /dev/null 2>&1; then + echo "Installing uv package manager..." + curl -LsSf https://astral.sh/uv/install.sh | sh + . "$HOME/.local/bin/env" 2>/dev/null || export PATH="$HOME/.local/bin:$PATH" +fi + +# Reconnect stdin for interactive wizard +exec < /dev/tty +./wizard.sh