updated link

This commit is contained in:
starlord 2024-06-01 07:10:29 -07:00
parent bba8d7158d
commit decb7ad368

View file

@ -15,7 +15,7 @@ After each roll, a new [itty.bitty](https://github.com/alcor/itty-bitty/) link w
The itty.bitty links can get [quite long](https://github.com/alcor/itty-bitty/wiki/#url-structure), so it may be prudent to use a link shortener.
For example, the link [to come](to come) for the `dice.html` page in this repo was generated using [asso.li](https://asso.li/), an [lstu](https://lstu.fr/) instance, with the following command (Linux):
For example, the link [https://asso.li/dLVZ82wR](https://asso.li/dLVZ82wR) for the `dice.html` page in this repo was generated using [asso.li](https://asso.li/), an [lstu](https://lstu.fr/) instance, with the following command (Linux):
```bash
cat dice.html | lzma -9 | base64 -w0 | xargs -0 printf "https://itty.bitty.site/#Dice Roller/%s\n" | xargs -0 -I {} curl --data-urlencode "format=json" --data-urlencode "lsturl={}" https://asso.li/a | jq -r '.short'