Metadata-Version: 2.4
Name: rtfmup
Version: 0.1.0
Summary: Set up any repo from its README.
Keywords: setup,readme,cli,developer-tools,bootstrap
Author: xb17
Author-email: xb17 <10093951+xb17@users.noreply.github.com>
License-Expression: Apache-2.0
License-File: LICENSE
Classifier: Development Status :: 1 - Planning
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Build Tools
Requires-Dist: docutils>=0.23
Requires-Dist: markdown-it-py>=4.2.0
Requires-Dist: packaging>=26.3
Requires-Dist: platformdirs>=4.14.5
Requires-Dist: pydantic>=2.14.3
Requires-Dist: pyyaml>=6.0.3
Requires-Dist: rich>=15.0.0
Requires-Dist: typer>=0.28.0
Requires-Python: >=3.11
Project-URL: Homepage, https://github.com/xb17/rtfmup
Project-URL: Repository, https://github.com/xb17/rtfmup
Project-URL: Issues, https://github.com/xb17/rtfmup/issues
Description-Content-Type: text/markdown

# rtfmup

**Set up any repo from its README.**
Read The Fine Manual, then bring it `up`.

> ⚠️ **Early development.** This release analyses a repo and reports what it found. It does not set anything up yet: `up`, `plan` and the other commands are stubs.

## What it will do

`rtfmup` takes a Git repo (a URL or a local path), works out what it is, and gets it running on your machine, whether or not you know its language, package manager, or runtime. Dependency manifests describe *what* a project needs but not the full path from clone to running. That path usually lives in the README. rtfmup reads manifests as ground truth and parses the README's structure (headings, fenced shell blocks, env vars, ports) as data. No LLM is required. It turns both into a reviewed, step-by-step plan: runtime → dependencies → environment → run. Nothing runs without your confirmation.

## Install

```console
uvx rtfmup --version
```

## Usage today

```console
rtfmup --version
rtfmup scan [path|url]          # analyse a repo (default: .); a URL is cloned into the cache dir
rtfmup scan [path|url] --json   # the same analysis as JSON (schema: rtfmup schema)
rtfmup scan [path|url] --fresh  # ignore the cached analysis
```

`scan` is read-only. It reads manifests (Python, Node, Rust, Go, Ruby, PHP, .NET, Docker and Compose,
env templates, Makefile/Justfile, devcontainer, CI, deployment files), reads the README
(`.md` and `.rst`), classifies the commands it finds, and reports conflicts between the two and
questions it would have to ask. It never runs anything from the repo.

## Planned CLI

```console
rtfmup <url|path>   # full flow: analyse, show plan, confirm, set up, run
rtfmup scan <path>  # analysis only (manifests + README), as summary or JSON
rtfmup plan <path>  # show the execution plan without running anything
```

## Roadmap

1. **Detection engine:** manifest scanner, README Markdown-AST parser, command classification (install / setup / run).
2. **Plan generator:** an ordered plan with gaps surfaced (missing runtimes, env values, external services).
3. **Executor (Windows first):** invokes existing tools (`uv`, `npm`, `cargo`, …), guides `.env` setup, runs the project, and health-checks it.
4. **Polish:** recovery from common failures and clearer diagnostics.

**Platform:** Windows first.

## License

[Apache-2.0](LICENSE)
