Skip to content

Bangkah/Atha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ATHA

ATHA Logo

AUR version License: MIT

ATHA is a lightweight package manager wrapper for Arch Linux, built on top of pacman. It provides a clean command interface for daily package operations while preserving native Arch behavior.

ATHA positioning:

  • Safety and workflow layer for pacman.
  • Focused on safety, transparency, and auditability.
  • Not a replacement for pacman or yay.

Why ATHA Exists

ATHA was created to simplify daily package operations while keeping full control of Arch Linux behavior.

  • Reduces command complexity for common workflows.
  • Improves readability with consistent output and clear status messages.
  • Adds a predictable workflow with planning, validation, and history.

Problems ATHA Solves

  • Package actions often run as black-box operations for everyday users.
  • It is difficult to review what will happen before install.
  • Native command history is not tailored for package-operation auditing.

Core Pillars

  1. Safety
  • Dry-run mode for install, remove, and update.
  • Confirmation layer before package-changing operations.
  1. Transparency
  • Decision analysis before execution (--plan).
  • Decision transparency with source selection (official, AUR, or skip).
  • Plan mode with transaction simulation (requested + dependency packages).
  1. Auditability
  • Structured operation history via atha history.
  • Timeline view via atha history --timeline.
  • Summary and filters for operational audits.

Overview

  • Uses pacman for official repositories.

  • Falls back to AUR build flow when a package is not found in official repos.

    • Official repositories via pacman.
    • AUR fallback via git clone and makepkg -si.
  • Execution planning before installation (official, AUR, or skip).

  • Plan mode with dependency simulation for official packages.

  • Dry-run mode for install, remove, and update. ATHA is not only a command alias wrapper. It adds workflow-level behavior around pacman.

  • Install planning that previews source and action per package before execution. | Feature | pacman | yay | ATHA | | --- | --- | --- | --- | | Dry-run on workflow commands | No | Limited | Yes | | Install planning preview | No | Limited | Yes | | Plan mode with dependency simulation | No | No | Yes | | Plan explanations (decision reasoning) | No | No | Yes | | Operation history timeline | No | No | Yes | | Safety confirmation layer | Limited | Limited | Yes |

Requirements

  • Arch Linux
  • bash
  • pacman
  • sudo
  • git (required for AUR fallback installs)
  • makepkg (required for AUR fallback builds)

Installation

AUR (recommended)


### One-line install (curl)

```bash
curl -fsSL https://raw.githubusercontent.com/Bangkah/Atha/main/install.sh | bash

One-line install (wget)

wget -qO- https://raw.githubusercontent.com/Bangkah/Atha/main/install.sh | bash

Quick Start

atha install vim
atha search python
atha list installed
atha info bash
atha doctor
atha history --limit 20
atha update

Command Reference

atha install <pkg> [pkg2 ...]
atha install --plan <pkg> [pkg2 ...]
atha install --dry-run <pkg> [pkg2 ...]
atha remove <pkg> [pkg2 ...]
atha remove --plan <pkg> [pkg2 ...]
atha search <keyword>
atha update [--dry-run|--plan]
atha list [installed|all]
atha info <pkg>
atha doctor
atha history [--limit N] [--full|--timeline]
atha --help

Options on modifying commands:

  • --plan: decision analysis mode (what will happen and why)
  • --dry-run: execution simulation mode (what command would run)
  • --yes: skip confirmation prompts when supported

Operational Behavior

  • install skips packages that are already installed.
  • install automatically tries AUR if package is missing in official repositories.
  • install prints an execution plan before running and can simulate dependencies and download sizes.
  • remove prompts for confirmation unless --yes is used.
  • remove supports plan-mode preview and skips packages that are not installed.
  • update supports dry-run and plan-mode with update availability checks.
  • list all output is intentionally limited for readability.
  • doctor exits with non-zero status when required dependencies are missing.
  • history stores operation timeline in user state directory.

Logging

ATHA writes logs to:

  • /tmp/atha.log when writable
  • fallback: $XDG_CACHE_HOME/atha/atha.log or ~/.cache/atha/atha.log

ATHA stores operation history at:

  • $XDG_STATE_HOME/atha/history.log or ~/.local/state/atha/history.log

Troubleshooting

  • pacman: command not found
    • ATHA must run on Arch Linux.
  • Permission denied (publickey) while publishing to AUR
    • Add the correct SSH public key in your AUR account settings.
  • Frequent sudo prompts
    • Expected for privileged operations such as install, remove, and update.

User Feedback Loop

ATHA is maintained with a practical feedback loop so improvements are based on real usage, not assumptions.

  1. Use ATHA in daily package workflows.
  2. Report issues with reproducible steps and command output.
  3. Classify feedback into safety, transparency, or auditability.
  4. Ship focused fixes in small releases with clear changelog entries.
  5. Verify improvements with the same user scenarios.

When reporting feedback, include:

  • ATHA version (atha --help header)
  • Command used
  • Expected behavior
  • Actual behavior
  • Relevant output/error message

Feedback channels:

Documentation

Project Links

Branding Assets

Optional PNG export on Arch Linux:

sudo pacman -S librsvg
rsvg-convert -h 512 -w 512 assets/branding/atha-mark.svg > assets/branding/atha-mark-512.png
rsvg-convert -h 512 -w 512 assets/branding/atha-avatar.svg > assets/branding/atha-avatar-512.png
rsvg-convert -h 630 -w 1200 assets/branding/atha-banner.svg > assets/branding/atha-banner-1200x630.png

License

MIT License. See LICENSE.

About

ATHA is a lightweight workflow wrapper for `pacman` that improves safety, transparency, and auditability without replacing native behavior.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages