Back to Projects

tree-me

TypeScriptNode.jsnpm
tree-me

🧠 Overview

Tree Me is a minimal, TypeScript-powered CLI tool for recursively walking directory trees, generating relative file paths, and building sharable GitHub-style links for every file. It's ideal for documenting, linking, or sharing the structure of your projects, and supports output in .txt, Markdown, or JSON formats. Tree Me is npm-publishing ready and designed for automation or integration into docs.

🛠️Technology Stack

Built with TypeScript for type safety and Node.js for cross-platform compatibility, packaged as an npm CLI tool for easy distribution and installation.

🔷TypeScript🟢Node.js📦npm💻CLI🔄Git Integration

✨ Core Capabilities

Key Features

  • Recursive Directory Walk

    Traverses entire folder trees and outputs complete structure

  • Pretty-Printed Tree View

    Visual tree structure with branches and indentation for readability

  • Depth Limiting

    Control recursion depth to focus on specific directory levels

Directory Visualization features

📊Technical Specifications

📦Bundle Size

Minimal

🔗Dependencies

Few

🔷Type Coverage

100%

📜License

MIT

🛠️ Design Philosophy

🧩

CLI Simplicity Challenge

Developer Tools

Challenge:

Create a command-line tool that's both minimal in dependencies and implementation while providing robust functionality for documenting project structures.

Solution:

Developed a focused tool with a clear purpose, using TypeScript's type safety and Node.js's file system capabilities without unnecessary dependencies.

Impact:

Produced a lightweight CLI that's easy to install, fast to execute, and serves a specific documentation need for developers and technical writers.

📈 Development Journey

📅Project Progression

March 2025

Initial Concept

Identified need for better project structure documentation

April 2025

Core Functionality

Implemented directory traversal and basic output

April 2025

Link Generation

Added GitHub link creation and remote detection

May 2025

Format Options

Expanded output formats and file saving

May 2025

CLI Options

Enhanced command-line interface and documentation

June 2025

Packaging & Publishing

Prepared for npm distribution

🚧 WIP + Future Roadmap

Upcoming Features

  • Multiple Git Providers

    Toggle between GitHub/GitLab/Bitbucket link templates

  • Directory Links

    Include folders as clickable navigation links

  • Branch/Tag Support

    Specify Git branch or tag for generated links

🔗 Summary

🧩

Project Impact

Developer Documentation

Challenge:

Create a specialized tool that simplifies the documentation and sharing of project structures for developers and technical writers.

Solution:

Developed Tree Me, a TypeScript CLI that recursively maps directory structures and generates GitHub-compatible links for every file, with flexible output options.

Impact:

Provided a valuable tool for open source maintainers, technical writers, and developers who need to document, share, or reference their project's structure in a clear, accessible format.