{"id":14985897,"url":"https://github.com/jaywcjlove/github-action-folder-tree","last_synced_at":"2026-03-15T20:20:17.705Z","repository":{"id":250569394,"uuid":"834787851","full_name":"jaywcjlove/github-action-folder-tree","owner":"jaywcjlove","description":"View the folder directory tree structure, similar to the output of the tree command","archived":false,"fork":false,"pushed_at":"2024-08-19T14:46:18.000Z","size":1196,"stargazers_count":8,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-18T19:30:28.818Z","etag":null,"topics":["action","actions","folder-tree"],"latest_commit_sha":null,"homepage":"https://jaywcjlove.github.io/github-action-folder-tree/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaywcjlove.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"ko_fi":"jaywcjlove","buy_me_a_coffee":"jaywcjlove","custom":["https://www.paypal.me/kennyiseeyou","https://jaywcjlove.github.io/#/sponsor"]}},"created_at":"2024-07-28T11:11:55.000Z","updated_at":"2025-08-28T08:31:27.000Z","dependencies_parsed_at":"2024-08-29T14:38:00.725Z","dependency_job_id":null,"html_url":"https://github.com/jaywcjlove/github-action-folder-tree","commit_stats":{"total_commits":17,"total_committers":1,"mean_commits":17.0,"dds":0.0,"last_synced_commit":"efa99c9e962adda8c22d3a2e4877234a09ea0728"},"previous_names":["jaywcjlove/github-action-folder-tree"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jaywcjlove/github-action-folder-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fgithub-action-folder-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fgithub-action-folder-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fgithub-action-folder-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fgithub-action-folder-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaywcjlove","download_url":"https://codeload.github.com/jaywcjlove/github-action-folder-tree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaywcjlove%2Fgithub-action-folder-tree/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018013,"owners_count":26086237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","actions","folder-tree"],"created_at":"2024-09-24T14:11:50.985Z","updated_at":"2025-10-14T05:16:55.753Z","avatar_url":"https://github.com/jaywcjlove.png","language":"TypeScript","readme":"Print Folder Tree\n===\n\n[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor)\n[![test](https://github.com/jaywcjlove/github-action-folder-tree/actions/workflows/ci.yml/badge.svg)](https://github.com/jaywcjlove/github-action-folder-tree/actions/workflows/ci.yml)\n\nView the folder directory tree structure, similar to the output of the `tree` command\n\n## Example Usage\n\n```yml\n- name: Print Folder Tree\n  uses: jaywcjlove/github-action-folder-tree@main\n  with:\n    exclude: \"node_modules|dist|.git|.husky\"\n    path: ./src\n    depth: 2\n```\n\nOutput Project Structure\n\n```sh\n├── .lintstagedrc\n├── LICENSE\n├── README.md\n├── action.yml\n├─\u003e build\n├── package-lock.json\n├── package.json\n├── renovate.json\n├─\u003e src\n│   └── index.ts\n└── tsconfig.json\n```\n\n```yml\n- name: Print Folder Tree\n  uses: jaywcjlove/github-action-folder-tree@main\n  id: tree\n  with:\n    exclude: \"node_modules|dist|.git|.husky\"\n    path: ./src\n    depth: 2\n\n- name: Modify README.md\n  uses: jaywcjlove/github-action-modify-file-content@main\n  with:\n    path: README.md\n    body: ${{ steps.tree.outputs.content }}\n```\n\nConfigure dree using JSON\n\n```yml\n- name: Print Folder Tree\n  uses: jaywcjlove/github-action-folder-tree@main\n  with:\n    config: './docs/dree-config.json'\n```\n\n## Inputs\n\n- `path` Folder path. (default `./`)\n- `depth` Scan the maximum depth reachable for the given path (default `5`)\n- `exclude` Pass a regex string to exclude directories from printing\n- `config` The path to the dree configuration file\n\n## Outputs\n\n- `content` Directory tree structure text\n\n## See Also\n\n- [Github Release Changelog Generator](https://github.com/jaywcjlove/changelog-generator) A GitHub Action that compares the commit differences between two branches\n- [Create Tags From](https://github.com/jaywcjlove/create-tag-action) Auto create tags from commit or package.json.\n- [Github Action Contributors](https://github.com/jaywcjlove/github-action-contributors) Github action generates dynamic image URL for contributor list to display it!\n- [Generated Badges](https://github.com/jaywcjlove/generated-badges) Create a badge using GitHub Actions and GitHub Workflow CPU time (no 3rd parties servers)\n- [Create Coverage Badges](https://github.com/jaywcjlove/coverage-badges-cli) Create coverage badges from coverage reports. (no 3rd parties servers)\n- [Github Action package](https://github.com/jaywcjlove/github-action-package) Read and modify the contents of `package.json`.\n- [Github Action EJS](https://github.com/jaywcjlove/github-action-package) A github action to render a ejs template using github context.\n- [Modify File Content](https://github.com/jaywcjlove/github-action-modify-file-content) Replace text content and submit content.\n\n## License\n\nLicensed under the MIT License.\n","funding_links":["https://ko-fi.com/jaywcjlove","https://buymeacoffee.com/jaywcjlove","https://www.paypal.me/kennyiseeyou","https://jaywcjlove.github.io/#/sponsor"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywcjlove%2Fgithub-action-folder-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaywcjlove%2Fgithub-action-folder-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaywcjlove%2Fgithub-action-folder-tree/lists"}