Skip to content
Ali Mohammadnia edited this page Feb 8, 2025 · 1 revision

Here's a catchy and well-structured GitHub Wiki page for your Bede Package Manager:


πŸ“¦ Bede - The Lightweight Bash Package Manager

Welcome to Bede, the minimal yet powerful package manager designed specifically for managing and installing Bash scripts. Whether you're distributing shell utilities, automating installations, or simply organizing your system scripts, Bede makes it easy, fast, and seamless.


πŸš€ What is Bede?

Bede is a custom package manager built for installing, updating, and managing Bash scripts. Instead of dealing with manual downloads, permission settings, and executable paths, Bede handles everything for you.

βœ” Fetch and install Bash-based tools with one command
βœ” Automatically manage dependencies
βœ” Works on multiple Linux distributions
βœ” Simple, fast, and lightweight


πŸ“œ Features

βœ… Easy to Use - Install scripts with bede install <package>
βœ… Cross-Platform - Works on Debian, Ubuntu, Fedora, Arch, openSUSE, and more
βœ… Dependency Management - Installs required dependencies automatically
βœ… Custom Script Hosting - Pulls from a centralized packages.json repository
βœ… Fallback Support - If a package isn’t found, it attempts installation via your system package manager
βœ… No Bloat - Small, efficient, and easy to extend


πŸ›  Installation

1️⃣ Clone the Repository

git clone https://github.com/PsymoNiko/bedepacko.git
cd bedepacko

2️⃣ Move bede to a System Path

sudo mv bede /usr/local/bin/bede
sudo chmod +x /usr/local/bin/bede

3️⃣ Verify Installation

bede --help

πŸ“Œ How to Use Bede

πŸ” List Available Packages

bede list

This fetches the list of available Bash scripts from the packages.json repository.

πŸ“₯ Install a Package

sudo bede install <package-name>

If the package exists in the repository, Bede downloads and installs it.
If not, it attempts to install it via your system package manager.

❌ Remove a Package

bede remove <package-name>

This removes the installed script from /usr/local/bin.


βš™οΈ How It Works

  • Bede fetches available scripts from a central packages.json hosted on GitHub.
  • If a requested package exists, Bede downloads the script and makes it executable.
  • If the package has dependencies, Bede installs them using your system's default package manager.
  • If the package isn’t found in packages.json, Bede tries to install it via apt, dnf, pacman, or zypper, depending on your Linux distribution.

πŸ—οΈ How to Add Your Own Packages

Want to add your own scripts to the Bede repository? Follow these steps:

  1. Fork the [Bede Repository](https://github.com/PsymoNiko/bedepacko)
  2. Edit packages.json to include your script:
{
  "my-script": {
    "url": "https://raw.githubusercontent.com/user/repo/main/script.sh",
    "dependencies": ["curl", "jq"]
  }
}
  1. Submit a Pull Request, and your package will be available to all Bede users!

πŸ“£ Contributing

We ❀️ contributions!
If you find a bug, have a feature request, or want to enhance Bede, feel free to [open an issue](https://github.com/PsymoNiko/bedepacko/issues) or submit a pull request.


πŸ“œ License

Bede is open-source and licensed under the MIT License.
You’re free to use, modify, and distribute itβ€”just give credit where it’s due!


⭐ If you find Bede useful, don’t forget to Star this repository! πŸš€


This GitHub Wiki will make Bede look professional, user-friendly, and appealing to developers who want a lightweight Bash package manager. Let me know if you'd like additional sections or refinements! πŸš€