Setup Guide

Self-Host FocusOS

Transform your personal hardware or cloud instance into a Zero-Gravity execution sanctuary.

1. Prerequisites

Ensure your environment is ready for the Anti-Gravity engine.

  • Node.js v20 or higher
  • NPM or PNPM

2. Clone & Install

Fetch the source and prepare the dependencies.

git clone https://github.com/Bhavikkpatel/FocusOS.git
cd FocusOS
npm install

3. Environment Configuration

The core identity of your deployment lies here.

DATABASE_URL="postgres://..."
NEXTAUTH_SECRET="your-secret"
NEXTAUTH_URL="http://localhost:3000"

4. Database Initialization

Sync the schema with your PostgreSQL instance.

npx prisma db push
npx prisma generate

Your focus is a
finite resource.
Protect it.

Most people end their day reacting. Start ending it having executed.

GitHub
Open Source
Community Owned
Self-Hostable