itchaox / annotree

Generate folder directory annotation tree | 生成文件夹目录注释树

Home Page:https://annotree.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Annotree

Annotree

A tool for generating annotated directory trees, greatly facilitating the writing of technical documentation

version license

中文 | English

Project Introduction

This project is based on folder-explorer and has been further developed. Thanks to FairyEver for the creativity and contribution!

This is my first official open-source project. If it helps you, please Star ⭐️ and share it with your friends. It means a lot to me, thank you 💗!

Official documentation: https://annotree.com

For the latest version download, please visit Github Release

Preview 🎉

demo

Feedback Channels

The project is currently in the MVP (Minimum Viable Product) stage. If you have any opinions or suggestions, please feel free to contact me through the following ways:

Why Further Development

  1. Some features of folder-explorer were redundant for me and didn't fit my usage habits.
  2. In folder-explorer, you need to export to see the configuration effect each time, which I found inconvenient. I wanted real-time preview.
  3. When editing notes in folder-explorer, you need to right-click to open the edit note menu each time, which I personally found not very convenient.

Features

  1. ✨ Real-time preview: View the annotated file tree effect in real-time without exporting text, making document writing more intuitive and efficient.
  2. 🖊 Convenient annotation: Easily write annotations by switching input boxes, avoiding cumbersome right-click menu operations and improving efficiency.
  3. 🚫 File and folder ignoring: Support ignoring specific folders and file types, ensuring only the file structure you need is displayed, keeping the file tree concise.
  4. 📂 Automatic opening of exported files: Automatically open files after exporting, no need to manually search for files, saving time and making the workflow smoother.

Feature Introduction

  • After clicking the scan button, open the file selector, choose the folder you want to scan, and start scanning.

Global Configuration

  • Automatically open files: automatically open files after exporting.
  • Ignore folders: ignore folders that do not need to be scanned to avoid performance loss or even program unresponsiveness, such as the node_modules folder, which is automatically ignored by the program.
  • Ignore folders starting with ".": These folders are hidden by default on MacOS and Linux.
  • Scan only folders: ignore all files and only scan folders.
  • Ignore files starting with ".": These files are hidden by default on MacOS and Linux.
  • Ignore file types: you can choose to ignore unnecessary file types to improve scanning efficiency.
  • Scan depth: set the depth of the scan directory, 0 means all depths, and each increment represents a scan depth +1.
  • Default name: the default name configuration for exported text.

Preview area configuration

  • Annotation formatting: the format of the fill annotation
  • Minimum number of bridge characters: the number of bridge characters displayed at the longest path
  • Bridge fill character: enter a single-byte fill character, such as: *, #, $, -, @, _, etc.
  • Always show bridges: configure whether to show bridges where there are no comments.
  • Export: set the relevant configuration, write the comments, and export the annotation file tree structure.

Star History Chart ⭐️

Star History Chart

Acknowledgements

  1. Thanks to electron-vite for providing the electron framework, which greatly improved my development efficiency.
  2. Thanks to md for providing me with README.md document ideas.

Who's Using It

If you've used the Annotree tool to generate an annotated project file tree structure and would like to showcase your project in this README, please leave a message at Discussions #2.

About

Generate folder directory annotation tree | 生成文件夹目录注释树

https://annotree.com

License:MIT License


Languages

Language:Vue 59.4%Language:JavaScript 24.6%Language:TypeScript 15.1%Language:HTML 0.7%Language:CSS 0.2%