better-nijisort-cli#
A terminal-based sorter for Nijisanji livers. Pick between two livers one at a time — the app uses a merge sort algorithm to produce a ranked list from your choices.
Usage#
Run from source#
npm install
node src/index.js
# or
npm start
Prebuilt binaries#
Download the binary for your platform from the Releases page and run it directly — no Node.js required.
| Platform | File |
|---|---|
| Linux | better-nijisort-cli-linux |
| macOS | better-nijisort-cli-macos |
| Windows | better-nijisort-cli-win.exe |
On Linux/macOS, make it executable first:
chmod +x better-nijisort-cli-linux
./better-nijisort-cli-linux
On macOS you may need to clear the quarantine flag:
xattr -d com.apple.quarantine better-nijisort-cli-macos
How it works#
- Filter — choose which branches and genders to include
- Sort — pick your preferred liver in each head-to-head matchup
- Results — view the final ranking in a table
Controls#
Filter screen#
| Key | Action |
|---|---|
↑ / k |
Move up |
↓ / j |
Move down |
Space |
Toggle option |
Enter |
Start sorting |
Sorting screen#
| Key | Action |
|---|---|
← / h |
Pick left |
→ / l |
Pick right |
↑ / k |
Tie |
↓ / j |
Undo last pick |
Ctrl-C |
Quit |
Results screen#
| Key | Action |
|---|---|
1 |
Show top 5 |
2 |
Show top 10 |
3 |
Show top 20 |
q / Ctrl-C |
Quit |
Dataset#
Dataset version: 2026-05-19 · 274 livers across にじさんじ, NIJISANJI EN, ex-ID, ex-KR, and NIJISANJI IN.
Build from source#
Requires Node.js 22+.
npm install
npm run build
# outputs to dist/
Binaries are built with @yao-pkg/pkg.
Credits#
- execfera's Touhou Project character sorter (tohosort) — original sorter concept and source code
- rennelu's Nijisanji liver sorter — the Nijisanji adaptation this is based on
- better-nijisort (web) — the web version this CLI was built from