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.0.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.0-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unirun_cli-0.4.0.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.0.tar.gz
Algorithm Hash digest
SHA256 cea4ee7cb8f2b26fa3c61c04bea764a4833fd873c3bfa825c716ec8807ff9bfc
MD5 a3fa9584fc039b43ff8608c069fdfc86
BLAKE2b-256 ff47932a7c0a937d0960f57333eed276b983120019a4473585412e1abc61c48d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unirun_cli-0.4.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c946329db3523bf84d9af28fdda00b5b4433d69b61540961a6e662ed88c1868
MD5 da8e57a079177b7a4a9bddc8dee0fba2
BLAKE2b-256 decc23b0bb92eec4ae451caed43fa9d255d93a5c38addb3c769cd2eec70606fb

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