Skip to content

PsymoNiko/bedepacko

Repository files navigation

bedepacko logo

bedepacko – fast, safe, modern package manager

Rust License Tests GitHub release

bedepacko is a next‑generation package manager that combines the speed of Rust with the convenience of shell scripting. After a complete rewrite, the core engine (bede-engine) delivers parallel downloads, memory safety, and true concurrency – no more slow shell loops or fragile error handling.

⚠️ Status: The Rust engine is feature‑complete and ready for testing. You are invited to try it out and report any issues. The APT, Snap, and curl installers are being finalised – for now, use the manual build method below.


✨ What’s new (Rust rewrite)

  • 🚀 10x faster – parallel async downloads with tokio + reqwest
  • 🛡️ Memory‑safe – eliminates entire classes of security bugs
  • ⚡ True concurrency – data‑race free by design
  • 🔁 Reproducible – lockfile support for deterministic installations
  • 🌍 Cross‑platform – same experience on Linux, macOS, and Windows (WSL)

📦 Installation (for testing)

Choose the method that suits your environment.

🧪 Manual build from source (recommended for testing)

git clone https://github.com/PsymoNiko/bedepacko.git
cd bedepacko/bede-engine
cargo build --release
sudo cp ../bede.sh /usr/local/bin/bede
sudo cp target/release/bede-engine /usr/local/bin/

Then verify:

bede chi

🐧 APT (coming soon – preview)

sudo add-apt-repository ppa:psymoniko/bedepacko
sudo apt update
sudo apt install bede

🧩 Snap (coming soon – preview)

sudo snap install bedepacko

🦀 cargo install (when published on crates.io)

cargo install bede-engine

🌐 Universal one‑liner (when install.sh is ready)

curl -fsSL https://raw.githubusercontent.com/PsymoNiko/bedepacko/main/install.sh | bash

🎮 Basic usage (your custom commands)

Command Alias What it does bede biad nmap bede install nmap Install a package bede chi bede list List installed packages bede bere nmap bede remove nmap Remove a package bede resolve nmap – Show dependencies without installing bede lock nmap – Generate a lockfile


🧰 How it works (architecture)

· bede.sh – thin wrapper script, stays in /usr/local/bin · bede-engine – Rust binary that does all heavy lifting: · Parallel downloads with progress bars · Dependency resolution using petgraph · Lockfile generation (bede.lock) · Safe file operations

All state lives in ~/.local/share/bedepacko/ – no root required after install.


🤝 Contributing

Testing is the most valuable contribution right now! Try bede biad on your favourite packages and open an issue if something unexpected happens.


📄 License

MIT © PsymoNiko


Built with Rust – because package managers should be fast and fearless.