Skip to main content

A minimal HTTP server with Cross-Origin isolation headers for high-resolution timers

Project description

orz.http.server

test

A minimal HTTP server that sends Cross-Origin isolation headers, enabling high-resolution timers (performance.now() at microsecond precision) in the browser. Useful for Unity Profiler and other tools that depend on accurate timing.

Tested on Linux / Windows / macOS with Python 3.8+. MCP tools require Python 3.10+.

Install

python -m pip install -e .

Usage

python -m orz.http.server port

Android

Forward the port via adb, then open in Chrome:

adb reverse tcp:port tcp:port
adb shell am start -a android.intent.action.VIEW -d "http://localhost:port"

Note

Always access via localhost:port, not ip:port.

MCP Server

For AI assistants (Claude Code, Cursor, etc.):

pip install -e ".[mcp]"

Claude Code config:

{
  "mcpServers": {
    "orz.http.server": {
      "command": "python",
      "args": ["-m", "mcp", "run", "orz.http.mcp:mcp"]
    }
  }
}

Tools: start_server, stop_server, server_status, adb_reverse, adb_open_browser

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

orz_http_server-0.1.0.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

orz_http_server-0.1.0-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file orz_http_server-0.1.0.tar.gz.

File metadata

  • Download URL: orz_http_server-0.1.0.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for orz_http_server-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c7765930fbb96fad690a3a6045fbf067841cb6e82a808880d73eb69198c10950
MD5 be4d4cff0892efd16264588c516ed8ca
BLAKE2b-256 b776835b83ff7a382969fae9b1a24ceb5488533a3190089daad2e9a02b6a1f22

See more details on using hashes here.

Provenance

The following attestation bundles were made for orz_http_server-0.1.0.tar.gz:

Publisher: release.yml on universaltechnologies/orz.http.server

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

File details

Details for the file orz_http_server-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for orz_http_server-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3c825e8ff89645aa11dcc0880fceee11802f4a9036b2e878c731378ff4ea454
MD5 085e4473017ce33dd7a40590a735df1c
BLAKE2b-256 e93a44769fd94ab07407c3c9ecbd42b9465b37a94f60e70907e92f7c90f79bea

See more details on using hashes here.

Provenance

The following attestation bundles were made for orz_http_server-0.1.0-py3-none-any.whl:

Publisher: release.yml on universaltechnologies/orz.http.server

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