Skip to content

Github repository directory tree generator. Input a public GitHub repository link and instantly generate an elegant directory structure.Github项目目录树生成器。输入一个公开的 GitHub 仓库链接,即刻生成优雅的目录结构。

License

Notifications You must be signed in to change notification settings

Azad-sl/GitTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitTree 🌳

界面
界面
按钮
按钮
生成卡片
生成卡片

An elegant and efficient GitHub repository tree generator.

Go to Website 01 »

Go to Website 02 »

Install Tampermonkey script/安装油猴脚本 01»

Install Tampermonkey script/安装油猴脚本 02»


🌎 README

English | 中文


🇬🇧 English Version

An elegant and efficient web tool that generates clear, beautiful directory trees for any public GitHub repository. Designed to help developers quickly visualize, share, and archive the structure of any public repository. Ideal for writing documentation, project overviews, and code sharing. The tool runs entirely on the frontend, with core data fetched by calling GitHub's official REST API (Git/Trees API), ensuring real-time and accurate data.

✨ Features

  • Instant Generation: Get a repository tree just by pasting a link.
  • Advanced Filtering: Filter by depth, exclude files/folders (wildcard * supported), and toggle between "All" and "Folders-only" views.
  • Intelligent Interface: Supports both Light and Dark modes. The language automatically switches between English and Chinese based on your browser settings, and your preferences are saved for your next visit.
  • Multiple Export Options:
    • Copy as plain text.
    • Copy as Markdown code block.
    • Export as a stylish directory tree image with macOS style windows and export project sharing cards in various styles.
    • 🚀 Cross-Platform Script Generation: One-click download of a script to instantly create the entire directory structure locally.
      • .bat for Windows: Generates a batch file for Windows users.
      • .sh for macOS/Linux: Generates a shell script for macOS and Linux users.

🇨🇳 中文版

一款优雅、高效的网页工具,能为任何公开的 GitHub 仓库生成清晰、美观的目录树。旨在帮助开发者快速可视化、分享和归档任何公共仓库的结构。 适用于编写文档、项目概览和代码分享。该工具完全在前端运行,核心数据通过调用 GitHub 官方的 REST API (Git/Trees API) 获取,确保了数据的实时与准确性。

✨ 核心特性

  • ⚡️ 快速生成: 只需一个链接,即刻生成目录树。
  • 🛠️ 高级过滤: 支持按深度、按名称(支持 * 通配符)排除项目,并能轻松切换“完整”或“仅文件夹”视图。
  • 💡 智能界面: 支持亮色与暗色两种模式。并能根据您的浏览器环境自动切换中英文,您的偏好将被自动记忆,方便下次访问。
  • 🚀 多种导出方式:
    • 复制为纯文本。
    • 复制为 Markdown 代码块。
    • 导出为带有macOS风格窗口的精美目录树图片、导出多种风格的项目分享卡片。
    • 跨平台脚本生成: 一键下载脚本,瞬间在本地创建与仓库完全一致的目录结构。
      • .bat 脚本 (Windows): 为 Windows 用户生成批处理文件。
      • .sh 脚本 (macOS/Linux): 为 macOS 和 Linux 用户生成 Shell 脚本。

❤️ Support | 支持一下

If you like this project, please give it a ⭐️ Star! Or, you can buy me a coffee. 如果项目对你有帮助,欢迎点个 ⭐️ Star!也可以请我喝杯咖啡。

Donation

About

Github repository directory tree generator. Input a public GitHub repository link and instantly generate an elegant directory structure.Github项目目录树生成器。输入一个公开的 GitHub 仓库链接,即刻生成优雅的目录结构。

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published