README truth check for developer onboarding.
Awal is a small local CLI that checks whether a repo's README still matches the repo itself. It catches missing package scripts, package-manager drift, missing compose files, stale env examples, broken Docker notes, missing local ports, and setup commands that no fresh developer can actually run.
No command execution. No network calls. No cloud upload. No LLM.
python3 -m pip install -e .Install the first tagged CLI release directly from GitHub:
python3 -m pip install "git+https://github.com/mara-org/awal.git@v0.1.0"PyPI can come later if the package earns it.
awal .
awal scan ./some-repo
awal examples/broken-appRun without installing:
PYTHONPATH=src python3 -m awal examples/broken-appawal . --format text
awal . --format json --output awal-report.json
awal . --format csv --output awal-report.csv
awal . --format sarif --output awal.sarifExit codes:
0: pass1: review findings found2: blocked by--fail-on
Awal looks for common README drift issues:
- README commands that call missing
package.jsonscripts. npm,pnpm,yarn, orbundrift against the lockfile.npm testpointing to the default fake test script.- Docker Compose commands with no compose file.
- Docker build commands with no Dockerfile.
- Python install commands with no
pyproject.toml,setup.py, orrequirements.txt. - README
.envinstructions with no.env.example. - Env vars used in code but missing from
.env.example. - Secret-looking values committed inside example env files.
- README URLs whose port disagrees with the dev script.
- README commands that
cdinto folders that do not exist. - Risky bootstrap commands like
curl | bash,chmod 777, or destructiverm.
awal uiOpen http://127.0.0.1:8774/ to type a local repo path and scan it.
Use Awal as a PR gate:
name: Awal
on: [pull_request]
permissions:
contents: read
jobs:
readme-truth:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: mara-org/awal@v0.1.0
with:
path: .
fail-on: highpython3 -m unittest discover -s tests
python3 -m compileall src tests
python3 -m pip wheel . -w /tmp/awal-wheelAwal does not run your README commands. It statically checks whether the commands, files, env keys, package scripts, and ports mentioned in the README match what exists in the repo.
Maintained by Mara.
Created by @gqnxx.
