Skip to content

Skavces/github-tree-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Tree Viewer

A powerful web application that allows you to easily generate, view, and export the file tree structure of any public GitHub repository.

GitHub Tree Viewer Screenshot

🚀 Features

  • Visualize GitHub Repositories: Enter a GitHub repository URL to instantly view its directory and file structure.
  • Multiple Export Formats: Export the generated file tree in various formats including:
    • ASCII
    • Markdown
    • JSON
    • Plain Text
  • Customizable Output: Toggle options to include or exclude file icons in the exported tree.
  • Modern UI: Built with a sleek, responsive, and user-friendly interface using React and Tailwind CSS.
  • Rate Limited API: Backend API protected with rate limiting to ensure stable performance.

🛠️ Tech Stack

Frontend

Backend

  • Framework: NestJS
  • Validation: Zod
  • Rate Limiting: NestJS Throttler

📦 Installation & Setup

Prerequisites

Ensure you have the following installed:

  • Node.js (v18+ recommended)
  • npm (Node Package Manager)

1. Clone the repository

git clone https://github.com/Skavces/github-tree-viewer
cd github-tree-viewer

2. Backend Setup

Open a terminal and navigate to the backend directory:

cd backend
npm install
npm run start:dev

The NestJS server will start in development mode with hot-reloading.

3. Frontend Setup

Open a new terminal window and navigate to the frontend directory:

cd frontend
npm install
npm run dev

The Vite development server will start. Open your browser and navigate to the local URL provided (usually http://localhost:5173).

📜 Available Scripts

Backend (/backend)

  • npm run start: Starts the NestJS server.
  • npm run start:dev: Starts the NestJS server in watch mode.
  • npm run build: Compiles the application into the dist folder.
  • npm run start:prod: Runs the compiled application.

Frontend (/frontend)

  • npm run dev: Starts the Vite development server.
  • npm run build: Builds the app for production to the dist folder.
  • npm run preview: Locally preview the production build.

📄 License

This project is open-source and available under the MIT License.

About

Visualize and export the file structure of any GitHub repository without cloning it. Built with React, Vite, and NestJS.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors