ncls(1)

πŸ’– ncls(1) β€” the manual, but make it cute πŸ’–

okay bestie so you know how ls(1) is out here being all iconic and useful but also just... text? yeah. ncls said "not on my watch" and started rendering your actual images and videos right there in the terminal. ✨ Notcurses-powered, multimedia-enabled, listing paths like the main character it is. πŸŽ€


🌸 NAME 🌸

ncls β€” list paths, but with multimedia rendering πŸ¦‹


🌈 SYNOPSIS 🌈

ncls [-h|--help] [-V|--version] [-d] [-l] [-L] [-R] [-a|--align type]
[-b|--blitter blitter] [-s|--scale scale] [ paths ]

look at all those little flags, they're giving ✨options✨


πŸ’… DESCRIPTION πŸ’…

so basically, ncls uses a multimedia-enabled Notcurses to list paths β€” literally the same energy as the ls(1) command, except it actually renders images and videos straight into your terminal. no cap. your file list is now a whole vibe check. πŸ–ΌοΈβœ¨


πŸŽ€ OPTIONS πŸŽ€

one bullet per flag, as promised, no skipping, we don't do that here:

  • -d β€” list the directories themselves, not what's inside them. peek at the folder, not its contents. πŸ™ˆ
  • -l β€” use a long listing format. more columns, more detail, more to obsess over. πŸ‘‘
  • -L β€” dereference symbolic links. follow that symlink to its source, bestie. πŸ¦‹
  • -R β€” list subdirectories recursively. down the rabbit hole we go, fr fr. πŸ•³οΈ
  • -V, --version β€” print version information and exit with success. iconic behavior only. πŸ’š
  • -h, --help β€” print help information and exit with success. self-care, honestly. 🫢
  • -a, --align type β€” align images on left, center, or right. your aesthetic, your call. πŸ’…
  • -b, --blitter blitter β€” the blitter, and it's one of ascii, half, quad, sex, braille, or pixel. the default is pixel. ⚠️ if the chosen blitter is unavailable, ncls will degrade (see notcurses_visual(3)) β€” that's a real thing, not me being dramatic. 😭
  • -s, --scale scalemode β€” scaling mode, one of none, hires, scale, scalehi, or stretch. pick your fighter. πŸ”₯
  • paths β€” run on the specified paths. if none are supplied, it just runs on the current directory. ✨
okay so important one: if no scaling is specified, hires will be used with the pixel blitter, and scalehi will be used otherwise. remember that. write it down. put it on your mirror. πŸͺž

🫢 NOTES 🫢

optimal display requires a terminal that's advertising the rgb terminfo(5) capability β€” or, alternatively, that the environment variable COLORTERM is defined to 24bit (and that the terminal actually honors that variable, obviously). πŸ’β€β™€οΈ

oh and also: you want a fixed-width font with good coverage of the Unicode Block Drawing Characters. no skipping this one, the characters will literally not draw right. πŸ’€


🧚 SEE ALSO 🧚

go read them, iykyk πŸ“š


πŸ‘‘ AUTHORS πŸ‘‘

nick black β€” nickblack@linux.com


and that's the whole page, bestie! πŸŽ‰ this was version v3.0.17 of ncls(1), and yeah that's the same ncls(1) we've been talking about the entire time. slay, go render some pictures in your terminal. πŸ’–πŸŒˆπŸŒΈ

πŸ“¦ where this page comes from