Skip to main content

urirun-service-android-node

Service on port 8195 for connecting Android devices and browser pages to a urirun host.

Two separate roles:

  • Android setup — QR page, ADB instructions, Termux bootstrap, APK download.
  • Webpage node relay — any browser page that opens the service URL registers as a webpage node and exposes /health, /routes, /run through the relay.

Start

urirun-android-node serve --host 0.0.0.0 --port 8195

Open the printed URL on a phone or another browser. To replace an old process on the same port:

urirun-android-node restart --host 0.0.0.0 --port 8195 --force-replace

APK download

The setup page (Path C) shows available APKs with a QR code for direct phone download.

GET /apk/        — JSON list of available APKs
GET /apk/<file>  — download APK

Current APK:

File Arch Android Size
urirunnode-0.3.0-arm64-v8a-debug.apk arm64-v8a (64-bit) 12+ (API 31) 18 MB

The service checks these directories (first match wins per filename):

  1. URIRUN_ANDROID_NODE_APK_DIRS or URIRUN_ANDROID_NODE_APK_DIR (env override)
  2. urirun-service-android-node/apk/ ← stable distribution location
  3. urirun-android-node-app/bin/ ← Buildozer output
  4. ~/.urirun/android-node/apk/

To build and publish a new APK:

cd /home/tom/github/if-uri/urirun-android-node-app
URIRUN_ANDROID_BUILD_SKIP_IMAGE=1 make docker-apk

docker-apk copies the result to urirun-service-android-node/apk/ automatically. The page reloads the list dynamically — no service restart needed.

Browser plugins

GET /plugins              — JSON list of available plugins
GET /plugins/chrome.zip   — Chrome extension zip
GET /plugins/firefox.zip  — Firefox extension zip

Plugins are served when their source directories exist next to this repo:

cd /home/tom/github/if-uri/chrome-plugin && make package
# Chrome: chrome://extensions → Developer mode → Load unpacked

cd /home/tom/github/if-uri/firefox-plugin && make package
# Firefox: about:debugging → Load Temporary Add-on → manifest.json

Webpage node relay

Opening the setup page on a phone/browser auto-registers it as a webpage node. The host can reach it immediately through the relay endpoint.

GET  /api/webpage-node/list
GET  /api/webpage-node/relay/<id>/health
GET  /api/webpage-node/relay/<id>/routes
POST /api/webpage-node/relay/<id>/run
POST /api/webpage-node/register
POST /api/webpage-node/forget

Routes exposed per device (replace {id} with the assigned device id):

webpage://{id}/page/query/info
webpage://{id}/page/query/text
webpage://{id}/page/query/devices
webpage://{id}/page/command/navigate
webpage://{id}/page/command/eval
webpage://{id}/camera/query/status
webpage://{id}/camera/command/start
webpage://{id}/sensor/query/capabilities
webpage://{id}/user/query/activity
webpage://{id}/iframe/command/open

Legacy /api/web-node/... endpoints are accepted as aliases.

All endpoints

GET  /                          setup page (HTML)
GET  /qr.png                    QR code for this page (or ?url=... for arbitrary URL)
GET  /bootstrap.sh              Termux bootstrap script
GET  /apk/                      APK list (JSON)
GET  /apk/<file>                APK download
GET  /plugins                   browser plugin list (JSON)
GET  /plugins/chrome.zip        Chrome extension
GET  /plugins/firefox.zip       Firefox extension
GET  /api/status                ADB devices + service info
POST /api/connect               register an Android node by IP:port
GET  /api/webpage-node/list     list connected webpage nodes
GET  /api/webpage-node/relay/<id>/health
GET  /api/webpage-node/relay/<id>/routes
POST /api/webpage-node/relay/<id>/run

Metadata

Release files for urirun-service-android-node 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for urirun-service-android-node 0.1.0
File Size Uploaded Provenance Actions
urirun_service_android_node-0.1.0.tar.gz 25.2 kB Without provenance Details for urirun_service_android_node-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for urirun-service-android-node 0.1.0
File Interpreter ABI Platform Actions
urirun_service_android_node-0.1.0-py3-none-any.whl Python 3 none any Details for urirun_service_android_node-0.1.0-py3-none-any.whl

Total release size: 47.2 kB

Release files / urirun_service_android_node-0.1.0.tar.gz

Download URL urirun_service_android_node-0.1.0.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
41ac203c0c6c0cee93782a1f239d1db711dd3f5fdfbd5bf66f5db255fe26e959
BLAKE2b-256 checksum
How to use checksums
ff46492b58a2f4c30cde09152132e5f664f53e8a14c95a06127ec7c7d3744b21
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Release files / urirun_service_android_node-0.1.0-py3-none-any.whl

Download URL urirun_service_android_node-0.1.0-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
49b6468b0e47977a9f1f28cbfa31701f205b835aa83724267fda641eb5411d90
BLAKE2b-256 checksum
How to use checksums
1f4f176ef0a0fb85ab6136b1407b8b5ed0b38f3f7f8920bad4936b9740ffac2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.7

Security for urirun-service-android-node 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page