Skip to the content
OwnWing

DocsGet started

Set up OwnWing with a coding agent

OwnWing is a whole cloud: a sign-in, a drive, a photo library, your own apps, HTTPS for each. You don’t need to learn how it fits together. Your coding agent does: OwnWing ships the skills that tell it how.

Quick start

npx ownwing install

Then, in your agent (the installer starts it for you):

/ownwing init

That’s the whole setup. Update later with npx ownwing update or /ownwing update.

What you need

  • A Linux machine, a NAS that runs Docker, or a Mac. On Windows, use WSL.
  • Node 18 or newer (for npx) and git.
  • A coding agent: Claude Code, Codex, Cursor CLI, Gemini CLI, OpenCode or GitHub Copilot CLI.
  • Docker. If it isn’t installed yet, /ownwing init tells you exactly what to run for your system.

1. Install

npx ownwing install:

  1. checks git and Docker;
  2. asks where OwnWing should live (~/ownwing by default) and clones it there, or brings an existing copy up to date;
  3. makes the skills ready for every agent (.claude/skills, and .agents/skills for the others);
  4. finds the coding agents on this machine, asks which one to use, and starts it in the folder on the setup.
Option
--dir <folder> where OwnWing lives
--agent <id> claude, codex, cursor, gemini, opencode, copilot, or none
--no-launch don’t start the agent: print what to type
--yes ask nothing (the default without a terminal)
--ref <branch or tag> a release other than the latest

2. Init

/ownwing init ($ownwing init in Codex; in other agents, “run the ownwing skill’s init”) reads the machine first: Docker and Compose, memory and processor, the drives and their free space, a NAS’s data volume, whether ports 80 and 443 are taken (by a proxy you already run, say), an Intel GPU, the address other devices use. Then it asks only what it can’t tell, each question with a recommended answer:

  • Who uses it, from where? Just this computer (ownwing.localhost, nothing to configure), devices at home (a home-network name such as home.arpa), or from anywhere (your own domain, with free Let’s Encrypt certificates).
  • Where do people’s files live? It lists your drives; the big data drive is the usual answer. Files already there stay where they are, and Photos and Files show them.
  • Which apps? Photos (it tells you whether the machine has the memory), Notes, Calendar and Reminders, Contacts and the extensions in the folder. OwnWing ID and Files always run.
  • Your username.

It shows you the plan and waits for your go. Then it writes the settings and secrets, builds and starts every app (the first build takes 15 to 40 minutes; it tells you how it’s going), adds the extensions you picked, checks that everything is healthy, and hands over:

  1. the one-time link to create your account (choose a passcode, then quick sign-in with Face ID, Touch ID, Windows Hello or a fingerprint);
  2. how to trust the install’s certificates on this computer;
  3. the DNS record to add for devices at home, if any;
  4. what’s next: inviting people, the iPhone app, backups.

It writes what it set up to local/AGENTS.md (never committed), so later sessions start from your choices instead of asking again. Run /ownwing init again any time to change one.

You type your own passwords and sudo lines; the agent never asks for them, never formats or mounts a drive, and never deletes files.

Every day

Ask What happens
/ownwing what runs, the addresses, what’s left from the setup
/ownwing add photos another app, or an extension (a folder or a git address), after showing what it asks of the machine
/ownwing invite how to give someone at home an account and their apps
/ownwing iphone builds and installs the iPhone app, on a Mac with Xcode
/ownwing fix finds why something is down, won’t sign in or warns, and fixes it
/ownwing backup backs up the settings, secrets and every app’s data
/ownwing update backs up, updates, restarts and checks that sign-in still works

Plain words work as well as the commands: “add Photos”, “my phone says the certificate isn’t trusted”, “move the photos to the new drive”.

Already in your agent?

Paste this into any coding agent:

Install OwnWing on this machine: run `npx -y ownwing install --no-launch`, then work in the
folder it prints (~/ownwing): read .claude/skills/ownwing/SKILL.md and
.claude/skills/ownwing/references/init.md there, and do the init it describes with me.

Without an agent

Every step is a plain command too: Install.

Edit this page on GitHub