# This repository contains a multiple tools
Can be used together with quickemu
## Keeping upstream quickemu in sync
DistroHopper vendors `quickemu`, `quickget`, `chunkcheck` and `quickreport` from
[quickemu-project/quickemu](https://github.com/quickemu-project/quickemu). Two
workflows keep track of upstream and apply merged changes automatically:
- **[Track upstream quickemu](.github/workflows/track-upstream.yml)** β daily
snapshot of upstream merged PRs, open PRs and open issues into
[`docs/upstream-quickemu.md`](docs/upstream-quickemu.md).
- **[Sync upstream quickemu](.github/workflows/sync-upstream.yml)** β every 4
hours (plus manual dispatch) fetches the latest upstream files and merges
them on top of our local patches, then opens a `ci/sync-upstream` pull
request for review. An already-open sync PR is resumed, so manual conflict
resolutions and review commits are never overwritten; conflicts keep their
merge markers in the PR and are never committed to the default branch. A
manual dispatch with `direct_commit: true` commits straight to the
repository's default branch (resolved from the repo, regardless of the branch
selected when dispatching), but only when the sync is conflict-free and no
review PR is open. The baseline snapshots and last-applied commit live in
[`upstream/`](upstream/README.md).
#
Welcome
DistroHoppers
# Website under construction...
## I made some user interfaces for quickemu...
π¦
[dh](https://github.com/oSoWoSo/DistroHopper/blob/all/dh) GUI and TUI using yad
ποΈ
[quickfzf](https://github.com/oSoWoSo/DistroHopper/blob/all/quickfzf) TUI using fzf
π²
[quicktui](https://github.com/oSoWoSo/DistroHopper/blob/all/quicktui) TUI using gum (π§ usable but under heavy development)
π
[qrun](https://github.com/oSoWoSo/DistroHopper/blob/all/qrun) TUI using gum (offline launch and snapshot management)
[](https://asciinema.org/a/fPcYGWhF8aGoJJ5M30Q1CWdqe)
π¦
[q](https://github.com/oSoWoSo/DistroHopper/blob/all/q) TUI using gum
and
## How the release and edition lists are built
`templates/` is the **dynamic** part: its `releases_()`, `editions_()` and
`arch_()` functions scrape the upstream mirror to find out which releases and
editions exist right now. They need the network and they are slow.
`public/` is the **static** part: the same functions plus the releases and
editions that were parsed at generation time, stored as plain variables:
RELEASES="v3.24 v3.23 β¦"
EDITIONS="boot dvd minimal"
QEMU_ARCH="amd64 arm64 β¦"
The front-ends read the static copy, so listing the supported systems and
picking a release works **without a network connection**. Only the download
itself needs one.
Rebuild the static copy with:
./generate # one distro
./generate --all # every distro, in order
./generate --parallel # every distro, in parallel
./generate --test # check whether the image URLs still resolve
A distro whose upstream cannot be reached keeps its previous metadata, so a
failed run never removes a distro from the list.
`dh-refresh` does the same unattended and can schedule itself:
dh-refresh --install-cron # refresh every day at 04:00
dh-refresh --show-cron # show the schedule
dh-refresh --remove-cron # remove the schedule
The schedule is opt-in, and the other entries in your crontab are left alone.
To read the live templates instead of the generated metadata β for example
right after a new release was announced β use `--templates`:
qget --templates --show
qget --templates --list
The same switch is in the GUI under *Options β Metadata source*.
### What does βRenew supportedβ refresh?
* **Options β Renew supported** rebuilds the supported `.desktop` launchers
and their embedded architecture/release/edition choices from the selected
metadata source and refreshes the ready-VM launchers from
the `.conf` files in your VM directory. It does **not** run `generate`,
download ISO images, or upgrade existing VMs.
* With the default **public/** source, the available releases are only as new
as the last metadata generation. Run `./dh-refresh` (or `./generate --parallel`)
first, then click **Renew supported** to show newly discovered releases.
* With the **templates/** source, renewal queries upstream live. It still
does not download installation images; those are downloaded by `qget` when
you select a supported system and confirm a release/edition.
* Metadata generation discovers releases and image URLs; it is not an ISO
download/update operation.
Desktop regeneration uses four distro workers by default, refilling each slot
as soon as any worker finishes (without waiting for an older slow worker). Set
`DH_RENEW_JOBS=8 ./dh` to change the limit, or `DH_RENEW_JOBS=1 ./dh` for serial
regeneration. Opening a supported system always shows a confirmation form.
Single available values appear read-only; multiple values use dropdowns.
The Edition field is omitted when there are no editions. For example, AgarimOS
shows its fixed architecture/release read-only and an edition dropdown. Even
when every value is fixed, Cancel/OK is required before downloading. All values
remain embedded in the entry, which works from YAD or directly as a `.desktop` file.
Supported entries contain the inline YAD command and all architecture, release
and edition values directly in `.desktop`. The selection calls normal
`qget --arch [edition]`. There is no picker script,
custom qget mode, DistroHopper helper or external choice cache. Ready entries
use `Exec=quickemu --vm ...` with the absolute VM config path. Neither entry
type needs DistroHopper running. `qget` and YAD (supported entries) or `quickemu`
(ready entries) must be installed. Invalid combinations are rejected before
starting a download.
A top-right percentage bar shows the completed/total distro
count, updating as parallel workers finish, followed by the ready-VM refresh.
The ready refresh counts as one final work unit, so the bar reaches 100% only
after it finishes. Failed workers count as processed; failures are reported
separately rather than silently treated as successful regeneration.
Regeneration status is shown in the progress window only; no desktop
notifications or notification service are needed.
and
### open source version without removed proprietary OSes (Mac,Windows)
[quickget-](https://github.com/oSoWoSo/DistroHopper/tree/open-source-only/quickget)
### Extended version with more distros then upstream quickemu
[quickget+](https://github.com/oSoWoSo/DistroHopper/tree/quickget-extended/quickget)
### quickget+ with gum UI
[quickget+gum](https://github.com/oSoWoSo/DistroHopper/tree/quickget-gum-UI/quickget)
### quickget+ with easybashgui UI
[quickget+ebg](https://github.com/oSoWoSo/DistroHopper/tree/quickget-ebg-UI/quickget)
Enjoy...
[repo](https://github.com/oSoWoSo/DistroHopper/)
Everything could work
# Thanks to:
- [easybashgui](https://github.com/BashGui/easybashgui)
- [yad](https://github.com/v1cont/yad)
- [fzf](https://github.com/junegunn/fzf)
- [quickemu](https://github.com/quickemu-project/quickemu)
- Special thanks to all members of **LINUX** community

## quickemu Introduction

# Quickemu
**Quickly create and run optimised Windows, macOS and Linux virtual machines:**
**Made with π for

&

**
# Introduction
**Quickemu** is a wrapper for the excellent [QEMU](https://www.qemu.org/) that
automatically *"does the right thing"* when creating virtual machines. No
requirement for exhaustive configuration options. You decide what operating
system you want to run and Quickemu takes care of the rest π€
- `quickget` **automatically downloads the upstream OS** and creates the configuration π
- `quickemu` enumerates your hardware and launches the virtual machine with the **optimum configuration best suited to your computer** β‘οΈ
The original objective of the project was to [enable quick testing of Linux
distributions](https://github.com/quickemu-project/quickemu/wiki/02-Create-Linux-virtual-machines)
where the virtual machines and their configuration can be stored anywhere (such
as external USB storage or your home directory) and no elevated permissions are
required to run the virtual machines.
**Today, Quickemu includes comprehensive support for [macOS](https://github.com/quickemu-project/quickemu/wiki/03-Create-macOS-virtual-machines),
[Windows](https://github.com/quickemu-project/quickemu/wiki/04-Create-Windows-virtual-machines)**, most of the BSDs, novel non-Linux operating systems such as FreeDOS, Haiku, KolibriOS, OpenIndiana, ReactOS, and more.
# Features
- Host support for **Linux and macOS**
- **macOS** Sonoma, Ventura, Monterey, Big Sur, Catalina & Mojave
- **Windows** 10 and 11 including TPM 2.0
- **Windows Server** 2022 2019 2016
- [Ubuntu](https://ubuntu.com/desktop) and all the **[official Ubuntu
flavours](https://ubuntu.com/download/flavours)**
- **Nearly 1000 operating system editions are supported!**
- Full SPICE support including host/guest clipboard sharing
- VirtIO-webdavd file sharing for Linux and Windows guests
- VirtIO-9p file sharing for Linux and macOS guests
- [QEMU Guest Agent
support](https://wiki.qemu.org/Features/GuestAgent); provides access
to a system-level agent via standard QMP commands
- Samba file sharing for Linux, macOS and Windows guests (*if `smbd`
is installed on the host*)
- VirGL acceleration
- USB device pass-through
- Smartcard pass-through
- Automatic SSH port forwarding to guests
- Network port forwarding
- Full duplex audio
- Braille support
- EFI (with or without SecureBoot) and Legacy BIOS boot
## As featured on [Linux Matters](https://linuxmatters.sh) podcast!
The presenters of Linux Matters π§ποΈ are the creators of each of the principal Quickemu projects. We discussed Quickemu's 2024 reboot in [Episode 30 - Quickemu Rising From the Bashes](https://linuxmatters.sh/30).
Linux Matters Podcast
# Quick start
[Once Quickemu is installed](https://github.com/quickemu-project/quickemu/wiki/01-Installation), there are two simple steps to create and run a virtual machine:
- `quickget` automatically downloads the ISO image for the operating system you want to run and creates a configuration file for the virtual machine.
``` shell
quickget nixos unstable minimal
```
- `quickemu` starts the virtual machine using the configuration file created by `quickget`.
``` shell
quickemu --vm nixos-unstable-minimal.conf
```
Execute `quickget` (with no arguments) to see a list of all the supported operating systems.
## Demo
# Documentation
The wiki describes how to get up and running with Quickemu and also covers more advanced configuration and usage.
- [**Installation**](https://github.com/quickemu-project/quickemu/wiki/01-Installation) πΎ
- [**Create Linux virtual machines**](https://github.com/quickemu-project/quickemu/wiki/02-Create-Linux-virtual-machines) π§
- [**Create macOS virtual machines**](https://github.com/quickemu-project/quickemu/wiki/03-Create-macOS-virtual-machines) π
- [**Create Windows virtual machines**](https://github.com/quickemu-project/quickemu/wiki/04-Create-Windows-virtual-machines) πͺ
- [**Advanced quickemu configuration**](https://github.com/quickemu-project/quickemu/wiki/05-Advanced-quickemu-configuration) π§
- [**Advanced quickget features**](https://github.com/quickemu-project/quickemu/wiki/06-Advanced-quickget-features) π€
- [**Alternative frontends**](https://github.com/quickemu-project/quickemu/wiki/07-Alternative-frontends) π§βπ»
- [**References**](https://github.com/quickemu-project/quickemu/wiki/08-References) ποΈ