Metadata-Version: 2.4
Name: justx
Version: 0.0.4a2
Summary: A TUI command launcher built on top of just. Define recipes once, run them anywhere.
Project-URL: Homepage, https://fpgmaas.github.io/justx/
Project-URL: Repository, https://github.com/fpgmaas/justx
Project-URL: Documentation, https://fpgmaas.github.io/justx/
Author-email: Florian Maas <fpgmaas@gmail.com>
License-File: LICENSE
Keywords: cli,just,justfile,task-runner,terminal,textual,tui
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: <4.0,>=3.10
Requires-Dist: click>=8.0
Requires-Dist: pydantic>=2.12.5
Requires-Dist: questionary>=2.1.1
Requires-Dist: rich>=14.3.3
Requires-Dist: textual>=8.1.1
Description-Content-Type: text/markdown

<p align="center">
  <img alt="justx logo" width="400" height="240" src="https://raw.githubusercontent.com/fpgmaas/justx/refs/heads/main/docs/static/justx-logo-path.svg">
</p>


<p align="center">
  <a href="https://img.shields.io/github/v/release/fpgmaas/justx"><img alt="Release" src="https://img.shields.io/github/v/release/fpgmaas/justx"></a>
  <a href="https://github.com/fpgmaas/justx/actions/workflows/main.yml?query=branch%3Amain"><img alt="Build status" src="https://img.shields.io/github/actions/workflow/status/fpgmaas/justx/main.yml?branch=main"></a>
  <a href="https://pypi.org/project/justx/"><img alt="Supported Python versions" src="https://img.shields.io/pypi/pyversions/justx"></a>
  <a href="https://pypistats.org/packages/justx"><img alt="PyPI - Downloads" src="https://img.shields.io/pypi/dm/justx"></a>
</p>

---


<p align="center">
<bold>justx</bold> is a TUI command launcher built on top of <a href = "https://github.com/casey/just">just</a>. Define recipes once, run them anywhere.
</p>


<p align="center">
  <img src="https://raw.githubusercontent.com/fpgmaas/justx/assets/demo.gif" alt="justx TUI demo"/>
</p>


---

<p align="center">
  <a href="https://fpgmaas.github.io/justx/">Documentation</a> &nbsp;·&nbsp;
  <a href="https://pypi.org/project/justx/">PyPI</a>
</p>

---

## Installation

```shell
uv tool install justx   # recommended
# or
pip install justx
```

> **Prerequisite:** the [`just`](https://github.com/casey/just#installation) binary must be available on `$PATH`.

## Quickstart

**1. Initialise your global recipe library:**

```shell
justx init
```

This creates `~/.justx/` with a sample justfile to get you started. To pull in a richer set of ready-made recipes (git, docker, filesystem tools, and more), run:

```shell
justx init --download-examples
```

**2. Launch the TUI:**

```shell
justx
```

Browse your recipes with the arrow keys and press `Enter` to run one. Press `q` to quit.

## Global recipes

**justx** supports global recipes; recipes that are available from anywhere on your machine, no matter which project you're in.

Split them into topic-focused files if you like:

```
~/.justx/
├── justfile        # everyday catch-all recipes
├── git.just        # git workflows
├── docker.just     # container management
└── ssh.just        # remote connections
```

For example, `~/.justx/docker.just` might contain:

```just
# Run a container interactively with a shell
shell image_tag:
    docker run --rm -it --entrypoint bash {{image_tag}}
```

**justx** discovers these automatically and makes them available everywhere on your system by running `justx` in your terminal.

You can also skip the TUI and run recipes directly with `justx run`:

```shell
# Run 'shell' from the global 'docker' source with `my-image` as the tag
# Equivalent to: just --justfile ~/.justx/docker.just --working-directory . shell my-image
justx run -g docker:shell my-image
```

---

For full configuration details, file discovery behaviour, CLI reference, and example justfiles, see the [documentation](https://fpgmaas.github.io/justx/).
