Skip to content

code_files

Counts tracked files in the discovered git repo's index and ranks top-level directories by file count. Text is the headline file count ("342 files"); TextBlock lists "<dir> (<count>)" rows; Entries exposes the same as key/value rows; Bars ranks them as bar values; MarkdownTextBlock formats them as a Markdown bullet list with emphasis. Files at the repo root are grouped under "(root)". Vendored / generated dirs (node_modules / vendor / target / dist / build) are filtered out even when committed.

KindSafetyShapes
cachedSafetext, text_block, entries, bars, markdown_text_block

No options.

ShapeRenderers
textanimated_boot, animated_figlet_morph, animated_postfx, animated_scanlines, animated_splitflap, animated_typewriter, animated_wave, text_ascii, text_plain
text_blockanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, list_plain
entriesanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, grid_table
barsanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, chart_bar, chart_pie, list_ranking
markdown_text_blocktext_markdown
▟▀▙  ▟█ ▟▀▙     ▗▛▙  ▀  ▝█                                                      
 ▄▛ ▟▘█  ▄▛     ▟▙  ▝█   █  ▟▀▙ ▟▀▀                                             
▄ █ ▀▀█▘▟▘▄     ▐▌   █   █  █▀▀ ▝▀▙                                             
▝▀▘  ▝▀▘▀▀▀     ▀▀  ▝▀▘ ▝▀▘ ▝▀▘ ▀▀▘                                             
                                                                                
[[widget]]
id = "code_files"
fetcher = "code_files"
render = "text_ascii"
342 files                               
                                        
[[widget]]
id = "code_files"
fetcher = "code_files"
render = "text_plain"
src (180)                               
tests (42)                              
docs (18)                               
(root) (5)                              
[[widget]]
id = "code_files"
fetcher = "code_files"
render = "list_plain"
src                                  180
tests                                 42
docs                                  18
(root)                                 5
                                        
[[widget]]
id = "code_files"
fetcher = "code_files"
render = "grid_table"
███                                     
███                                     
███                                     
███                                     
███                                     
███ ▅▅▅                                 
180 42█ 18▅                             
src tes doc                             
[[widget]]
id = "code_files"
fetcher = "code_files"
render = "chart_bar"
                                        
         ●          ■ src 75.0%         
    ●●●●●●●●●●●                         
   ●●●●●●●●●●●●●    ■ tests 17.5%       
  ●●●●●●●●●●●●●●●                       
 ●●●●●●●●●●●●●●●●●  ■ docs 7.5%         
  ●●●●●●●●●●●●●●●                       
   ●●●●●●●●●●●●●                        
    ●●●●●●●●●●●                         
         ●                              
[[widget]]
id = "code_files"
fetcher = "code_files"
render = "chart_pie"
1. src                               180
2. tests                              42
3. docs                               18
                                        
                                        
[[widget]]
id = "code_files"
fetcher = "code_files"
render = "list_ranking"
- src — 180 files                       
- tests — 42 files                      
- docs — 18 files                       
                                        
                                        
[[widget]]
id = "code_files"
fetcher = "code_files"
render = "text_markdown"