![Cuba Icon](https://codeberg.org/zarni/cuba/raw/branch/main/cuba-gui/assets/icons/icon.svg)
# 🖱️ Cuba GUI 

[![Build](https://ci.codeberg.org/api/badges/zarni/cuba/status.svg)](https://ci.codeberg.org/zarni/cuba)
[![License: MIT or Apache 2.0](https://img.shields.io/badge/License-MIT_or_Apache_2.0-blue)](https://opensource.org/licenses/MIT)
---

The Graphical User Interface for Cuba, a lightweight and flexible backup tool. See the [Workspace README](https://codeberg.org/zarni/cuba/src/branch/main/README.md) for full documentation.

# Installation

Install as an application:
```bash
cargo install cuba-gui
```
### GUI integration in Linux:

```bash
# Download assets
curl -L https://codeberg.org/zarni/cuba/raw/branch/main/cuba-gui/assets/freedesktop.org/cuba.desktop -o "$HOME/.local/share/applications/cuba.desktop"
curl -L https://codeberg.org/zarni/cuba/raw/branch/main/cuba-gui/assets/freedesktop.org/cuba.svg -o "$HOME/.local/share/icons/cuba.svg"

# Refresh the desktop database
update-desktop-database "$HOME/.local/share/applications"
```

## Screenshot

![Cuba Icon](https://codeberg.org/zarni/cuba/raw/branch/main/cuba-gui/assets/screenshots/cuba-backup.png)

## Related Packages

### 📦 Cuba Lib 
[crates.io](https://crates.io/crates/cuba-lib) | [Repository](https://codeberg.org/zarni/cuba/src/branch/main/cuba-lib/README.md)

### 💻 Cuba CLI

[crates.io](https://crates.io/crates/cuba-cli) | [Repository](https://codeberg.org/zarni/cuba/src/branch/main/cuba-cli/README.md)

## License

See [Workspace README](https://codeberg.org/zarni/cuba/src/branch/main/README.md).

## Third-party assets

This project bundles the **JetBrains Mono** font.

JetBrains Mono is licensed under the SIL Open Font License 1.1.
Copyright © 2020 JetBrains s.r.o.

See `assets/fonts/OFL.txt` for details.