Skip to main content

Run openvscode-server anywhere with uvx

Project description

portable-ovscode

PyPI

Run openvscode-server anywhere with a single command. No pre-install needed — just uvx.

Quick Start

# SSH to your server, then:
uvx portable-ovscode --port 3000 --folder ~/project

That's it. It downloads openvscode-server (if not cached), generates a token, starts the server, and prints the URL.

Usage

uvx portable-ovscode [OPTIONS] [-- EXTRA_ARGS]
Flag Default Description
--install-dir DIR ~/.local/share/openvscode-server Where to put the binary
--version VER 1.109.5 openvscode-server version
--host ADDR 127.0.0.1 Bind address
--port PORT 3000 Bind port
--token TOKEN auto-generated Connection token
--no-token Disable auth token
--folder PATH Default folder to open
--install-only Download only, print binary path

Extra arguments after -- are passed directly to openvscode-server.

Examples

# Install + run on port 8080, open ~/work
uvx portable-ovscode --port 8080 --folder ~/work

# Custom install location
uvx portable-ovscode --install-dir /opt/ovscode --folder ~/project

# Specific version
uvx portable-ovscode --version 1.95.3 --folder ~/code

# Just install, don't start
uvx portable-ovscode --install-only

# With SSH tunnel (from local machine)
ssh -L 3000:127.0.0.1:3000 user@remote
# then on remote:
uvx portable-ovscode --folder ~/project
# open http://127.0.0.1:3000/?tkn=<printed-token> locally

How It Works

  1. Detects platform architecture (x64/arm64).
  2. Downloads the release tarball from GitHub (cached in --install-dir).
  3. Generates a random connection token.
  4. Starts openvscode-server bound to loopback by default.
  5. Prints the URL with token to stderr.

License

MIT

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

portable_ovscode-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

portable_ovscode-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file portable_ovscode-0.1.1.tar.gz.

File metadata

  • Download URL: portable_ovscode-0.1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for portable_ovscode-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aa747e710bfa5d402bb7592c21a1b3827624930537e46400f2997774e05b55ac
MD5 f3903d68d84138e67a81d9ca75dc36ed
BLAKE2b-256 8b56927349c5683f6cfdbe958bf08923b1c0b6aaa71a9c677819d480512f85f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for portable_ovscode-0.1.1.tar.gz:

Publisher: publish.yml on iamwrm/portable_ovscode

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

File details

Details for the file portable_ovscode-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for portable_ovscode-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2789d3bce31bf9f905daddaed58457fbf03477d8a52b49be17ba08ffecc1f2d7
MD5 77ea1f058928919784fa78c0c5f497a1
BLAKE2b-256 11f5fc5ce91ccc7c9c193e1321fd8fefe8a66c39a9d14fa17262717a7d0d84f6

See more details on using hashes here.

Provenance

The following attestation bundles were made for portable_ovscode-0.1.1-py3-none-any.whl:

Publisher: publish.yml on iamwrm/portable_ovscode

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