Skip to content

Instantly share code, notes, and snippets.

@j3lte
Created July 2, 2026 15:05
Show Gist options
  • Select an option

  • Save j3lte/d219fde6b4fdbf3e725df72636ca98ac to your computer and use it in GitHub Desktop.

Select an option

Save j3lte/d219fde6b4fdbf3e725df72636ca98ac to your computer and use it in GitHub Desktop.
Raycast Torrent Trackers Copy Script
#!/bin/bash
# Required parameters:
# @raycast.schemaVersion 1
# @raycast.title Copy Torrent Trackers
# @raycast.mode compact
# Optional parameters:
# @raycast.icon 🤖
# @raycast.packageName Web
# Documentation:
# @raycast.description Copy BitTorrent trackers from Github
# @raycast.author j3lte
# @raycast.authorURL https://raycast.com/j3lte
# @raycast.argument1 { "type": "dropdown", "placeholder": "Trackers List", "optional": true, "data": [ { "title": "Best", "value": "best" }, { "title": "All", "value": "all" }, { "title": "All (UDP)", "value": "all_udp" }, { "title": "All (HTTP)", "value": "all_http" }, { "title": "All (HTTPS)", "value": "all_https" }, { "title": "All (WS)", "value": "all_ws" }, { "title": "All (I2P)", "value": "all_i2p" }, { "title": "Best (IP)", "value": "best_ip" }, { "title": "All (IP)", "value": "all_ip" } ] }
TYPE="${1:-best}"
case "$TYPE" in
"all")
URL="https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all.txt"
;;
"all_udp")
URL="https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_udp.txt"
;;
"all_http")
URL="https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_http.txt"
;;
"all_https")
URL="https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_https.txt"
;;
"all_ws")
URL="https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_ws.txt"
;;
"all_i2p")
URL="https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_i2p.txt"
;;
"best_ip")
URL="https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best_ip.txt"
;;
"all_ip")
URL="https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_all_ip.txt"
;;
*)
URL="https://raw.githubusercontent.com/ngosang/trackerslist/master/trackers_best.txt"
;;
esac
curl -s "$URL" | pbcopy
echo "Trackers ($TYPE) copied to clipboard"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment