nick2bad4u/Generate Repo File List

Generates an HTML file list for a GitHub repository with links to each file.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
log-levelSet the logging level setting manually instead of pulling from environmentnoINFO
directoryRoot directory of the repository to generate the file list for. Default is the current directory.no.
repo-urlGitHub repository URL to use for generating file links. Default is determined by the Git configuration.nohttps://github.com/Nick2bad4u/UserStyles
fallback-repo-urlFallback GitHub repository URL to use if the default URL cannot be determined.nohttps://github.com/author/repo
output-formatFile Format to be output in, if using for readme.md via github use MD, for readme.md on web use html".nohtml
output-fileName of the output HTML file to save the generated file list. Default is "file_list.md".nofile_list.md
color-sourceSource of colors for the file links. Choose "random" for randomly generated colors or "list" to use a predefined list of colors.norandom
color-listList of colors to use when the color source is set to "list". Provide colors in hex format (e.g., #FF0000).no#FF0000 #00FF00 #0000FF #FFFF00 #FF00FF #00FFFF
color-range-startStart of the range of colors (hex code) for random color generation (e.g., #000000).no#000000
color-range-endEnd of the range of colors (hex code) for random color generation (e.g., #FFFFFF).no#FFFFFF
max-attemptsMaximum number of attempts to generate a valid color. Default is 1000000.no1000000
exclude-blacks-thresholdThreshold for excluding black colors. Any color below this threshold on the color chart will be excluded (e.g., #222222).no#222222
exclude-dark-colorsExclude dark colors from being used for file links. Use this option to avoid dark colors.nofalse
exclude-bright-colorsExclude bright colors from being used for file links. Use this option to avoid bright colors.nofalse
exclude-blacksExclude black colors below a certain threshold from being used for file links. Use this option to avoid very dark colors.nofalse
ensure-readable-colorsEnsure that the generated colors are readable by maintaining a certain contrast ratio with a white background.nofalse
repo-root-headerHeader text for files located in the root of the repository. Default is "Repo Root".noRepo Root
header-textHeader text for the file list displayed at the top of the generated HTML file. Default is "## File List".no## File List
intro-textIntroductory text for the file list displayed below the header in the generated HTML file. Default is "# Here is a list of files included in this repository:".no# Here is a list of files included in this repository:
file-categoriesSpace-separated pairs of file extensions and display names (e.g., ".py Python .js JavaScript").no""
overwrite-file-categoriesSet to "true" to replace the default categories instead of extending them.nofalse
ignore-listSpace-separated list of additional paths to ignore during traversal.no""
overwrite-ignore-listSet to "true" to replace the default ignore list.nofalse
dark-color-luminance-thresholdLuminance threshold for determining if a color is dark. Colors with luminance below this value will be considered dark. Default is 128.no128
bright-color-luminance-thresholdLuminance threshold for determining if a color is bright. Colors with luminance above this value will be considered bright. Default is 200.no200
chunk-sizeNumber of lines per chunk for lazy loading the file list. Default is 40 lines per chunk.no40
viewport-mobileViewport size for mobile devices in pixels. Default is 768.no768
viewport-tabletViewport size for tablets in pixels. Default is 1024.no1024
viewport-small-desktopViewport size for small desktops in pixels. Default is 1440.no1440
root-margin-large-desktopRoot margin for the IntersectionObserver for large desktop viewport. Default is "0px 0px 400px 0px".no0px 0px 400px 0px
root-margin-small-desktopRoot margin for the IntersectionObserver for small desktops. Default is "0px 0px 300px 0px".no0px 0px 300px 0px
root-margin-tabletRoot margin for the IntersectionObserver for tablets. Default is "0px 0px 200px 0px".no0px 0px 200px 0px
root-margin-mobileRoot margin for the IntersectionObserver for mobile devices. Default is "0px 0px 100px 0px".no0px 0px 100px 0px
respect-gitignoreSet to "true" to honour .gitignore by using git ls-files when available.nofalse
default-branchFallback branch name to use when link-ref is not provided.no""
link-refExplicit branch, tag, or commit to use when generating links.no""
gtm-idGoogle Tag Manager container ID to embed in generated HTML (for example GTM-T8J6HPLF).noGTM-T8J6HPLF
output-file-stdoutSet to "true" to send the generated content to stdout instead of writing to a file.nofalse

no outputs