GitXplorerGitXplorer
u

gitgone

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
9acf82b0b189037977ceac238a5d51046ce84c3b

add readme

uuntitaker committed 3 years ago
Unverified
59d2a32c0a9bd933aa2164a08c5d8e9d0375de40

replace http

uuntitaker committed 3 years ago
Unverified
70cf7cb4a444c4e3ab8c72fd7c92cf9c3e559d70

add stdin mode

uuntitaker committed 3 years ago
Unverified
52e7a5abbbfc2a009c17282678d3d015193ebd07

skip over conn error

uuntitaker committed 3 years ago
Unverified
1483b057d7a4f72ae7a95dc00d84fb525b8a4b37

add extra tipzz

uuntitaker committed 3 years ago
Unverified
57f0fe7c5650d92c1bb89328c965e6491cbd994a

readme

uuntitaker committed 3 years ago

README

The README file for this repository.

A script to download git.io shortlinks.

Across machines:

Random mode

Download random URLs

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo run --release random | pv --line-mode --rate > links.txt

Stdin mode

Download URLs from stdin

...
echo https://git.io/foobar > input.txt
cargo run --release stdin < input.txt | pv --line-mode --rate > links.txt

If the numbers seem low, try tweaking NUM_WORKERS in the code.

Useful commands

cat random_dump.csv | rg -o 'https?://git.io/[a-zA-Z0-9_-]+'