Skip to content

cli to calculate frequency of characters and character sequences in a directory

License

Notifications You must be signed in to change notification settings

ogdakke/symbolista

Repository files navigation

Symbolista

this tool counts the occurrences of symbols and sequences of symbols in a directory's files.

screenshot-2025-08-26_00-11-18

I used it to decide which keys I wanted to remap, based on the frequency of use while programming

Installation

brew install --cask ogdakke/homebrew-tap/symbolista

or use go

go install github.com/ogdakke/symbolista@latest

Usage

Usage:
  symbolista [directory] [flags]
  symbolista help [topic]

Flags:
      --ascii-only            Count only ASCII characters. Use --ascii-only=false to include all Unicode characters (default true)
  -c, --count-sequences       Count sequences (default true)
  -f, --format string         Output format (table, json, csv) (default "table")
  -h, --help                  help for symbolista
  -i, --ignore-glob strings   Additional patterns to ignore (use 'symbolista help ignore-glob' for examples)
      --include-dotfiles      Include dotfiles in analysis (default false)
  -m, --metadata              Include metadata in JSON output (directory, file counts, timing info) (default true)
  -o, --open string           Load data from JSON file and launch TUI (requires --tui flag)
  -p, --percentages           Show percentages in output (default true)
  -N, --top-n-seq int         Maximum number of sequences to display (default 100)
      --tui                   Launch interactive TUI interface
  -V, --verbose count         Increase verbosity (-V info, -VV debug, -VVV trace)
  -v, --version               Show version and exit
  -w, --workers int           Number of worker goroutines (0 = auto-detect based on CPU cores)

Examples

See examples for some example outputs from known repositories, namely vscode.

Development

Use make to build and lint and test the program.

About

cli to calculate frequency of characters and character sequences in a directory

Resources

License

Stars

Watchers

Forks