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

Uploaded Python 3

File details

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

File metadata

  • Download URL: unirun_cli-0.4.2.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.2.tar.gz
Algorithm Hash digest
SHA256 fcba2dc605e72989a84112c6073cc5f197f5f47b6639ead48e58f845f36e7206
MD5 b60023184d58fc33c1502daff788ef82
BLAKE2b-256 78e4242e70c679614998f9bf478b89ca81c98acba726f1925d63d671a4a0ed7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unirun_cli-0.4.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6b957911c3d2f61565a03ec0c1a8fda1183da5ffb6f54d9b3b4f5e6f8b7c66b9
MD5 ea76ab5e1375db07e90c62a569ecc187
BLAKE2b-256 4dc8291e6ab864d119068c812a7ce87e6abf7f6f1b5db15736e6cd3de2fde59e

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