Metadata-Version: 2.4
Name: cptr
Version: 0.1.2
Summary: Your computer, from anywhere. Code, manage, and control your machine from the web.
License: Open Use License
        
        Copyright © 2026 Open WebUI Inc. All rights reserved.
        
        This software is licensed under the Open Use License, which incorporates the
        Elastic License 2.0 ("ELv2") in full with the additional conditions set forth
        below. In the event of any conflict between the additional conditions and ELv2,
        the additional conditions shall control.
        
        The full text of ELv2 is available at:
        https://www.elastic.co/licensing/elastic-license
        
        Attribution Preservation
        
        You may not remove, modify, obscure, replace, or supplement any attribution
        elements of the software in any deployment, distribution, or derivative work.
        Attribution elements are any elements identifying the origin of the software,
        such as logos, icons, visual marks, the product name, copyright notices,
        attribution statements, and about screens or version information.
        
        Multi-Tenant Use
        
        You may not host, deploy, manage, or otherwise facilitate multiple instances
        of the software or its derivative works as a service.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Requires-Python: >=3.9
Requires-Dist: aiosqlite>=0.20
Requires-Dist: alembic>=1.13
Requires-Dist: bcrypt>=4.0
Requires-Dist: click>=8.1
Requires-Dist: cryptography>=42.0
Requires-Dist: fastapi[standard]>=0.128.8
Requires-Dist: httpx>=0.28.1
Requires-Dist: pyjwt>=2.8
Requires-Dist: python-socketio[asgi]>=5.11
Requires-Dist: pywinpty>=2.0; sys_platform == 'win32'
Requires-Dist: sqlalchemy[asyncio]>=2.0
Requires-Dist: watchdog>=6.0.0
Provides-Extra: pam
Requires-Dist: python-pam>=2.0; extra == 'pam'
Description-Content-Type: text/markdown

# cptr

![Cptr Demo](./demo.png)

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](MANIFESTO.md).

## Install

```bash
pip install cptr
```

## Run

```bash
cptr run
```

Opens in your browser. From other devices:

```bash
cptr run --host 0.0.0.0
```

## Docker

Run cptr with Docker:

```bash
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.

## License

Open Use License. Source available. All rights reserved. See [LICENSE](LICENSE). [Enterprise licenses available](mailto:sales@openwebui.com).
