Skip to content

Commit

Permalink
Merge pull request #1 from koppor/patch-1
Browse files Browse the repository at this point in the history
Create README.md
  • Loading branch information
zauguin authored Jun 15, 2024
2 parents be07b4c + 03ebfa0 commit 5060b03
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# texlive-mirrors

This project offers <https://zauguin.github.io/texlive-mirrors/mirrors.json> containing the latest available TeXLive revision for each mirror.

Example:

```json
"South America": {
"Brazil": {
"https://linorg.usp.br/CTAN/systems/texlive/tlnet/": {
"status": "Alive",
"texlive_version": 2024,
"revision": 71481
}
},
"Chile": {
"https://ctan.dcc.uchile.cl/systems/texlive/tlnet/": {
"status": "Alive",
"texlive_version": 2024,
"revision": 71486
}
}
},
```

It does it by checking each mirror.
This check is done in [main.rs](https://github.com/zauguin/texlive-mirrors/blob/get-tl-mirror-status/src/main.rs), which is available in the `get-tl-mirror-status` branch of this project.
The final binary is published as container at `ghcr.io/zauguin/get-tl-mirror-status:get-tl-mirror-status`.

This project also generates a file `us`, which contains a list of the freshest TeXLive mirrors in the US.
It is generated by using the data in `mirrors.json`.

Both the generation as well as the publishing of `mirrors.json` and `us` is done at [pages.yaml](https://github.com/zauguin/texlive-mirrors/blob/trunk/.github/workflows/pages.yaml).

## Generating `mirrors.json` locally

Run

```terminal
podman run ghcr.io/zauguin/get-tl-mirror-status:get-tl-mirror-status > mirrors.json
```

0 comments on commit 5060b03

Please sign in to comment.