Skip to main content

Your computer, from anywhere. Code, manage, and control your machine from the web.

Project description

cptr

Cptr Demo

The computer used to be a room. Then a desk. Then a bag. Now it's a URL.

Your phone goes everywhere with you. You run your life from it. Your computer used to stay home. Now it can come along.

cptr (short for "computer") runs on your machine and puts the whole thing in a browser tab. Pull out your phone and you're in. Files, editor, terminal, git, running on the computer you already own.

Push a hotfix from the train. Check on a deploy from bed. Ship a side project from the park. Stage and commit without touching the command line, or open the terminal and do it the old way. Search across files. Preview markdown. Drag things around. Switch between projects without losing your place.

Close the tab. Come back tomorrow on any device. Everything is where you left it. Sessions survive disconnects. Your work doesn't care which screen you're on.

AI is there if you want it. Bring your own key. Works fine without it.

Life is short. Touch grass.

Design principles

Mobile is first-class. The interface is built for the phone. Touch-native, portrait-native, designed for the screen people carry. Sessions survive disconnects because on a phone, they will. If a feature only works at a desk, it's not done.

Your machine. cptr serves the machine it runs on. The local filesystem, the local shell, local state. Where that machine lives is up to you.

Computer, not chat. The core is the filesystem, the terminal, and git. Files over apps. Plain files on your machine, not content trapped inside another product. AI conversations are files too: searchable, editable, movable, commit-able. cptr is a window into the real system, not a container on top of it.

Read our Manifesto.

Install

pip install cptr

Run

cptr run

Opens in your browser. From other devices:

cptr run --host 0.0.0.0

Docker

Run cptr with Docker:

docker run --rm -it \
  -p 8000:8000 \
  -v cptr-data:/data \
  -v "$PWD:/workspace" \
  -w /workspace \
  ghcr.io/open-webui/computer:latest

Then open the URL printed in the logs, usually http://localhost:8000/?token=....

cptr stores its state in /data. Mount your project into the container, like -v "$PWD:/workspace", so cptr can access it.

The :dev image is also available and tracks the main branch.

Security model

cptr is designed as your computer, served to you. Once authenticated, a user has full access to the host filesystem and shell, equivalent to an SSH session. There is no path sandboxing and no per-user isolation.

This is safe when you are the only user and you control the network. It is not safe if untrusted users share the instance, it is exposed to the public internet, or a reverse proxy forwards spoofable auth headers. Treat a shared cptr like an open SSH port.

License

Open Use License. Source available. All rights reserved. See LICENSE. Enterprise licenses available.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cptr-0.1.7.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cptr-0.1.7-py3-none-any.whl (105.4 kB view details)

Uploaded Python 3

File details

Details for the file cptr-0.1.7.tar.gz.

File metadata

  • Download URL: cptr-0.1.7.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cptr-0.1.7.tar.gz
Algorithm Hash digest
SHA256 95f73e038a014c2879fffe732febc6bdba23a2e7e939d7fbbd3404cc7614e63b
MD5 d544f0e00300fd7c9b8975c0d60306fe
BLAKE2b-256 fc049c64197862c69af1a27f545f93835a9c1b95fc9b1944de99cfa7215df14a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cptr-0.1.7.tar.gz:

Publisher: pypi.yml on open-webui/computer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cptr-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: cptr-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 105.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for cptr-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d408b8dc63ac962665e4da4aa2ba4df6e290154f25f505e0bf6daf764bc1739b
MD5 f131159a287b196fb37e76e639421690
BLAKE2b-256 96aa3cfb6b730a4fc90b4a90ea7ce4f4abfa53e633be3fbc21ac480377a1af13

See more details on using hashes here.

Provenance

The following attestation bundles were made for cptr-0.1.7-py3-none-any.whl:

Publisher: pypi.yml on open-webui/computer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page