repomeld 2.0.3 โ 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +337 -226
- package/bin/cli.js +367 -370
- package/package.json +32 -6
package/README.md
CHANGED
|
@@ -2,7 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
> Meld your entire repo into a single file โ perfect for AI context, code reviews & sharing.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[](https://www.npmjs.com/package/repomeld)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
> ## ๐ผ Open to Work
|
|
11
|
+
> **The author is available for freelance & full-time work.**
|
|
12
|
+
> ๐ง [susheelhbti@gmail.com](mailto:susheelhbti@gmail.com) โ reach out anytime!
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## โจ Features
|
|
17
|
+
|
|
18
|
+
- ๐ **Fast & Efficient** - Async scanning with real-time progress
|
|
19
|
+
- ๐จ **Multiple Styles** - Banner, Markdown, or Minimal output
|
|
20
|
+
- ๐ **Smart Filtering** - Extension, pattern, and size-based filtering
|
|
21
|
+
- ๐ **Gitignore Support** - Respects your .gitignore rules automatically
|
|
22
|
+
- ๐พ **Binary Detection** - Intelligently skips binary files
|
|
23
|
+
- ๐ฆ **Single File Output** - Perfect for AI context windows
|
|
24
|
+
- ๐ **Auto-Numbering** - Never overwrites existing files
|
|
25
|
+
- ๐ฟ **Zip Backup** - Creates timestamped backups of all included files
|
|
26
|
+
- ๐ **Update Notifications** - Know when new versions are available
|
|
27
|
+
- ๐ฏ **Force Include** - Override ignore rules when needed
|
|
6
28
|
|
|
7
29
|
---
|
|
8
30
|
|
|
@@ -12,6 +34,12 @@
|
|
|
12
34
|
npm install -g repomeld
|
|
13
35
|
```
|
|
14
36
|
|
|
37
|
+
Or use without installing:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npx repomeld
|
|
41
|
+
```
|
|
42
|
+
|
|
15
43
|
---
|
|
16
44
|
|
|
17
45
|
## Quick Start
|
|
@@ -21,327 +49,410 @@ cd your-project
|
|
|
21
49
|
repomeld
|
|
22
50
|
```
|
|
23
51
|
|
|
24
|
-
|
|
52
|
+
That's it. repomeld walks your project, respects `.gitignore`, skips binary files, and writes everything into one readable file.
|
|
25
53
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
โ Meld your repo into one file ๐ฅ โ
|
|
30
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
31
|
-
|
|
32
|
-
๐ผ Author susheelhbti@gmail.com is open to freelance & full-time work
|
|
33
|
-
|
|
34
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
35
|
-
โ Interactive setup โ answer 7 quick questions โ
|
|
36
|
-
โ Press Enter to accept the [default] value โ
|
|
37
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
38
|
-
|
|
39
|
-
๐ 1/7 Output filename? [repomeld_output.txt]
|
|
40
|
-
>
|
|
41
|
-
|
|
42
|
-
๐จ 2/7 Header style?
|
|
43
|
-
1) banner โ clear dividers with file info (default)
|
|
44
|
-
2) markdown โ great for pasting into AI prompts
|
|
45
|
-
3) minimal โ filename only, no extra formatting
|
|
46
|
-
>
|
|
47
|
-
|
|
48
|
-
๐ 3/7 Filter to specific file extensions?
|
|
49
|
-
e.g. js ts php py (leave blank = include ALL files)
|
|
50
|
-
>
|
|
51
|
-
|
|
52
|
-
๐๏ธ 4/7 Enable structure-only mode? (y/n) [n]
|
|
53
|
-
Strips function bodies โ keeps class names + signatures only.
|
|
54
|
-
Cuts a 400-line file to ~30 lines. Perfect for AI architecture review.
|
|
55
|
-
>
|
|
56
|
-
|
|
57
|
-
๐ 5/7 Generate a code review graph? (y/n) [n]
|
|
58
|
-
Adds a Mermaid call graph at the top of the output.
|
|
59
|
-
AI models read Mermaid natively โ shows which files connect to which.
|
|
60
|
-
>
|
|
61
|
-
|
|
62
|
-
๐ 6/7 Include a table of contents? (y/n) [y]
|
|
63
|
-
>
|
|
64
|
-
|
|
65
|
-
๐งช 7/7 Dry run only? (y/n) [n]
|
|
66
|
-
Preview which files would be included without writing anything.
|
|
67
|
-
>
|
|
68
|
-
```
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Auto-Numbered Output โ No Overwriting
|
|
69
57
|
|
|
70
|
-
|
|
58
|
+
Every time you run repomeld it creates a **new numbered file** so previous runs are never lost:
|
|
71
59
|
|
|
72
60
|
```
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
โ Output : repomeld_output.txt โ
|
|
77
|
-
โ Style : markdown โ
|
|
78
|
-
โ Extensions : php ts โ
|
|
79
|
-
โ Structure only : yes โ
โ
|
|
80
|
-
โ Review graph : yes โ
โ
|
|
81
|
-
โ Table of cont. : yes โ
|
|
82
|
-
โ Dry run : no โ
|
|
83
|
-
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
61
|
+
repomeld_output.txt โ first run
|
|
62
|
+
repomeld_output__2.txt โ second run
|
|
63
|
+
repomeld_output__3.txt โ third run
|
|
84
64
|
```
|
|
85
65
|
|
|
66
|
+
All previous output files are also **automatically excluded** from the next run's content โ so you'll never get repomeld's own output included inside itself.
|
|
67
|
+
|
|
86
68
|
---
|
|
87
69
|
|
|
88
|
-
##
|
|
70
|
+
## All Options
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
Usage: repomeld [options]
|
|
89
74
|
|
|
90
|
-
|
|
75
|
+
Options:
|
|
76
|
+
-V, --version Show version number
|
|
77
|
+
-h, --help Show help
|
|
91
78
|
|
|
92
|
-
|
|
93
|
-
|
|
79
|
+
Output:
|
|
80
|
+
-o, --output <filename> Output file name
|
|
81
|
+
Default: "repomeld_output.txt"
|
|
82
|
+
Auto-numbered if the file already exists.
|
|
83
|
+
|
|
84
|
+
Filtering:
|
|
85
|
+
-e, --ext <exts...> Only include files with these extensions
|
|
86
|
+
e.g. --ext js ts jsx tsx
|
|
87
|
+
|
|
88
|
+
--include <patterns...> Only include files whose path matches a pattern
|
|
89
|
+
e.g. --include src/
|
|
90
|
+
|
|
91
|
+
--exclude <patterns...> Skip files whose path matches a pattern
|
|
92
|
+
e.g. --exclude test spec __tests__
|
|
93
|
+
|
|
94
|
+
-i, --ignore <names...> Extra folder or file names to ignore
|
|
95
|
+
e.g. --ignore dist .next coverage
|
|
96
|
+
|
|
97
|
+
--force-include <names...> Force-include something that would normally be ignored
|
|
98
|
+
e.g. --force-include vendor bootstrap
|
|
99
|
+
|
|
100
|
+
--max-size <kb> Skip files larger than N kilobytes
|
|
101
|
+
Default: 500
|
|
102
|
+
|
|
103
|
+
--no-gitignore Ignore .gitignore file (include everything)
|
|
104
|
+
|
|
105
|
+
Formatting:
|
|
106
|
+
-s, --style <style> Header style for each file block:
|
|
107
|
+
banner โ clear dividers with file info (default)
|
|
108
|
+
markdown โ fenced code blocks, great for AI prompts
|
|
109
|
+
minimal โ filename only, no extra formatting
|
|
110
|
+
|
|
111
|
+
--no-toc Don't include a table of contents at the top
|
|
112
|
+
|
|
113
|
+
--no-meta Hide per-file metadata (line count, size, language)
|
|
114
|
+
|
|
115
|
+
--trim Trim leading/trailing whitespace from each file
|
|
116
|
+
|
|
117
|
+
Advanced:
|
|
118
|
+
--lines-before <n> Skip the first N lines of every file
|
|
119
|
+
--lines-after <n> Skip the last N lines of every file
|
|
120
|
+
--dry-run Preview which files would be included โ nothing is written
|
|
121
|
+
--no-backup Skip creating backup zip file
|
|
122
|
+
--no-update-check Skip checking for updates
|
|
94
123
|
```
|
|
95
124
|
|
|
96
|
-
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Examples
|
|
97
128
|
|
|
98
129
|
```bash
|
|
99
|
-
|
|
130
|
+
# Basic โ include everything, auto-numbered output
|
|
131
|
+
repomeld
|
|
132
|
+
|
|
133
|
+
# Only TypeScript files
|
|
134
|
+
repomeld --ext ts tsx
|
|
135
|
+
|
|
136
|
+
# Only files inside src/
|
|
137
|
+
repomeld --include src/
|
|
138
|
+
|
|
139
|
+
# Skip test files
|
|
140
|
+
repomeld --exclude test spec __tests__
|
|
141
|
+
|
|
142
|
+
# Markdown style โ great for pasting into AI chats
|
|
143
|
+
repomeld --style markdown --output context.md
|
|
144
|
+
|
|
145
|
+
# Preview what would be included without writing anything
|
|
146
|
+
repomeld --dry-run
|
|
147
|
+
|
|
148
|
+
# Ignore extra folders on top of defaults
|
|
149
|
+
repomeld --ignore coverage logs tmp
|
|
150
|
+
|
|
151
|
+
# Respect gitignore (default) or ignore it
|
|
152
|
+
repomeld --no-gitignore # include everything
|
|
153
|
+
|
|
154
|
+
# Only small files โ skip anything over 100 KB
|
|
155
|
+
repomeld --max-size 100
|
|
156
|
+
|
|
157
|
+
# Force-include a vendor file that's normally ignored
|
|
158
|
+
repomeld --force-include bootstrap
|
|
159
|
+
|
|
160
|
+
# No table of contents, no metadata
|
|
161
|
+
repomeld --no-toc --no-meta
|
|
162
|
+
|
|
163
|
+
# Combine filters
|
|
164
|
+
repomeld --ext php --include Controllers --exclude test --style markdown
|
|
165
|
+
|
|
166
|
+
# Skip backup creation
|
|
167
|
+
repomeld --no-backup
|
|
100
168
|
```
|
|
101
169
|
|
|
102
170
|
---
|
|
103
171
|
|
|
104
|
-
##
|
|
172
|
+
## Auto-Ignored by Default
|
|
105
173
|
|
|
106
|
-
|
|
174
|
+
repomeld automatically skips these so your output stays clean:
|
|
107
175
|
|
|
108
|
-
|
|
176
|
+
| Category | What's skipped |
|
|
177
|
+
|-----------------|-----------------------------------------------------|
|
|
178
|
+
| Dependencies | `node_modules/` |
|
|
179
|
+
| Version control | `.git/` |
|
|
180
|
+
| Env / secrets | `.env`, `.env.local`, `.env.production` |
|
|
181
|
+
| Lock files | `package-lock.json`, `yarn.lock`, `pnpm-lock.yaml` |
|
|
182
|
+
| Build output | `dist/`, `build/`, `.next/`, `.nuxt/`, `.cache/` |
|
|
183
|
+
| OS files | `.DS_Store` |
|
|
184
|
+
| repomeld output | `repomeld_output.txt` and all `repomeld_output__N.txt` files |
|
|
109
185
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
186
|
+
**Note:** `package.json` and `README.md` are **NOT** ignored by default โ they contain important context for AI tools and code reviews.
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
## Custom Ignore Rules
|
|
191
|
+
|
|
192
|
+
### Method 1: repomeld.ignore.json
|
|
193
|
+
|
|
194
|
+
Create a `repomeld.ignore.json` in your project root:
|
|
113
195
|
|
|
114
|
-
|
|
115
|
-
```php
|
|
116
|
-
public function available(Request $request)
|
|
196
|
+
```json
|
|
117
197
|
{
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
198
|
+
"ignore": [
|
|
199
|
+
"coverage",
|
|
200
|
+
"logs",
|
|
201
|
+
"tmp",
|
|
202
|
+
"*.min.js",
|
|
203
|
+
"**/generated/**"
|
|
204
|
+
]
|
|
123
205
|
}
|
|
124
206
|
```
|
|
125
207
|
|
|
126
|
-
|
|
127
|
-
```php
|
|
128
|
-
public function available(Request $request) { ... }
|
|
129
|
-
```
|
|
130
|
-
|
|
131
|
-
Supports **PHP, JavaScript, TypeScript, Python**. Other languages fall back to the first 30 lines.
|
|
208
|
+
These are merged with the defaults every time repomeld runs.
|
|
132
209
|
|
|
133
|
-
|
|
134
|
-
- Giving AI a full architecture overview without hitting context limits
|
|
135
|
-
- Code review focusing on structure, not implementation
|
|
136
|
-
- Onboarding โ understand a codebase in seconds
|
|
210
|
+
### Method 2: .gitignore
|
|
137
211
|
|
|
138
|
-
|
|
212
|
+
repomeld automatically respects your `.gitignore` file. Use `--no-gitignore` to override.
|
|
139
213
|
|
|
140
|
-
###
|
|
214
|
+
### Method 3: CLI --ignore
|
|
141
215
|
|
|
142
|
-
|
|
216
|
+
Override on the command line:
|
|
143
217
|
|
|
144
218
|
```bash
|
|
145
|
-
repomeld --
|
|
219
|
+
repomeld --ignore temp logs "*.tmp"
|
|
146
220
|
```
|
|
147
221
|
|
|
148
|
-
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## Backup Zip Files
|
|
225
|
+
|
|
226
|
+
When repomeld runs, it automatically creates a backup zip file in the `repomeld_repomeld/` folder:
|
|
149
227
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
228
|
+
```
|
|
229
|
+
repomeld_output.txt
|
|
230
|
+
repomeld_repomeld/
|
|
231
|
+
โโโ repomeld_output.zip โ contains all included files + output
|
|
154
232
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
233
|
+
repomeld_output__2.txt
|
|
234
|
+
repomeld_repomeld/
|
|
235
|
+
โโโ repomeld_output__2.zip โ corresponding backup
|
|
158
236
|
|
|
159
|
-
|
|
160
|
-
|
|
237
|
+
repomeld_output__3.txt
|
|
238
|
+
repomeld_repomeld/
|
|
239
|
+
โโโ repomeld_output__3.zip โ and so on...
|
|
161
240
|
```
|
|
162
|
-
````
|
|
163
241
|
|
|
164
|
-
|
|
242
|
+
The zip file contains:
|
|
243
|
+
- All source files included in the run (preserving folder structure)
|
|
244
|
+
- The repomeld output file itself
|
|
245
|
+
|
|
246
|
+
To disable backups: `repomeld --no-backup`
|
|
165
247
|
|
|
166
248
|
---
|
|
167
249
|
|
|
168
|
-
|
|
250
|
+
## Output Format
|
|
251
|
+
|
|
252
|
+
Each run produces a file like this:
|
|
169
253
|
|
|
170
|
-
```bash
|
|
171
|
-
repomeld --structure-only --review-graph
|
|
172
254
|
```
|
|
255
|
+
# Generated by repomeld v2.0.4
|
|
256
|
+
# Date : 2025-04-23T10:00:00.000Z
|
|
257
|
+
# Source : /your/project
|
|
258
|
+
# Files : 12
|
|
259
|
+
# Lines : 847
|
|
173
260
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
261
|
+
TABLE OF CONTENTS
|
|
262
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
263
|
+
1. src/index.js
|
|
264
|
+
2. src/utils.js
|
|
265
|
+
3. src/config.js
|
|
266
|
+
...
|
|
267
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
178
268
|
|
|
179
|
-
|
|
269
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
270
|
+
FILE: src/index.js [120 lines | 3.2 KB | javascript]
|
|
271
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
180
272
|
|
|
181
|
-
|
|
273
|
+
... file contents ...
|
|
274
|
+
```
|
|
182
275
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
repomeld automatically skips common public libraries and vendor files.
|
|
186
|
-
|
|
187
|
-
| Category | Examples |
|
|
188
|
-
|---|---|
|
|
189
|
-
| Project meta | `package.json`, `README.md`, `yarn.lock`, `.gitignore` |
|
|
190
|
-
| Build output | `dist/`, `build/`, `.next/`, `.nuxt/`, `coverage/` |
|
|
191
|
-
| Vendor folders | `vendor/`, `libs/`, `plugins/`, `assets/vendor/` |
|
|
192
|
-
| Bootstrap | `bootstrap.min.css`, `bootstrap.bundle.min.js` |
|
|
193
|
-
| jQuery | `jquery.min.js`, `jquery-ui.min.js` |
|
|
194
|
-
| Font Awesome | `all.min.css`, `fontawesome-free/` |
|
|
195
|
-
| Tailwind | `tailwind.min.css`, `tailwindcss/` |
|
|
196
|
-
| Chart / D3 / Three | `chart.min.js`, `d3.min.js`, `three.min.js` |
|
|
197
|
-
| Axios / Lodash | `axios.min.js`, `lodash.min.js` |
|
|
198
|
-
| Rich text editors | `tinymce/`, `ckeditor/`, `codemirror/` |
|
|
199
|
-
| Admin templates | `AdminLTE/`, `metronic/`, `coreui/` |
|
|
200
|
-
| Env / Secrets | `.env`, `.env.local`, `.env.production` |
|
|
276
|
+
### Markdown Style Example
|
|
201
277
|
|
|
202
|
-
|
|
278
|
+
With `--style markdown` each file becomes a fenced code block:
|
|
203
279
|
|
|
204
|
-
|
|
280
|
+
```markdown
|
|
281
|
+
## ๐ src/index.js [120 lines | 3.2 KB | javascript]
|
|
205
282
|
|
|
283
|
+
```javascript
|
|
284
|
+
// Your code here
|
|
206
285
|
```
|
|
207
|
-
Usage: repomeld [options]
|
|
208
286
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
Output:
|
|
215
|
-
-o, --output <filename> Output file name (default: "repomeld_output.txt")
|
|
216
|
-
|
|
217
|
-
Filtering:
|
|
218
|
-
-e, --ext <exts...> Only include specific extensions
|
|
219
|
-
e.g. --ext js ts jsx tsx
|
|
220
|
-
--include <patterns...> Only include files matching patterns
|
|
221
|
-
e.g. --include src/
|
|
222
|
-
--exclude <patterns...> Exclude files matching patterns
|
|
223
|
-
e.g. --exclude test spec
|
|
224
|
-
-i, --ignore <names...> Extra folders/files to ignore
|
|
225
|
-
--force-include <names...> Force-include files ignored by default
|
|
226
|
-
--max-size <kb> Skip files larger than N KB (default: 500)
|
|
227
|
-
|
|
228
|
-
Formatting:
|
|
229
|
-
-s, --style <style> Header style: banner | markdown | minimal
|
|
230
|
-
--no-toc Disable table of contents
|
|
231
|
-
--no-meta Hide file metadata (lines, size, lang)
|
|
232
|
-
--trim Trim leading/trailing whitespace per file
|
|
233
|
-
|
|
234
|
-
Advanced:
|
|
235
|
-
--lines-before <n> Skip first N lines of each file
|
|
236
|
-
--lines-after <n> Skip last N lines of each file
|
|
237
|
-
--dry-run Preview without writing output
|
|
238
|
-
|
|
239
|
-
AI / Code Review:
|
|
240
|
-
--structure-only Extract class + function signatures only (no body)
|
|
241
|
-
--review-graph Prepend a Mermaid call graph to the output
|
|
287
|
+
## ๐ src/utils.js [45 lines | 1.1 KB | javascript]
|
|
288
|
+
|
|
289
|
+
```javascript
|
|
290
|
+
// More code here
|
|
291
|
+
```
|
|
242
292
|
```
|
|
243
293
|
|
|
244
|
-
|
|
294
|
+
Perfect for pasting directly into Claude, ChatGPT, Cursor, or any AI tool!
|
|
245
295
|
|
|
246
|
-
|
|
296
|
+
### Minimal Style Example
|
|
247
297
|
|
|
248
|
-
|
|
249
|
-
# Wizard mode (auto when no flags given)
|
|
250
|
-
repomeld
|
|
298
|
+
With `--style minimal`:
|
|
251
299
|
|
|
252
|
-
|
|
253
|
-
|
|
300
|
+
```
|
|
301
|
+
# src/index.js
|
|
302
|
+
your code here
|
|
254
303
|
|
|
255
|
-
#
|
|
256
|
-
|
|
304
|
+
# src/utils.js
|
|
305
|
+
more code here
|
|
306
|
+
```
|
|
257
307
|
|
|
258
|
-
|
|
259
|
-
repomeld --review-graph
|
|
308
|
+
---
|
|
260
309
|
|
|
261
|
-
|
|
262
|
-
repomeld --structure-only --review-graph --style markdown --output ai_context.md
|
|
310
|
+
## Performance
|
|
263
311
|
|
|
264
|
-
|
|
265
|
-
|
|
312
|
+
repomeld is optimized for large codebases:
|
|
313
|
+
- Async file scanning (non-blocking)
|
|
314
|
+
- Real-time progress indicator with ETA
|
|
315
|
+
- Memory-efficient streaming
|
|
316
|
+
- Handles repos with 10,000+ files easily
|
|
266
317
|
|
|
267
|
-
|
|
268
|
-
|
|
318
|
+
Example output:
|
|
319
|
+
```
|
|
320
|
+
๐ Scanning files...
|
|
321
|
+
โ
Found 2453 files in 1.2s
|
|
269
322
|
|
|
270
|
-
|
|
271
|
-
repomeld --dry-run
|
|
323
|
+
๐ Processing 2453 files...
|
|
272
324
|
|
|
273
|
-
|
|
274
|
-
|
|
325
|
+
[1245/2453] files (50.7%) | 2.3s elapsed | ETA: 2s
|
|
326
|
+
โ
Completed 2453/2453 files in 4.7s
|
|
275
327
|
```
|
|
276
328
|
|
|
277
329
|
---
|
|
278
330
|
|
|
279
|
-
##
|
|
331
|
+
## Use Cases
|
|
280
332
|
|
|
281
|
-
###
|
|
333
|
+
### ๐ค AI Context Preparation
|
|
334
|
+
```bash
|
|
335
|
+
repomeld --ext js ts jsx py --style markdown --max-size 200
|
|
336
|
+
```
|
|
282
337
|
|
|
338
|
+
### ๐ Code Review
|
|
339
|
+
```bash
|
|
340
|
+
repomeld --include src/ --exclude test --style minimal --no-meta
|
|
283
341
|
```
|
|
284
|
-
# Generated by repomeld v1.2.0
|
|
285
|
-
# Date : 2024-01-01T00:00:00.000Z
|
|
286
|
-
# Source : /your/project
|
|
287
|
-
# Files : 8
|
|
288
|
-
# Lines : 312
|
|
289
|
-
# Graph : review-graph enabled
|
|
290
|
-
# Author : susheelhbti@gmail.com (open to work)
|
|
291
342
|
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
343
|
+
### ๐พ Full Project Backup
|
|
344
|
+
```bash
|
|
345
|
+
repomeld --force-include . --max-size 10000 --no-toc --no-meta
|
|
346
|
+
```
|
|
295
347
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
348
|
+
### ๐ Documentation Generation
|
|
349
|
+
```bash
|
|
350
|
+
repomeld --ext md --include docs --style markdown --output documentation.md
|
|
299
351
|
```
|
|
300
352
|
|
|
301
|
-
|
|
302
|
-
|
|
353
|
+
### ๐ Debug Specific Feature
|
|
354
|
+
```bash
|
|
355
|
+
repomeld --include feature-name --ext js css --output feature-context.txt
|
|
303
356
|
```
|
|
304
357
|
|
|
305
|
-
|
|
358
|
+
---
|
|
306
359
|
|
|
307
|
-
|
|
308
|
-
namespace App\Http\Controllers;
|
|
309
|
-
use App\Models\SecurityGuard;
|
|
310
|
-
use App\Models\SecurityRequest;
|
|
360
|
+
## FAQ
|
|
311
361
|
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
362
|
+
**Q: Why are package.json and README.md included now?**
|
|
363
|
+
A: They were removed in early versions but added back because they provide essential context for AI tools and code reviewers.
|
|
364
|
+
|
|
365
|
+
**Q: How do I ignore package.json?**
|
|
366
|
+
A: Add it to `repomeld.ignore.json` or use `--ignore package.json`
|
|
367
|
+
|
|
368
|
+
**Q: Can I use this in CI/CD?**
|
|
369
|
+
A: Yes! Use `--no-update-check` and `--no-backup` for automated environments.
|
|
370
|
+
|
|
371
|
+
**Q: Does it work on Windows?**
|
|
372
|
+
A: Yes! Paths are normalized for cross-platform compatibility.
|
|
373
|
+
|
|
374
|
+
**Q: How do I get just the file list without content?**
|
|
375
|
+
A: Use `--dry-run` to preview without writing.
|
|
376
|
+
|
|
377
|
+
**Q: My binary files are being included?**
|
|
378
|
+
A: repomeld uses intelligent binary detection. If something slips through, use `--ext` to filter specific extensions.
|
|
323
379
|
|
|
324
380
|
---
|
|
325
381
|
|
|
326
|
-
##
|
|
382
|
+
## Development
|
|
327
383
|
|
|
328
384
|
```bash
|
|
329
|
-
|
|
330
|
-
|
|
385
|
+
# Clone the repo
|
|
386
|
+
git clone https://github.com/susheel/repomeld.git
|
|
387
|
+
cd repomeld
|
|
388
|
+
|
|
389
|
+
# Install dependencies
|
|
390
|
+
npm install
|
|
391
|
+
|
|
392
|
+
# Run locally
|
|
393
|
+
npm start -- --dry-run
|
|
394
|
+
|
|
395
|
+
# Link for global testing
|
|
396
|
+
npm link
|
|
397
|
+
repomeld --help
|
|
331
398
|
```
|
|
332
399
|
|
|
333
400
|
---
|
|
334
401
|
|
|
335
402
|
## Contributing
|
|
336
403
|
|
|
337
|
-
|
|
404
|
+
Contributions are welcome! Please feel free to submit a Pull Request.
|
|
405
|
+
|
|
406
|
+
1. Fork the repository
|
|
407
|
+
2. Create your feature branch (`git checkout -b feature/amazing`)
|
|
408
|
+
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
|
|
409
|
+
4. Push to the branch (`git push origin feature/amazing`)
|
|
410
|
+
5. Open a Pull Request
|
|
411
|
+
|
|
412
|
+
---
|
|
413
|
+
|
|
414
|
+
## Changelog
|
|
415
|
+
|
|
416
|
+
### v2.0.4 (Current)
|
|
417
|
+
- โ
Added gitignore support with `ignore` package
|
|
418
|
+
- โ
Added zip backup feature (`repomeld_repomeld/` folder)
|
|
419
|
+
- โ
Added update notifications (non-intrusive)
|
|
420
|
+
- โ
Improved performance with async operations
|
|
421
|
+
- โ
Added progress indicator with ETA
|
|
422
|
+
- โ
Fixed Windows path compatibility
|
|
423
|
+
- โ
Improved binary detection
|
|
424
|
+
- โ
Added force-include for override scenarios
|
|
425
|
+
- โ
Removed `package.json` and `README.md` from default ignores
|
|
426
|
+
|
|
427
|
+
### v1.0.0
|
|
428
|
+
- Initial release with basic functionality
|
|
338
429
|
|
|
339
430
|
---
|
|
340
431
|
|
|
341
432
|
## License
|
|
342
433
|
|
|
343
|
-
MIT
|
|
434
|
+
MIT ยฉ [Susheel](mailto:susheelhbti@gmail.com)
|
|
435
|
+
|
|
436
|
+
---
|
|
437
|
+
|
|
438
|
+
## Support & Contact
|
|
439
|
+
|
|
440
|
+
- ๐ **Issues**: [GitHub Issues](https://github.com/susheel/repomeld/issues)
|
|
441
|
+
- ๐ง **Email**: [susheelhbti@gmail.com](mailto:susheelhbti@gmail.com)
|
|
442
|
+
- ๐ผ **Hire Me**: Available for freelance and full-time opportunities
|
|
443
|
+
|
|
444
|
+
---
|
|
445
|
+
|
|
446
|
+
> ## ๐ผ Hire the Author
|
|
447
|
+
> Built by a developer available for **freelance and full-time opportunities**.
|
|
448
|
+
> Got a project? Let's talk โ ๐ง **[susheelhbti@gmail.com](mailto:susheelhbti@gmail.com)**
|
|
449
|
+
|
|
450
|
+
---
|
|
451
|
+
|
|
452
|
+
## Star History
|
|
453
|
+
|
|
454
|
+
[](https://star-history.com/#susheel/repomeld&Date)
|
|
344
455
|
|
|
345
456
|
---
|
|
346
457
|
|
|
347
|
-
|
|
458
|
+
**Made with โค๏ธ for developers who need better context for AI tools**
|