A common convention for telling "read from stdin" for programs that normally expect a filename or URL specified on the command line is to specify just a single minus sign in place of the filename/URL. The `rankmirrors` command supports this convention, so:
rg -e "^Server" /etc/pacman.d/mirrorlist | rg -oe "https.*" | rankmirrors -t -
Reference: <