Go to file
2024-10-04 03:38:22 -05:00
.archived Archive various, add resend_error.py sync_remotes 2024-09-23 16:59:45 -05:00
.envrc Check for availability of libgen.rs 2024-08-25 00:20:36 -05:00
.gitignore Check for availability of libgen.rs 2024-08-25 00:20:36 -05:00
add_qbt_trackers.py Rearrange 2024-08-15 20:34:54 -05:00
calculate_mirror_size.py Rearrange 2024-08-15 20:34:54 -05:00
fetch_combined_trackers_list.py Rearrange 2024-08-15 20:34:54 -05:00
fetch_scihub_infohashes.py Rearrange 2024-08-15 20:34:54 -05:00
justfile Archive various, add resend_error.py sync_remotes 2024-09-23 16:59:45 -05:00
LICENSE Add homelab-scripts 2024-03-25 23:05:38 -05:00
qbt_sum_size.py Rearrange 2024-08-15 20:34:54 -05:00
qbth.py Rearrange 2024-08-15 20:34:54 -05:00
README.org Refactor 2024-08-10 22:31:41 -05:00
record_mastodon_media_size Archive various, add resend_error.py sync_remotes 2024-09-23 16:59:45 -05:00
resend_error.py Archive various, add resend_error.py sync_remotes 2024-09-23 16:59:45 -05:00
scihub_knapsack.py Check for availability of libgen.rs 2024-08-25 00:20:36 -05:00
seed_armbian_torrents.py Rearrange 2024-08-15 20:34:54 -05:00
shell.nix Remove unbound var check 2024-10-01 22:57:18 -05:00
sync_remotes Remove auxnc-96g 2024-10-04 03:38:22 -05:00
sync_to_protondrive Add verbosity and quiet switch 2024-10-02 13:34:36 -05:00
update_tracker.py Rearrange 2024-08-15 20:34:54 -05:00

admin-scripts

These are scripts I use to automate various sysadmin tasks.

bin

  • add_qbt_trackers.py : Fetches torrent tracker URLs from plaintext files hosted on the web and adds them to each torrent in a qBittorrent instance.
  • add_scihub_torrents.py : Uses gum to select paginated text files that contain URLs of Sci Hub torrent files. For each selected file, the URLs are read and added to a qBittorrent instance.
  • fetch_combined_trackers_list.py : Fetches a combined list of tracker URLs from plaintext files hosted on the web and writes them to a file in the current working directory.
  • fetch_scihub_infohashes.py : Fetches the infohashes of all Sci Hub torrents and writes them to a plaintext file.
  • qbth.py : A helper program for adding Linux and BSD distros to a qBittorrent instance. It's a bit crude, and the Python linter yells at me for it, but it gets the job done, and that's all I need it to do. Thank you.

  • qbt_sum_size.py : Prints the total size of completed torrents and the total size of all torrents added to a qBittorrent instance. The former is a subset of the latter.
  • scihub_knapsack.py : Adds Sci Hub torrents to a qBittorrent instance until a specified size limit is reached.
  • seed_armbian_torrents.py : Downloads an archive from Armbian, extracts the torrent files within to a temporary directory, and adds each file to a qBittorrent instance. It first removes older Armbian torrents from the qBittorrent instance.
  • seed_scihub_max_seeders.py : Finds which torrents have less than or equal to N seeders, where N is an integer argument supplied by the user. It then adds these torrents to a qBittorrent instance.
  • update_tracker.py : Fetches infohashes of all torrents in each qBittorrent instance referenced in the config file, and updates my public torrent tracker's whitelist.