No description
  • Nim 93.2%
  • Nix 6.8%
Find a file
2026-07-04 21:49:40 +02:00
src update everything (also solve #1) 2026-06-03 13:11:12 +02:00
flake.lock initial commit 2026-06-02 23:23:42 +02:00
flake.nix remove commented pkg and update desc 2026-06-03 01:51:25 +02:00
LICENSE.txt added LICENSE 2026-06-03 01:31:55 +02:00
nim.cfg added ssl by default 2026-06-03 01:20:47 +02:00
nimdex.nimble added progress bar 2026-06-03 01:21:16 +02:00
README.md add note that stuff doesn't really work 2026-07-04 21:49:40 +02:00

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.
  • nim
  • progress.nim a progress bar (auto-fetched via nimble or atlas or any other yet another nim package manager)
  • openSSL for 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