https://github.com/minhkhoixyz/xyz-project-mapper
A lightweight web utility to map project structures
https://github.com/minhkhoixyz/xyz-project-mapper
ai-tools chatgpt claude developer-tools llm-context prompt-engineering vue3
Last synced: about 2 months ago
JSON representation
A lightweight web utility to map project structures
- Host: GitHub
- URL: https://github.com/minhkhoixyz/xyz-project-mapper
- Owner: MinhKhoixyz
- Created: 2026-03-30T13:41:14.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2026-03-30T14:19:23.000Z (4 months ago)
- Last Synced: 2026-03-30T16:27:12.328Z (4 months ago)
- Topics: ai-tools, chatgpt, claude, developer-tools, llm-context, prompt-engineering, vue3
- Language: JavaScript
- Homepage: https://minhkhoixyz.github.io/xyz-project-mapper/
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
XYZ Project Mapper πΊοΈ
The ultimate context-packing tool for AI Assistants (ChatGPT, Claude, Gemini)
[](https://github.com/MinhKhoixyz/xyz-project-mapper/actions)
## π Live Demo
**[Try XYZ Project Mapper Now](https://minhkhoixyz.github.io/xyz-project-mapper/)**
---
## π‘ The Problem
Providing context to Large Language Models (LLMs) can be painful. You can't just drag and drop a whole project folder. Copy-pasting individual files loses the crucial directory structure, leaving the AI confused about how your project pieces fit together. Furthermore, with the rise of AI Agents, managing exactly what an AI *should* and *should not* see is crucial for preventing hallucinations, ensuring security, and saving tokens.
## β¨ The Solution
**XYZ Project Mapper** is a lightweight web utility that solves this context management problem. It reads your local project directory, generates a beautiful ASCII directory tree, allows you to selectively pick important code files, and bundles everything into a single `.txt` file perfectly formatted for AI consumption.
### π₯ Key Features
- π **Privacy First (Zero Backend):** Uses the modern `File System Access API`. Your code never leaves your machine. It's processed 100% locally in your browser.
- π³ **Smart ASCII Tree:** Automatically generates a visual structure of your project, intelligently sorting directories above files (IDE-style) while skipping heavy folders like `node_modules` or `.git`.
- π― **Selective & Bulk Export:** Don't bloat your prompt! Check only the files you want the AI to analyze. Use the quick action button on any folder to instantly select or deselect all its contents.
- π
**Premium IDE-like UI:** A beautifully spacious, dark-mode interface featuring a smooth animated mesh gradient background, resizable sidebar, custom scrollbars, and intuitive Lucide icons to ensure a top-tier developer experience.
## π οΈ Tech Stack
- **Frontend:** Vue.js 3 (CDN), HTML5, Vanilla CSS3 (Modern Flexbox/Grid)
- **Icons:** [Lucide Icons](https://lucide.dev/)
- **Core API:** `window.showDirectoryPicker()`
- **CI/CD:** GitHub Actions & GitHub Pages
## π» Local Development
This project is pure frontend with no complex build steps required. To run or modify the code locally:
1. **Clone this repository:**
```bash
git clone https://github.com/MinhKhoixyz/xyz-project-mapper.git
```
2. **Run a local server:**
Because it uses the `File System Access API`, it must be served over `localhost`, `127.0.0.1`, or HTTPS. You can use any static server, such as VS Code's Live Server, Python, or npx:
```bash
npx serve .
# or
python -m http.server
```