No description
- Nim 93.2%
- Nix 6.8%
| src | ||
| flake.lock | ||
| flake.nix | ||
| LICENSE.txt | ||
| nim.cfg | ||
| nimdex.nimble | ||
| README.md | ||
nimdex
fetch the entire catalogue of nim packages across the web, to your machine
that way you can develop offline
clone with
$ git clone https://forgit.online/vmn/nimdex.git
and then run
$ nim r src/nimdex.nim
and go sleep or smth. It clones or pulls every package in the packages.json, of which there are many.
The packages are added in ~/.nimdex/packages/. Nimdex also copies packages.json, although it doesn't really use it?
It also appends
[PackageList]
name = "nimdex"
path = "YOUR-HOME/.nimdex/packages"
to ~/.nimble/nimble.ini so nimble knows to look for them.
Warning
THIS DOES NOT WORK! I DO NOT KNOW WHY! HELL IF NIMBLE HAD ACTUAL DOCUMENTATION
This does not replace the default lookup on gh, it works as a fallback.
To refresh the packages, rerun the script.
Dependencies:
gnu/linux. MacOS/*BSD should be fine, no idea about Windows. If it doesn't work on windows, install gnu/linux.nimprogress.nima progress bar (auto-fetched via nimble or atlas or any otheryet another nim package manager)openSSLfor accessing HTTPS
Stats:
# run the script with --verbose
Total packages: 2792
git packages: 2644
hg packages: 0
unavailable (dead?) packages: 141
> du -sh ~/.nimdex
5,4G /home/usr/.nimdex/
Notice how 2792 - 2644 != 141 I don't know why that is. Also, all mercury packages are MIA