Files
website/content/projects/debrepo.md

40 lines
1.0 KiB
Markdown

+++
title = "Debrepo"
date = 2023-05-01
description = "Lightweight tool to create and manage Debian APT repositories"
[extra]
state = "stable"
+++
**Debrepo** is a lightweight tool for creating and managing Debian repositories for `*.deb` packages — a simple alternative to heavier tools like `reprepro` or `aptly`.
#### **Key Features:**
* **Init repository structure** (`debrepo init`)
* **Add / delete packages** (`debrepo add`, `debrepo del`)
* **List packages** (`debrepo list`)
* **Built-in static serving** for quick testing (`debrepo serve`)
* **Minimal deps:** `sh`, `dpkg`, `gpg`, `python3`
#### **Quick usage**
```bash
# create repo structure
debrepo init /path/to/repo
# add a package
debrepo add ./build/foo_1.0_amd64.deb
# list & remove
debrepo list
debrepo del foo_1.0_amd64
# serve locally (for testing)
debrepo serve
````
Find the source here:
* Primary (Gitea): [https://git.filiprojek.cz/fr/debrepo](https://git.filiprojek.cz/fr/debrepo)
* GitHub (mirror): [https://github.com/filiprojek/debrepo](https://github.com/filiprojek/debrepo)