Skip to content

serkosal/intfl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

intfl

Interactive file listing.

Animation

Dependencies

ncursesW - for unicode support. ncurses - for colors and mouse support on many of the UNIX systems.

development dependencies

doxygen for generating documentation doxygen-awesome-css for night theme support, download it using: git submodule update --init --recursive

usage

intfl [-adfgsu] [-L level] [--ascii] [--du] [--files-limit #] [--help]  [--no-colors] [--prune] [--version] 

options

file printing

  • -a, --all all files, shows files which filenames started from '.', excluding for . and ...

  • -d, or --dirs-only print directories only.

  • -L level, --print-max-depth level max level to descend into subdirectories, by default level is 5

  • --files-limit # max number of files to print, by default it's 15

  • --prune do not print empty directories

  • -f, --print-filepathes

  • -u, --user print file owner

  • -g, --group print group

  • -s, --size print the file size

  • --du, --disk-usage calculate directories size by their content

  • --no-colors do not use colors

  • --ascii ascii-only graphics

other

  • --help
  • --version

Planed feautures

    1. limit displayed files, to avoid visual cluttering.
    1. expand/collaps directories by just clicking on them.
    1. utility remembers settings for each launched directory.
    1. updates whenever files changed using inotify.
    1. fuzzy search.
    1. maximum integration with external utilities & programs such as tmux, vim, helix editor.

TODO

  • basic file listing

  • limit quantity of shown files and depth of directories

  • colorization

  • basic keyboard support

  • basic commands support

  • unicode support (GCC version above 12.3, I've problems on 12.2.0)

  • better input handling

  • expand/collapse

  • mouse support

  • doxygen documentation

misc

  • more flags, commands support
  • whales spotting
  • recursive expand/collapse
  • symblinks supports
  • panels, preview for file content
  • config files
  • memozition of directories layouts
  • watch for files updates
  • output as html, json, yaml, xml, toml
  • visualize not only filesystems, but any type of tree-like structures; e.g. html, json, yaml, xml, toml

Search, patterns, ingores, .gitignore

  • wildcards, regex support
  • ignore to parse/print/watch-update specified files/patterns/types
  • support command line arguments
  • better commands, ability to launch shell commands
  • search, fuzzy search, regex search

Colors

  • add color support of executables files & different file extensions
  • usage of colors from LS_COLORS
  • support of more colors

development, refactoring, optimisations

  • full tests code coverage
  • get rid of recursion
  • caching parsed directories based on last modification date
  • support for c++ modules

About

Interactive file listing

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors