The widget displays the structure and contents of files in GitLab, Bitbucket, and GitHub repositories.

Configuration

NameRequiredDescriptionDefault
ProviderYesService hosting the repository: GitLab, GitHub, or Bitbucket
Branch / TagNoBranch name, tag, or commit SHAmain
PathNoDirectory path in the repository. Leave empty for the root
RecursiveNoRetrieve files recursively from subdirectoriesfalse

GitLab configuration

NameRequiredDescriptionDefault
Project IDYesGitLab project ID, for example, 12345

Bitbucket configuration

NameRequiredDescriptionExampleDefault
Project keyYesBitbucket project key, for example, MYPROJMYPROJ
Repository IDYesBitbucket repository ID, for example, my-repomy-repo

GitHub configuration

NameRequiredDescriptionDefault
Repository ownerYesRepository owner: an organization or user. For https://github.com/example/my-repo, specify example
RepositoryYesRepository name without .git. For https://github.com/example/my-repo, specify my-repo

Authorization

Configure authorization separately for each provider: