Copytree
B+ 86 completed
Cli Tool
cli / javascript · small
272
Files
48,182
LOC
3
Frameworks
5
Languages
Pipeline State
completedRun ID
#301831Phase
doneProgress
1%Started
Finished
2026-04-13 01:31:02LLM tokens
0Pipeline Metadata
Stage
CatalogedDecision
proceedNovelty
83.00Framework unique
—Isolation
—Last stage change
2026-05-10 03:35:17Deduplication group #61221
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Top concepts (12)
Project DescriptionRepositoryObserver/Event EmitterLayered Architecturepresentationapibusiness_logicinfrastructuretestingWeb FrontendStrategyUser Management
Repobility · severity-and-effort ranking · https://repobility.com
🧪 Code Distillation
Browse all specs →Sample distilled functions (click for full spec)
ConfigManager.effectiveCalculates and returns the effective configuration object by merging base settings with any provided overrides. It accepts an optional object containing a boolean flag to redact sensitive data and an optional string to specify a configuration section. The function outputs a record where each key map
Pipeline.sendInitiates a data processing pipeline by accepting an initial value of any type. This method returns an object that allows chaining stages, accepting either an array of pre-configured stages or a factory function to create them. Subsequently, it provides methods to either transform the final result u
TaskLimiter.resetResets the internal state of the task limiter instance by clearing all stored limiters and budgets. It also sets the initialization flag to false. This function takes no arguments and returns nothing. The primary side-effect is completely wiping the limiter's operational memory.
AI Prompt
Create a command-line tool using Node.js that can take a codebase path or a GitHub repository URL and generate a structured, AI-friendly representation of its contents. I need it to support multiple output formats like XML, Markdown, and JSON. Key features should include smart file discovery respecting `.gitignore` and `.copytreeignore`, the ability to only output the directory tree structure, and options to limit the output size to stay within AI context windows. It should also ideally handle displaying the output in the terminal or saving it to a file.
javascript node.js cli filesystem ai-tooling markdown json xml git
Generated by gemma4:latest
Catalog Information
The copytree project is a Node.js CLI tool and library designed to assist in copying directory structures and file contents into organized formats.
Description
Copytree is a Node.js command-line interface (CLI) tool and library that enables the efficient replication of directory structures and file contents. It provides a structured approach to copying files, making it an ideal solution for tasks such as data migration or backup processes. The project's primary function is to facilitate the transfer of directory structures and file contents into organized formats.
الوصف
هذا المشروع هو أداة و مكتبة CLI ل Node.js التي تساعد في نسخ بنية المجلدات ومحتوى الملفات إلى تنسيقات منظمة
Novelty
5/10Tags
directory-structure file-copying data-migration backup-processes structured-data file-transfer
Technologies
jest react
Claude Models
claude (unknown version) claude-opus-4.6
Quality Score
B+
86.3/100
Structure
92
Code Quality
79
Documentation
87
Testing
85
Practices
82
Security
100
Dependencies
90
Strengths
- CI/CD pipeline configured (github_actions)
- Good test coverage (185% test-to-source ratio)
- Code linting configured (eslint)
- Good security practices \u2014 no major issues detected
- Properly licensed project
Weaknesses
- 1951 duplicate lines detected \u2014 consider DRY refactoring
- 3 'god files' with >500 LOC need decomposition
Recommendations
- Address 64 TODO/FIXME items \u2014 consider tracking them as issues
Security & Health
21.1h
Tech Debt (B)
High
DORA Rating
A
OWASP (100%)
Want fix-PRs on findings? Install Repobility's GitHub App · github.com/apps/repobility-bot
PASS
Quality Gate
A
Risk (1)
MIT
License
7.1%
Duplication
Languages
Frameworks
React Electron Jest
Symbols
variable554
method460
function179
class68
interface31
constant16
property8
type_alias3
API Endpoints (55)
| Method | Path | Handler | Framework | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Methodology: Repobility · https://repobility.com/research/state-of-ai-code-2026/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | app.debug | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | app.defaultInstructions | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | app.maxConcurrency | cfg.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | app.maxConcurrency | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | app.prettyPrint | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | app.prettyPrint | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | cache.transformations.enabled | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | cache.transformations.ttl | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree | configInstance.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.addLineNumbers | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.addLineNumbers | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.basePathExcludedDirectories | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryDetect.nonPrintableThreshold | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryDetect.sampleBytes | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryFileAction | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryFileAction | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryFileAction | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryFileAction | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryFileAction | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryFileAction | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryFileAction | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryFileAction | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryFileAction | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryPlaceholderText | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryPlaceholderText | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryPlaceholderText | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryPolicy | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryPolicy | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryPolicy | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryPolicy | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.binaryPolicy | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.discovery | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.forceIncludeDotfiles | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.globalExcludedDirectories | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.globalExcludedFiles | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.lineNumberFormat | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.lineNumberFormat | cfg.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.lineNumberFormat | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.maxBase64Size | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.maxFileSize | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.structureOnlyPatterns | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.treeConnectors | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.treeConnectors.empty | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.treeConnectors.last | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.treeConnectors.middle | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.treeConnectors.vertical | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | copytree.treeIndent | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | pipeline.continueOnError | cfg.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | pipeline.emitProgress | cfg.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| GET | secretsGuard.enabled | config.get | Express | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Showing 50 of 55
Concepts (19)
| Category | Name | Description | Confidence | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Want this analysis on your repo? https://repobility.com/scan/ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_description | Project Description | > Turn any codebase into a structured, AI-friendly format that fits in context windows. | 80% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| design_pattern | Repository | Found repository-named files | 80% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| design_pattern | Observer/Event Emitter | Found event emission/subscription patterns | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arch_pattern | Layered Architecture | Found API/routes, service, and data layers | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arch_layer | presentation | Detected presentation layer | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arch_layer | api | Detected api layer | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arch_layer | business_logic | Detected business_logic layer | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arch_layer | infrastructure | Detected infrastructure layer | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| arch_layer | testing | Detected testing layer | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| auto_category | Web Frontend | web-frontend | 70% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| design_pattern | Strategy | Found strategy/policy-named files | 60% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| business_logic | User Management | Detected from 14 related files | 50% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| business_logic | Analytics | Detected from 2 related files | 50% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| business_logic | Caching | Detected from 3 related files | 50% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| business_logic | Configuration | Detected from 25 related files | 50% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| business_logic | File Management | Detected from 34 related files | 50% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| business_logic | Logging | Detected from 6 related files | 50% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| business_logic | Testing | Detected from 149 related files | 50% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| business_logic | Search | Detected from 9 related files | 50% | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Source: Repobility analyzer · https://repobility.com
Embed Badge
Add to your README:
