tealdeer-rs / tealdeer

A very fast implementation of tldr in Rust.
https://tealdeer-rs.github.io/tealdeer/
Apache License 2.0
4.17k stars 123 forks source link

Download docs archive from mirror sites? #199

Closed hyrious closed 2 years ago

hyrious commented 3 years ago

https://github.com/dbrgn/tealdeer/blob/123c8096309302fa2728186180ca24a8bf9ab821/src/main.rs#L56

Instead of using proxy, it is also a good choice to use mirror sites links. For example https://download.fastgit.org/tldr-pages/tldr/archive/master.tar.gz

Simillar function can be found in ruby gem bundler.

niklasmohrin commented 3 years ago

Good idea, this should be an easy but worthwhile addition to the existing configuration options!

dbrgn commented 2 years ago

We don't download from GitHub anymore, so this is obsolete.