From c08b39decc814f4e2bcc81e5e8f92e8ed91f8a20 Mon Sep 17 00:00:00 2001 From: Ben Grande Date: Tue, 30 Jan 2024 19:28:40 +0100 Subject: [PATCH] feat: add torrent client to fetcher --- salt/fetcher/README.md | 15 ++++++++++----- salt/fetcher/install.sls | 5 ++++- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/salt/fetcher/README.md b/salt/fetcher/README.md index 41c7075..d268600 100644 --- a/salt/fetcher/README.md +++ b/salt/fetcher/README.md @@ -12,8 +12,12 @@ Fetch publicly accessible files over the internet in Qubes OS. A Template for DispVMs will be created and named "dvm-fetcher", from this qube you will create others that can connect to the internet to download files. You -will be able to download from any protocol as long as the installed tools, -`curl`, `wget`, `git`, `rsync`, accept them. +will be able to download from many protocol as long as the installed tools +accepts them. + +Supported protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, + IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, + SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS, WSS, RSYNC, BitTorrent. ## Installation @@ -35,9 +39,10 @@ qubesctl --skip-dom0 --targets=dvm-fetcher state.apply fetcher.configure-dvm ## Usage -You will base qubes from the Template for DispVMs `dvm-fetcher` to download -files over the internet using popular command-line tools such as `git`, -`curl`, `wget`, `rsync`. +You will create disposable qubes based on the Template for DispVMs +`dvm-fetcher` to download files over the internet using popular command-line +tools such as `git`, `curl`, `wget`, `rsync`, `transmission-cli` as well as a +graphical interface for torrenting `transmission-qt`. You can use disposables based from `dvm-fetcher` to clone repositories, download PGP signatures, Operating System ISOs etc. diff --git a/salt/fetcher/install.sls b/salt/fetcher/install.sls index bdbd881..1174f31 100644 --- a/salt/fetcher/install.sls +++ b/salt/fetcher/install.sls @@ -1,5 +1,5 @@ {# -SPDX-FileCopyrightText: 2023 Benjamin Grande M. S. +SPDX-FileCopyrightText: 2023 - 2024 Benjamin Grande M. S. SPDX-License-Identifier: AGPL-3.0-or-later #} @@ -9,6 +9,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later include: - dotfiles.copy-sh - dotfiles.copy-x11 + - dotfiles.copy-net - sys-pgp.install-client "{{ slsdotpath }}-updated": @@ -27,5 +28,7 @@ include: - wget - git - rsync + - transmission-cli + - transmission-qt {% endif -%}