Skip to content

git_age

Repository age from the first commit reachable from HEAD. Text/TextBlock/Markdown/Linked variants format the duration; Entries/Bars/NumberSeries expose the years/months/days split; Calendar highlights the first-commit day; Badge tags an age tier; Timeline emits the first-commit event.

KindSafetyShapes
cachedSafetext, text_block, markdown_text_block, linked_text_block, entries, number_series, bars, calendar, badge, timeline

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
markdown_text_blocktext_markdown
linked_text_blocklist_links
entriesanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, grid_table
number_seriesanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, chart_histogram, chart_sparkline
barsanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, chart_bar, chart_pie, list_ranking
calendaranimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, grid_calendar
badgeanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, status_badge
timelineanimated_boot, animated_postfx, animated_scanlines, animated_splitflap, animated_wave, list_timeline
                                                                          
                                                                      
                                                                    
                                                                    
                                                                                
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "text_ascii"
2y 3m                                   
                                        
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "text_plain"
Years:  2                               
Months: 3                               
Days:   12                              
Since:  2024-01-15                      
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "list_plain"
2y 3m 12d since 2024-01-15              
                                        
                                        
                                        
                                        
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "text_markdown"
2y 3m 12d                               
since 2024-01-15                        
                                        
                                        
                                        
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "list_links"
years                                  2
months                                 3
days                                  12
first_commit_date             2024-01-15
                                        
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "grid_table"
                                
                                
                                
                        
                        
                        
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "chart_histogram"
                                       
                                       
                                     
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "chart_sparkline"
                                     
                                     
                                     
                                     
                                     
                               
2 3 12                             
yea mon day                             
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "chart_bar"
                                        
                    years 11.8%       
                             
        months 17.6%      
                         
    days 70.6%        
                         
                           
                             
                                       
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "chart_pie"
1. years                               2
2. months                              3
3. days                               12
                                        
                                        
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "list_ranking"
    January 2024            
 Su Mo Tu We Th Fr Sa       
     1  2  3  4  5  6       
  7  8  9 10 11 12 13       
 14 15 16 17 18 19 20       
 21 22 23 24 25 26 27       
 28 29 30 31                
                            
                            
                            
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "grid_calendar"
 mature (2y 3m)                        
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "status_badge"
2024-01-15  First commit                         
            2024-01-15                           
                                                  
                                                  
                                                  
                                                  
                                                  
                                                  
[[widget]]
id = "git_age"
fetcher = "git_age"
render = "list_timeline"