Copytree

B+ 86 completed
Cli Tool
cli / javascript · small
272
Files
48,182
LOC
3
Frameworks
5
Languages

Pipeline State

completed
Run ID
#301831
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
83.00
Framework unique
Isolation
Last stage change
2026-05-10 03:35:17
Deduplication 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

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/10

Tags

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
Full Security Report AI Fix Prompts SARIF SBOM

Languages

javascript
63.8%
json
23.9%
markdown
9.1%
typescript
2.2%
yaml
1.1%

Frameworks

React Electron Jest

Symbols

variable554
method460
function179
class68
interface31
constant16
property8
type_alias3

API Endpoints (55)

Powered by Repobility · code-quality intelligence
MethodPathHandlerFramework
Methodology: Repobility · https://repobility.com/research/state-of-ai-code-2026/
GETapp.debugconfig.getExpress
GETapp.defaultInstructionsconfig.getExpress
GETapp.maxConcurrencycfg.getExpress
GETapp.maxConcurrencyconfig.getExpress
GETapp.prettyPrintconfig.getExpress
GETapp.prettyPrintconfig.getExpress
GETcache.transformations.enabledconfig.getExpress
GETcache.transformations.ttlconfig.getExpress
GETcopytreeconfigInstance.getExpress
GETcopytree.addLineNumbersconfig.getExpress
GETcopytree.addLineNumbersconfig.getExpress
GETcopytree.basePathExcludedDirectoriesconfig.getExpress
GETcopytree.binaryDetect.nonPrintableThresholdconfig.getExpress
GETcopytree.binaryDetect.sampleBytesconfig.getExpress
GETcopytree.binaryFileActionconfig.getExpress
GETcopytree.binaryFileActionconfig.getExpress
GETcopytree.binaryFileActionconfig.getExpress
GETcopytree.binaryFileActionconfig.getExpress
GETcopytree.binaryFileActionconfig.getExpress
GETcopytree.binaryFileActionconfig.getExpress
GETcopytree.binaryFileActionconfig.getExpress
GETcopytree.binaryFileActionconfig.getExpress
GETcopytree.binaryFileActionconfig.getExpress
GETcopytree.binaryPlaceholderTextconfig.getExpress
GETcopytree.binaryPlaceholderTextconfig.getExpress
GETcopytree.binaryPlaceholderTextconfig.getExpress
GETcopytree.binaryPolicyconfig.getExpress
GETcopytree.binaryPolicyconfig.getExpress
GETcopytree.binaryPolicyconfig.getExpress
GETcopytree.binaryPolicyconfig.getExpress
GETcopytree.binaryPolicyconfig.getExpress
GETcopytree.discoveryconfig.getExpress
GETcopytree.forceIncludeDotfilesconfig.getExpress
GETcopytree.globalExcludedDirectoriesconfig.getExpress
GETcopytree.globalExcludedFilesconfig.getExpress
GETcopytree.lineNumberFormatconfig.getExpress
GETcopytree.lineNumberFormatcfg.getExpress
GETcopytree.lineNumberFormatconfig.getExpress
GETcopytree.maxBase64Sizeconfig.getExpress
GETcopytree.maxFileSizeconfig.getExpress
GETcopytree.structureOnlyPatternsconfig.getExpress
GETcopytree.treeConnectorsconfig.getExpress
GETcopytree.treeConnectors.emptyconfig.getExpress
GETcopytree.treeConnectors.lastconfig.getExpress
GETcopytree.treeConnectors.middleconfig.getExpress
GETcopytree.treeConnectors.verticalconfig.getExpress
GETcopytree.treeIndentconfig.getExpress
GETpipeline.continueOnErrorcfg.getExpress
GETpipeline.emitProgresscfg.getExpress
GETsecretsGuard.enabledconfig.getExpress

Showing 50 of 55

Concepts (19)

Repobility (https://repobility.com) — every score reproducible
CategoryNameDescriptionConfidence
Want this analysis on your repo? https://repobility.com/scan/
auto_descriptionProject Description> Turn any codebase into a structured, AI-friendly format that fits in context windows.80%
design_patternRepositoryFound repository-named files80%
design_patternObserver/Event EmitterFound event emission/subscription patterns70%
arch_patternLayered ArchitectureFound API/routes, service, and data layers70%
arch_layerpresentationDetected presentation layer70%
arch_layerapiDetected api layer70%
arch_layerbusiness_logicDetected business_logic layer70%
arch_layerinfrastructureDetected infrastructure layer70%
arch_layertestingDetected testing layer70%
auto_categoryWeb Frontendweb-frontend70%
design_patternStrategyFound strategy/policy-named files60%
business_logicUser ManagementDetected from 14 related files50%
business_logicAnalyticsDetected from 2 related files50%
business_logicCachingDetected from 3 related files50%
business_logicConfigurationDetected from 25 related files50%
business_logicFile ManagementDetected from 34 related files50%
business_logicLoggingDetected from 6 related files50%
business_logicTestingDetected from 149 related files50%
business_logicSearchDetected from 9 related files50%
Source: Repobility analyzer · https://repobility.com

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/25651.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV