Skip to main content

Run Anything. Anywhere. — Universal Application Runtime orchestration layer

Project description

UniRun

Run Anything. Anywhere.

UniRun is a universal application runtime orchestration layer for Linux. It automatically detects what kind of file you're trying to run and routes it to the correct runtime — no more remembering wine, waydroid, xdg-open, or chmod +x.

unirun setup.exe              # Automatically runs via Wine
unirun game.apk                # Installs via Waydroid
unirun app.AppImage            # Makes executable and launches
unirun document.pdf            # Opens with system default
unirun firefox                 # Finds and launches system binary
unirun https://example.com     # Opens in browser

Install

PyPI (recommended)

pip install unirun

Arch Linux (AUR)

yay -S unirun-git

From Source

git clone https://github.com/KasishStar/UniRun.git
cd UniRun
pip install -e .

Usage

unirun <command> [arguments]
unirun <file_path_or_command_name>

Commands

Command Description
run <file> Explicitly run a file with auto-detected runtime
search <query> Search filesystem for matching files
install <package> Install a runtime or package
doctor Check installed runtimes status
history Show recently launched files
config Show current configuration
version Show version
help Show help

Options

Flag Description
--verbose, -v Enable detailed logging

Direct Launch

You can skip the run command entirely:

unirun setup.exe
unirun game.apk
unirun firefox

Configuration

Config file: ~/.config/unirun/config.json

{
  "search_dirs": ["~/Downloads", "~/Documents"],
  "history_file": "~/.local/share/unirun/history.log"
}

Set UNIRUN_CONFIG environment variable for a custom config path.

How It Works

  1. Detect — UniRun checks the file extension and type
  2. Route — It hands off to the correct runtime:
    • .exe, .msi → Wine
    • .apk → Waydroid
    • .AppImage → Native execution
    • .pdf, .png, .mp4, .mp3, etc. → XDG default app
    • http://, https:// → Web browser
    • Everything else → Native execution
  3. Fallback — If the file isn't found, UniRun searches common directories

Supported Runtimes

  • Wine — Windows executables
  • Waydroid — Android applications
  • AppImage — Portable Linux packages
  • XDG — Documents, images, videos, audio
  • Native — System binaries and scripts
  • Web — URLs opened in browser

Development

git clone https://github.com/KasishStar/UniRun.git
cd UniRun
pip install -e .
python tests/test_all.py

License

MIT — Created by Kasish

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

unirun_cli-0.4.1.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

unirun_cli-0.4.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file unirun_cli-0.4.1.tar.gz.

File metadata

  • Download URL: unirun_cli-0.4.1.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for unirun_cli-0.4.1.tar.gz
Algorithm Hash digest
SHA256 179560f74685beea241bc34902f17c22fa0600f14f8a02f3cbc86f037da16d73
MD5 55e91bc12eeef1247cff609f9ba0d3f7
BLAKE2b-256 3b613c5d4db515d23f431f9942e55dc2d6d84ba33e360b30542c3700e4734ddc

See more details on using hashes here.

File details

Details for the file unirun_cli-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: unirun_cli-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for unirun_cli-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 791ca6c70915da0252a921c7dbfdcf4622ca49f6bda2c4bf04127dbd705f2784
MD5 03c18b95ef4bef2ebe89f948d2c6be84
BLAKE2b-256 e9ad92869fe2c63f29b3b23bb03d6f29e87f5057c62b9b9ae19057ecb460ccce

See more details on using hashes here.

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