@fredlackey/devutils 0.0.1 → 0.0.3

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.
Files changed (259) hide show
  1. package/README.md +5 -5
  2. package/package.json +1 -1
  3. package/src/commands/install.js +374 -36
  4. package/src/installs/adobe-creative-cloud.js +527 -25
  5. package/src/installs/adobe-creative-cloud.md +605 -0
  6. package/src/installs/appcleaner.js +303 -26
  7. package/src/installs/appcleaner.md +699 -0
  8. package/src/installs/apt-transport-https.js +390 -0
  9. package/src/installs/apt-transport-https.md +678 -0
  10. package/src/installs/atomicparsley.js +624 -26
  11. package/src/installs/atomicparsley.md +795 -0
  12. package/src/installs/aws-cli.js +779 -26
  13. package/src/installs/aws-cli.md +727 -0
  14. package/src/installs/balena-etcher.js +688 -26
  15. package/src/installs/balena-etcher.md +761 -0
  16. package/src/installs/bambu-studio.js +912 -26
  17. package/src/installs/bambu-studio.md +780 -0
  18. package/src/installs/bash-completion.js +554 -23
  19. package/src/installs/bash-completion.md +833 -0
  20. package/src/installs/bash.js +399 -26
  21. package/src/installs/bash.md +993 -0
  22. package/src/installs/beyond-compare.js +585 -26
  23. package/src/installs/beyond-compare.md +813 -0
  24. package/src/installs/build-essential.js +511 -26
  25. package/src/installs/build-essential.md +977 -0
  26. package/src/installs/ca-certificates.js +618 -0
  27. package/src/installs/ca-certificates.md +937 -0
  28. package/src/installs/caffeine.js +490 -26
  29. package/src/installs/caffeine.md +839 -0
  30. package/src/installs/camtasia.js +577 -25
  31. package/src/installs/camtasia.md +762 -0
  32. package/src/installs/chatgpt.js +458 -26
  33. package/src/installs/chatgpt.md +814 -0
  34. package/src/installs/chocolatey.js +447 -0
  35. package/src/installs/chocolatey.md +661 -0
  36. package/src/installs/chrome-canary.js +472 -26
  37. package/src/installs/chrome-canary.md +641 -0
  38. package/src/installs/chromium.js +645 -26
  39. package/src/installs/chromium.md +838 -0
  40. package/src/installs/claude-code.js +558 -26
  41. package/src/installs/claude-code.md +1173 -0
  42. package/src/installs/curl.js +361 -26
  43. package/src/installs/curl.md +714 -0
  44. package/src/installs/cursor.js +561 -26
  45. package/src/installs/cursor.md +970 -0
  46. package/src/installs/dbschema.js +674 -26
  47. package/src/installs/dbschema.md +925 -0
  48. package/src/installs/dependencies.md +435 -0
  49. package/src/installs/development-tools.js +600 -0
  50. package/src/installs/development-tools.md +977 -0
  51. package/src/installs/docker.js +1010 -25
  52. package/src/installs/docker.md +1109 -0
  53. package/src/installs/drawio.js +1001 -26
  54. package/src/installs/drawio.md +795 -0
  55. package/src/installs/elmedia-player.js +328 -25
  56. package/src/installs/elmedia-player.md +556 -0
  57. package/src/installs/ffmpeg.js +870 -25
  58. package/src/installs/ffmpeg.md +852 -0
  59. package/src/installs/file.js +464 -0
  60. package/src/installs/file.md +987 -0
  61. package/src/installs/gemini-cli.js +793 -26
  62. package/src/installs/gemini-cli.md +1153 -0
  63. package/src/installs/git.js +382 -26
  64. package/src/installs/git.md +907 -0
  65. package/src/installs/gitego.js +931 -26
  66. package/src/installs/gitego.md +1172 -0
  67. package/src/installs/go.js +913 -26
  68. package/src/installs/go.md +958 -0
  69. package/src/installs/google-chrome.js +801 -25
  70. package/src/installs/google-chrome.md +862 -0
  71. package/src/installs/gpg.js +412 -73
  72. package/src/installs/gpg.md +1056 -0
  73. package/src/installs/homebrew.js +1015 -26
  74. package/src/installs/homebrew.md +988 -0
  75. package/src/installs/imageoptim.js +950 -26
  76. package/src/installs/imageoptim.md +1119 -0
  77. package/src/installs/installers.json +2297 -0
  78. package/src/installs/jq.js +382 -26
  79. package/src/installs/jq.md +809 -0
  80. package/src/installs/keyboard-maestro.js +701 -26
  81. package/src/installs/keyboard-maestro.md +825 -0
  82. package/src/installs/latex.js +771 -26
  83. package/src/installs/latex.md +1095 -0
  84. package/src/installs/lftp.js +338 -26
  85. package/src/installs/lftp.md +907 -0
  86. package/src/installs/lsb-release.js +346 -0
  87. package/src/installs/lsb-release.md +814 -0
  88. package/src/installs/messenger.js +829 -26
  89. package/src/installs/messenger.md +900 -0
  90. package/src/installs/microsoft-office.js +550 -26
  91. package/src/installs/microsoft-office.md +760 -0
  92. package/src/installs/microsoft-teams.js +782 -25
  93. package/src/installs/microsoft-teams.md +886 -0
  94. package/src/installs/node.js +886 -26
  95. package/src/installs/node.md +1153 -0
  96. package/src/installs/nordpass.js +698 -26
  97. package/src/installs/nordpass.md +921 -0
  98. package/src/installs/nvm.js +977 -26
  99. package/src/installs/nvm.md +1057 -0
  100. package/src/installs/openssh.js +734 -64
  101. package/src/installs/openssh.md +1056 -0
  102. package/src/installs/pandoc.js +644 -26
  103. package/src/installs/pandoc.md +1036 -0
  104. package/src/installs/pinentry.js +492 -26
  105. package/src/installs/pinentry.md +1142 -0
  106. package/src/installs/pngyu.js +851 -26
  107. package/src/installs/pngyu.md +896 -0
  108. package/src/installs/postman.js +781 -26
  109. package/src/installs/postman.md +940 -0
  110. package/src/installs/procps.js +425 -0
  111. package/src/installs/procps.md +851 -0
  112. package/src/installs/safari-tech-preview.js +355 -25
  113. package/src/installs/safari-tech-preview.md +533 -0
  114. package/src/installs/sfnt2woff.js +640 -26
  115. package/src/installs/sfnt2woff.md +795 -0
  116. package/src/installs/shellcheck.js +463 -26
  117. package/src/installs/shellcheck.md +1005 -0
  118. package/src/installs/slack.js +722 -25
  119. package/src/installs/slack.md +865 -0
  120. package/src/installs/snagit.js +566 -25
  121. package/src/installs/snagit.md +844 -0
  122. package/src/installs/software-properties-common.js +372 -0
  123. package/src/installs/software-properties-common.md +805 -0
  124. package/src/installs/spotify.js +858 -25
  125. package/src/installs/spotify.md +901 -0
  126. package/src/installs/studio-3t.js +803 -26
  127. package/src/installs/studio-3t.md +918 -0
  128. package/src/installs/sublime-text.js +780 -25
  129. package/src/installs/sublime-text.md +914 -0
  130. package/src/installs/superwhisper.js +687 -25
  131. package/src/installs/superwhisper.md +630 -0
  132. package/src/installs/tailscale.js +727 -26
  133. package/src/installs/tailscale.md +1100 -0
  134. package/src/installs/tar.js +389 -0
  135. package/src/installs/tar.md +946 -0
  136. package/src/installs/termius.js +780 -26
  137. package/src/installs/termius.md +844 -0
  138. package/src/installs/terraform.js +761 -26
  139. package/src/installs/terraform.md +899 -0
  140. package/src/installs/tidal.js +752 -25
  141. package/src/installs/tidal.md +864 -0
  142. package/src/installs/tmux.js +328 -26
  143. package/src/installs/tmux.md +1030 -0
  144. package/src/installs/tree.js +393 -26
  145. package/src/installs/tree.md +833 -0
  146. package/src/installs/unzip.js +460 -0
  147. package/src/installs/unzip.md +879 -0
  148. package/src/installs/vim.js +403 -26
  149. package/src/installs/vim.md +1040 -0
  150. package/src/installs/vlc.js +803 -26
  151. package/src/installs/vlc.md +927 -0
  152. package/src/installs/vscode.js +825 -26
  153. package/src/installs/vscode.md +1002 -0
  154. package/src/installs/wget.js +415 -0
  155. package/src/installs/wget.md +791 -0
  156. package/src/installs/whatsapp.js +710 -25
  157. package/src/installs/whatsapp.md +854 -0
  158. package/src/installs/winpty.js +352 -0
  159. package/src/installs/winpty.md +620 -0
  160. package/src/installs/woff2.js +535 -26
  161. package/src/installs/woff2.md +977 -0
  162. package/src/installs/wsl.js +572 -0
  163. package/src/installs/wsl.md +699 -0
  164. package/src/installs/xcode-clt.js +520 -0
  165. package/src/installs/xcode-clt.md +351 -0
  166. package/src/installs/xcode.js +542 -26
  167. package/src/installs/xcode.md +573 -0
  168. package/src/installs/yarn.js +806 -26
  169. package/src/installs/yarn.md +1074 -0
  170. package/src/installs/yq.js +636 -26
  171. package/src/installs/yq.md +944 -0
  172. package/src/installs/yt-dlp.js +683 -26
  173. package/src/installs/yt-dlp.md +946 -0
  174. package/src/installs/yum-utils.js +297 -0
  175. package/src/installs/yum-utils.md +648 -0
  176. package/src/installs/zoom.js +740 -25
  177. package/src/installs/zoom.md +884 -0
  178. package/src/scripts/README.md +567 -45
  179. package/src/scripts/STATUS.md +208 -0
  180. package/src/scripts/afk.js +395 -7
  181. package/src/scripts/backup-all.js +731 -9
  182. package/src/scripts/backup-source.js +711 -8
  183. package/src/scripts/brewd.js +373 -7
  184. package/src/scripts/brewi.js +505 -9
  185. package/src/scripts/brewr.js +512 -9
  186. package/src/scripts/brews.js +462 -9
  187. package/src/scripts/brewu.js +488 -7
  188. package/src/scripts/c.js +185 -7
  189. package/src/scripts/ccurl.js +325 -8
  190. package/src/scripts/certbot-crontab-init.js +488 -8
  191. package/src/scripts/certbot-init.js +641 -9
  192. package/src/scripts/ch.js +339 -7
  193. package/src/scripts/claude-danger.js +253 -8
  194. package/src/scripts/clean-dev.js +419 -8
  195. package/src/scripts/clear-dns-cache.js +525 -7
  196. package/src/scripts/clone.js +417 -7
  197. package/src/scripts/code-all.js +420 -7
  198. package/src/scripts/count-files.js +195 -8
  199. package/src/scripts/count-folders.js +195 -8
  200. package/src/scripts/count.js +248 -8
  201. package/src/scripts/d.js +203 -7
  202. package/src/scripts/datauri.js +373 -8
  203. package/src/scripts/delete-files.js +363 -7
  204. package/src/scripts/docker-clean.js +410 -8
  205. package/src/scripts/dp.js +426 -7
  206. package/src/scripts/e.js +375 -9
  207. package/src/scripts/empty-trash.js +497 -7
  208. package/src/scripts/evm.js +428 -9
  209. package/src/scripts/fetch-github-repos.js +441 -10
  210. package/src/scripts/get-channel.js +329 -8
  211. package/src/scripts/get-course.js +384 -11
  212. package/src/scripts/get-dependencies.js +290 -9
  213. package/src/scripts/get-folder.js +783 -10
  214. package/src/scripts/get-tunes.js +411 -10
  215. package/src/scripts/get-video.js +352 -9
  216. package/src/scripts/git-backup.js +561 -9
  217. package/src/scripts/git-clone.js +477 -9
  218. package/src/scripts/git-pup.js +303 -7
  219. package/src/scripts/git-push.js +380 -8
  220. package/src/scripts/h.js +607 -9
  221. package/src/scripts/hide-desktop-icons.js +483 -7
  222. package/src/scripts/hide-hidden-files.js +522 -7
  223. package/src/scripts/install-dependencies-from.js +440 -9
  224. package/src/scripts/ips.js +647 -10
  225. package/src/scripts/iso.js +354 -8
  226. package/src/scripts/killni.js +561 -7
  227. package/src/scripts/ll.js +451 -8
  228. package/src/scripts/local-ip.js +310 -8
  229. package/src/scripts/m.js +508 -8
  230. package/src/scripts/map.js +293 -8
  231. package/src/scripts/mkd.js +287 -7
  232. package/src/scripts/ncu-update-all.js +441 -8
  233. package/src/scripts/nginx-init.js +702 -12
  234. package/src/scripts/npmi.js +366 -7
  235. package/src/scripts/o.js +495 -8
  236. package/src/scripts/org-by-date.js +321 -7
  237. package/src/scripts/p.js +208 -7
  238. package/src/scripts/packages.js +313 -8
  239. package/src/scripts/path.js +209 -7
  240. package/src/scripts/ports.js +582 -8
  241. package/src/scripts/q.js +290 -8
  242. package/src/scripts/refresh-files.js +378 -10
  243. package/src/scripts/remove-smaller-files.js +500 -8
  244. package/src/scripts/rename-files-with-date.js +517 -9
  245. package/src/scripts/resize-image.js +523 -9
  246. package/src/scripts/rm-safe.js +653 -8
  247. package/src/scripts/s.js +525 -9
  248. package/src/scripts/set-git-public.js +349 -7
  249. package/src/scripts/show-desktop-icons.js +459 -7
  250. package/src/scripts/show-hidden-files.js +456 -7
  251. package/src/scripts/tpa.js +265 -8
  252. package/src/scripts/tpo.js +264 -7
  253. package/src/scripts/u.js +489 -7
  254. package/src/scripts/vpush.js +422 -8
  255. package/src/scripts/y.js +267 -7
  256. package/src/utils/common/os.js +94 -2
  257. package/src/utils/ubuntu/apt.js +13 -7
  258. package/src/utils/windows/choco.js +82 -26
  259. package/src/utils/windows/winget.js +89 -27
@@ -0,0 +1,795 @@
1
+ # Installing AtomicParsley
2
+
3
+ ## Overview
4
+
5
+ AtomicParsley is a lightweight command-line program for reading, parsing, and setting metadata into MPEG-4 files. It specializes in iTunes-style metadata for .mp4, .m4a, .m4p, .m4v, and .m4b files, as well as 3GPP-style assets in 3GP files. AtomicParsley is commonly used alongside media download tools like yt-dlp to automatically embed metadata, artwork, and chapter information into downloaded media files.
6
+
7
+ **Key Features:**
8
+ - Read and write iTunes-style metadata tags
9
+ - Embed artwork (cover art) into media files
10
+ - Set chapter markers and other MPEG-4 atom data
11
+ - Support for 3GPP metadata in 3GP files
12
+ - Lightweight and fast with minimal dependencies
13
+
14
+ ## Dependencies
15
+
16
+ ### macOS (Homebrew)
17
+ - **Required:**
18
+ - Homebrew - Install via `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` or `dev install homebrew`
19
+ - **Optional:** None
20
+ - **Auto-installed:** None
21
+
22
+ ### Ubuntu (APT/Snap)
23
+ - **Required:**
24
+ - APT package manager (pre-installed on Ubuntu/Debian)
25
+ - sudo privileges
26
+ - **Optional:**
27
+ - Build tools for latest version - Install via `sudo apt-get install -y cmake make g++ zlib1g-dev git`
28
+ - **Auto-installed:** None
29
+
30
+ ### Raspberry Pi OS (APT/Snap)
31
+ - **Required:**
32
+ - APT package manager (pre-installed on Raspberry Pi OS)
33
+ - sudo privileges
34
+ - **Optional:**
35
+ - Build tools for latest version - Install via `sudo apt-get install -y cmake make g++ zlib1g-dev git`
36
+ - **Auto-installed:** None
37
+
38
+ ### Amazon Linux (DNF/YUM)
39
+ - **Required:**
40
+ - DNF or YUM package manager (pre-installed on Amazon Linux/RHEL)
41
+ - sudo privileges
42
+ - **Optional:**
43
+ - EPEL repository for Amazon Linux 2/RHEL 7/8 - Install via `sudo yum install -y epel-release`
44
+ - **Auto-installed:**
45
+ - When building from source (Amazon Linux 2023/RHEL 9): cmake, make, gcc-c++, zlib-devel, git - Installed via `sudo dnf install -y cmake make gcc-c++ zlib-devel git`
46
+
47
+ ### Windows (Chocolatey/winget)
48
+ - **Required:**
49
+ - Chocolatey - Install via PowerShell: `Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))`
50
+ - OR winget (pre-installed on Windows 10 1809+)
51
+ - Administrator privileges
52
+ - **Optional:** None
53
+ - **Auto-installed:**
54
+ - Microsoft Visual C++ Redistributable (installed automatically if needed)
55
+
56
+ ### Git Bash (Manual/Portable)
57
+ - **Required (Option A - via PowerShell):**
58
+ - Chocolatey or winget on Windows host (see Windows dependencies above)
59
+ - PowerShell access from Git Bash (available by default)
60
+ - Administrator privileges
61
+ - **Required (Option B - Manual installation):**
62
+ - curl - Pre-installed with Git Bash
63
+ - OR wget - Install via `pacman -S wget` in Git Bash (if using Git for Windows with pacman)
64
+ - **Optional:**
65
+ - unzip utility - Pre-installed with Git Bash, or use PowerShell's `Expand-Archive`
66
+ - **Auto-installed:** None
67
+
68
+ ---
69
+
70
+ ## Prerequisites
71
+
72
+ Before installing AtomicParsley, ensure you have:
73
+
74
+ 1. **Administrator Access**: Required for installation on all platforms
75
+ 2. **Package Manager**: The appropriate package manager for your platform must be installed:
76
+ - macOS: Homebrew
77
+ - Ubuntu/Debian: APT (pre-installed)
78
+ - Raspberry Pi OS: APT (pre-installed)
79
+ - Amazon Linux: DNF or YUM (pre-installed)
80
+ - Windows: Chocolatey or winget
81
+
82
+ ---
83
+
84
+ ## Platform-Specific Installation
85
+
86
+ ### macOS (Homebrew)
87
+
88
+ AtomicParsley is available as a Homebrew formula and can be installed with a single command.
89
+
90
+ #### Prerequisites
91
+
92
+ - macOS 10.15 (Catalina) or later
93
+ - Homebrew package manager installed
94
+ - 64-bit processor (Intel or Apple Silicon)
95
+
96
+ Verify Homebrew is installed:
97
+
98
+ ```bash
99
+ brew --version
100
+ ```
101
+
102
+ If Homebrew is not installed, install it first using `dev install homebrew`.
103
+
104
+ #### Installation Steps
105
+
106
+ Run the following command to install AtomicParsley:
107
+
108
+ ```bash
109
+ brew install --quiet atomicparsley
110
+ ```
111
+
112
+ **Explanation of flags:**
113
+ - `--quiet`: Suppresses output for non-interactive installation
114
+
115
+ The installation downloads the AtomicParsley binary and places it in `/opt/homebrew/bin/` (Apple Silicon) or `/usr/local/bin/` (Intel).
116
+
117
+ #### Verification
118
+
119
+ Confirm the installation succeeded:
120
+
121
+ ```bash
122
+ AtomicParsley --version
123
+ ```
124
+
125
+ Expected output format:
126
+
127
+ ```
128
+ AtomicParsley version: 20240608.083822.1ed9031
129
+ ```
130
+
131
+ You can also verify by checking the Homebrew list:
132
+
133
+ ```bash
134
+ brew list | grep atomicparsley
135
+ ```
136
+
137
+ #### Troubleshooting
138
+
139
+ **Installation fails with permission errors:**
140
+
141
+ ```bash
142
+ # Reset Homebrew cache and retry
143
+ brew cleanup
144
+ brew install --quiet atomicparsley
145
+ ```
146
+
147
+ **Command not found after installation:**
148
+
149
+ Ensure Homebrew's bin directory is in your PATH:
150
+
151
+ ```bash
152
+ # For Apple Silicon
153
+ echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zshrc
154
+ source ~/.zshrc
155
+
156
+ # For Intel
157
+ echo 'eval "$(/usr/local/bin/brew shellenv)"' >> ~/.zshrc
158
+ source ~/.zshrc
159
+ ```
160
+
161
+ **Upgrade to latest version:**
162
+
163
+ ```bash
164
+ brew upgrade atomicparsley
165
+ ```
166
+
167
+ ---
168
+
169
+ ### Ubuntu/Debian (APT)
170
+
171
+ AtomicParsley is available in the Ubuntu universe repository and can be installed directly using APT.
172
+
173
+ #### Prerequisites
174
+
175
+ - Ubuntu 20.04 (Focal) or later / Debian 10 (Buster) or later
176
+ - Universe repository enabled (enabled by default on most Ubuntu installations)
177
+ - sudo privileges
178
+
179
+ #### Installation Steps
180
+
181
+ Run the following commands to install AtomicParsley:
182
+
183
+ ```bash
184
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update
185
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y atomicparsley
186
+ ```
187
+
188
+ **Explanation of flags:**
189
+ - `DEBIAN_FRONTEND=noninteractive`: Prevents any interactive prompts
190
+ - `-y`: Automatically answers "yes" to confirmation prompts
191
+
192
+ The installation places the AtomicParsley binary at `/usr/bin/AtomicParsley`.
193
+
194
+ **Note:** The package version in Ubuntu repositories may lag behind the latest GitHub release. Ubuntu 24.04 includes version `20210715.151551.e7ad03a`, while the latest release is `20240608.083822.1ed9031`.
195
+
196
+ #### Verification
197
+
198
+ Confirm the installation succeeded:
199
+
200
+ ```bash
201
+ AtomicParsley --version
202
+ ```
203
+
204
+ **Important:** The executable uses mixed case naming (`AtomicParsley`), not all lowercase.
205
+
206
+ You can also verify via dpkg:
207
+
208
+ ```bash
209
+ dpkg -l | grep atomicparsley
210
+ ```
211
+
212
+ #### Troubleshooting
213
+
214
+ **Package not found:**
215
+
216
+ Ensure the universe repository is enabled:
217
+
218
+ ```bash
219
+ sudo DEBIAN_FRONTEND=noninteractive add-apt-repository -y universe
220
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update
221
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y atomicparsley
222
+ ```
223
+
224
+ **Need the latest version (build from source):**
225
+
226
+ If you require the latest version, build from source:
227
+
228
+ ```bash
229
+ # Install build dependencies
230
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y cmake make g++ zlib1g-dev git
231
+
232
+ # Clone the repository
233
+ git clone https://github.com/wez/atomicparsley.git /tmp/atomicparsley
234
+ cd /tmp/atomicparsley
235
+
236
+ # Build
237
+ cmake .
238
+ cmake --build . --config Release
239
+
240
+ # Install
241
+ sudo mv AtomicParsley /usr/local/bin/
242
+ sudo chmod +x /usr/local/bin/AtomicParsley
243
+
244
+ # Cleanup
245
+ cd ~ && rm -rf /tmp/atomicparsley
246
+ ```
247
+
248
+ ---
249
+
250
+ ### Raspberry Pi OS (APT)
251
+
252
+ AtomicParsley is available in the Raspberry Pi OS repositories and supports ARM architecture natively.
253
+
254
+ #### Prerequisites
255
+
256
+ - Raspberry Pi OS (Bullseye or later recommended)
257
+ - sudo privileges
258
+ - ARM 32-bit (armhf) or 64-bit (arm64) architecture
259
+
260
+ #### Installation Steps
261
+
262
+ Run the following commands to install AtomicParsley:
263
+
264
+ ```bash
265
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update
266
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y atomicparsley
267
+ ```
268
+
269
+ **Explanation of flags:**
270
+ - `DEBIAN_FRONTEND=noninteractive`: Prevents any interactive prompts
271
+ - `-y`: Automatically answers "yes" to confirmation prompts
272
+
273
+ #### ARM-Specific Considerations
274
+
275
+ The AtomicParsley package in the Raspberry Pi OS repositories is compiled for ARM architecture and works on both 32-bit and 64-bit Raspberry Pi devices:
276
+
277
+ - Raspberry Pi 2, 3, 4 (32-bit OS): Uses `armhf` package
278
+ - Raspberry Pi 3, 4, 5 (64-bit OS): Uses `arm64` package
279
+
280
+ The package manager automatically selects the correct architecture.
281
+
282
+ #### Verification
283
+
284
+ Confirm the installation succeeded:
285
+
286
+ ```bash
287
+ AtomicParsley --version
288
+ ```
289
+
290
+ You can also verify the package is installed:
291
+
292
+ ```bash
293
+ dpkg -l | grep atomicparsley
294
+ ```
295
+
296
+ #### Troubleshooting
297
+
298
+ **Disk space issues:**
299
+
300
+ If installation fails due to low disk space (common on Raspberry Pi), clean up first:
301
+
302
+ ```bash
303
+ sudo DEBIAN_FRONTEND=noninteractive apt-get clean
304
+ sudo DEBIAN_FRONTEND=noninteractive apt-get autoclean
305
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y atomicparsley
306
+ ```
307
+
308
+ **Need the latest version (build from source):**
309
+
310
+ Build from source on Raspberry Pi:
311
+
312
+ ```bash
313
+ # Install build dependencies
314
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y cmake make g++ zlib1g-dev git
315
+
316
+ # Clone the repository
317
+ git clone https://github.com/wez/atomicparsley.git /tmp/atomicparsley
318
+ cd /tmp/atomicparsley
319
+
320
+ # Build (may take several minutes on Raspberry Pi)
321
+ cmake .
322
+ cmake --build . --config Release
323
+
324
+ # Install
325
+ sudo mv AtomicParsley /usr/local/bin/
326
+ sudo chmod +x /usr/local/bin/AtomicParsley
327
+
328
+ # Cleanup
329
+ cd ~ && rm -rf /tmp/atomicparsley
330
+ ```
331
+
332
+ **Note:** Building from source on Raspberry Pi can take 5-10 minutes depending on the model.
333
+
334
+ ---
335
+
336
+ ### Amazon Linux/RHEL (YUM/DNF)
337
+
338
+ AtomicParsley is not available in the default Amazon Linux or RHEL repositories, but can be installed from EPEL (Extra Packages for Enterprise Linux) or built from source.
339
+
340
+ #### Prerequisites
341
+
342
+ - Amazon Linux 2, Amazon Linux 2023, RHEL 7/8/9, or compatible
343
+ - sudo privileges
344
+ - EPEL repository access (for Amazon Linux 2 / RHEL 7/8)
345
+
346
+ #### Installation Steps
347
+
348
+ **For Amazon Linux 2 / RHEL 7/8 (using EPEL):**
349
+
350
+ ```bash
351
+ # Enable EPEL repository
352
+ sudo yum install -y epel-release
353
+
354
+ # Install AtomicParsley
355
+ sudo yum install -y AtomicParsley
356
+ ```
357
+
358
+ **For Amazon Linux 2023 / RHEL 9 / Fedora (build from source):**
359
+
360
+ Amazon Linux 2023 does not support EPEL, so build from source:
361
+
362
+ ```bash
363
+ # Install build dependencies
364
+ sudo dnf install -y cmake make gcc-c++ zlib-devel git
365
+
366
+ # Clone the repository
367
+ git clone https://github.com/wez/atomicparsley.git /tmp/atomicparsley
368
+ cd /tmp/atomicparsley
369
+
370
+ # Build
371
+ cmake .
372
+ cmake --build . --config Release
373
+
374
+ # Install
375
+ sudo mv AtomicParsley /usr/local/bin/
376
+ sudo chmod +x /usr/local/bin/AtomicParsley
377
+
378
+ # Cleanup
379
+ cd ~ && rm -rf /tmp/atomicparsley
380
+ ```
381
+
382
+ **Explanation of flags:**
383
+ - `-y`: Automatically answers "yes" to all prompts
384
+
385
+ #### Verification
386
+
387
+ Confirm the installation succeeded:
388
+
389
+ ```bash
390
+ AtomicParsley --version
391
+ ```
392
+
393
+ For EPEL installations, you can also verify via yum:
394
+
395
+ ```bash
396
+ yum list installed | grep -i atomicparsley
397
+ ```
398
+
399
+ #### Troubleshooting
400
+
401
+ **EPEL repository not available:**
402
+
403
+ Install EPEL manually:
404
+
405
+ ```bash
406
+ # For RHEL 7
407
+ sudo yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
408
+
409
+ # For RHEL 8
410
+ sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
411
+
412
+ # For RHEL 9
413
+ sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
414
+ ```
415
+
416
+ **Build fails with missing dependencies:**
417
+
418
+ Install additional development tools:
419
+
420
+ ```bash
421
+ # For DNF-based systems
422
+ sudo dnf groupinstall -y "Development Tools"
423
+
424
+ # For YUM-based systems
425
+ sudo yum groupinstall -y "Development Tools"
426
+ ```
427
+
428
+ ---
429
+
430
+ ### Windows (Chocolatey/winget)
431
+
432
+ AtomicParsley is available on Windows through both Chocolatey and winget package managers.
433
+
434
+ #### Prerequisites
435
+
436
+ - Windows 10 version 1809 or later
437
+ - Chocolatey or winget installed
438
+ - Administrator privileges
439
+ - Microsoft Visual C++ Redistributable (installed automatically with most packages)
440
+
441
+ Verify Chocolatey is available:
442
+
443
+ ```powershell
444
+ choco --version
445
+ ```
446
+
447
+ Or verify winget:
448
+
449
+ ```powershell
450
+ winget --version
451
+ ```
452
+
453
+ #### Installation Steps
454
+
455
+ **Install using Chocolatey:**
456
+
457
+ Open PowerShell or Command Prompt as Administrator and run:
458
+
459
+ ```powershell
460
+ choco install atomicparsley -y
461
+ ```
462
+
463
+ **Explanation of flags:**
464
+ - `-y`: Automatically confirms all prompts
465
+
466
+ **Install using winget:**
467
+
468
+ ```powershell
469
+ winget install --id wez.AtomicParsley --silent --accept-package-agreements --accept-source-agreements
470
+ ```
471
+
472
+ **Explanation of flags:**
473
+ - `--id wez.AtomicParsley`: Specifies the exact package identifier
474
+ - `--silent`: Suppresses the installer UI
475
+ - `--accept-package-agreements`: Automatically accepts the package license
476
+ - `--accept-source-agreements`: Automatically accepts the source terms
477
+
478
+ The Chocolatey package installs a portable version that places the executable in the Chocolatey bin directory (typically `C:\ProgramData\chocolatey\bin\`).
479
+
480
+ #### Verification
481
+
482
+ Confirm the installation succeeded:
483
+
484
+ ```powershell
485
+ AtomicParsley --version
486
+ ```
487
+
488
+ Or check via the package manager:
489
+
490
+ ```powershell
491
+ # Chocolatey
492
+ choco list --local-only | Select-String atomicparsley
493
+
494
+ # winget
495
+ winget list --id wez.AtomicParsley
496
+ ```
497
+
498
+ #### Troubleshooting
499
+
500
+ **Chocolatey installation fails:**
501
+
502
+ Clear the Chocolatey cache and retry:
503
+
504
+ ```powershell
505
+ choco cache remove
506
+ choco install atomicparsley -y --force
507
+ ```
508
+
509
+ **winget package not found:**
510
+
511
+ Reset winget sources:
512
+
513
+ ```powershell
514
+ winget source reset --force
515
+ winget install --id wez.AtomicParsley --silent --accept-package-agreements --accept-source-agreements
516
+ ```
517
+
518
+ **vcruntime140.dll error:**
519
+
520
+ Install the Microsoft Visual C++ Redistributable:
521
+
522
+ ```powershell
523
+ winget install --id Microsoft.VCRedist.2015+.x64 --silent --accept-package-agreements --accept-source-agreements
524
+ ```
525
+
526
+ **Command not found after installation:**
527
+
528
+ Refresh the PATH environment variable:
529
+
530
+ ```powershell
531
+ # In PowerShell, restart the shell or run:
532
+ $env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path","User")
533
+ ```
534
+
535
+ ---
536
+
537
+ ### WSL (Ubuntu)
538
+
539
+ WSL runs Ubuntu Linux, so AtomicParsley can be installed using APT commands identical to the Ubuntu installation.
540
+
541
+ #### Prerequisites
542
+
543
+ - WSL 2 with Ubuntu installed (20.04 or later recommended)
544
+ - sudo privileges within WSL
545
+
546
+ #### Installation Steps
547
+
548
+ Run the following commands within the WSL Ubuntu terminal:
549
+
550
+ ```bash
551
+ sudo DEBIAN_FRONTEND=noninteractive apt-get update
552
+ sudo DEBIAN_FRONTEND=noninteractive apt-get install -y atomicparsley
553
+ ```
554
+
555
+ **Explanation of flags:**
556
+ - `DEBIAN_FRONTEND=noninteractive`: Prevents any interactive prompts
557
+ - `-y`: Automatically answers "yes" to confirmation prompts
558
+
559
+ #### Verification
560
+
561
+ Confirm the installation succeeded:
562
+
563
+ ```bash
564
+ AtomicParsley --version
565
+ ```
566
+
567
+ #### WSL-Specific Considerations
568
+
569
+ AtomicParsley in WSL can process files on both the Linux filesystem and the Windows filesystem (mounted at `/mnt/c/`, `/mnt/d/`, etc.):
570
+
571
+ ```bash
572
+ # Process a file on Windows filesystem
573
+ AtomicParsley /mnt/c/Users/YourName/Videos/video.mp4 --show
574
+
575
+ # Process a file on Linux filesystem
576
+ AtomicParsley ~/videos/video.mp4 --show
577
+ ```
578
+
579
+ **Performance Note:** Processing files on the Windows filesystem (`/mnt/c/`) may be slower than files on the native Linux filesystem (`~/`). For batch operations, copy files to the Linux filesystem first.
580
+
581
+ #### Troubleshooting
582
+
583
+ **APT update fails:**
584
+
585
+ Ensure WSL can access the internet:
586
+
587
+ ```bash
588
+ ping -c 3 archive.ubuntu.com
589
+ ```
590
+
591
+ If DNS resolution fails:
592
+
593
+ ```bash
594
+ echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
595
+ ```
596
+
597
+ **Permission denied when accessing Windows files:**
598
+
599
+ Ensure the target file is not open in another Windows application. WSL respects Windows file locks.
600
+
601
+ ---
602
+
603
+ ### Git Bash (Manual/Portable)
604
+
605
+ Git Bash runs within Windows, so AtomicParsley can be installed using the Chocolatey or winget commands, or via manual download of the portable binary.
606
+
607
+ #### Prerequisites
608
+
609
+ - Windows 10 or later
610
+ - Git Bash installed
611
+ - curl available in Git Bash (included by default)
612
+ - Administrator privileges (for Chocolatey/winget installation)
613
+
614
+ #### Installation Steps
615
+
616
+ **Option A: Install via PowerShell from Git Bash (Recommended)**
617
+
618
+ Use Chocolatey to install from Git Bash:
619
+
620
+ ```bash
621
+ powershell.exe -Command "choco install atomicparsley -y"
622
+ ```
623
+
624
+ Or use winget:
625
+
626
+ ```bash
627
+ powershell.exe -Command "winget install --id wez.AtomicParsley --silent --accept-package-agreements --accept-source-agreements"
628
+ ```
629
+
630
+ **Option B: Manual/Portable Installation**
631
+
632
+ Download and extract the portable binary:
633
+
634
+ ```bash
635
+ # Create installation directory
636
+ mkdir -p "$HOME/Apps/AtomicParsley"
637
+
638
+ # Download the latest Windows release
639
+ curl -L -o "$HOME/Apps/AtomicParsley/AtomicParsley.zip" \
640
+ "https://github.com/wez/atomicparsley/releases/download/20240608.083822.1ed9031/AtomicParsleyWindows.zip"
641
+
642
+ # Extract the archive
643
+ unzip -q "$HOME/Apps/AtomicParsley/AtomicParsley.zip" -d "$HOME/Apps/AtomicParsley/"
644
+
645
+ # Remove the zip file to save space
646
+ rm "$HOME/Apps/AtomicParsley/AtomicParsley.zip"
647
+
648
+ # Add to PATH (add to .bashrc for persistence)
649
+ echo 'export PATH="$HOME/Apps/AtomicParsley:$PATH"' >> ~/.bashrc
650
+ source ~/.bashrc
651
+ ```
652
+
653
+ #### Verification
654
+
655
+ Verify the installation:
656
+
657
+ ```bash
658
+ AtomicParsley --version
659
+ ```
660
+
661
+ For manual installation, verify the executable exists:
662
+
663
+ ```bash
664
+ if [[ -f "$HOME/Apps/AtomicParsley/AtomicParsley.exe" ]]; then
665
+ echo "AtomicParsley is installed"
666
+ else
667
+ echo "AtomicParsley is NOT installed"
668
+ fi
669
+ ```
670
+
671
+ #### Troubleshooting
672
+
673
+ **curl download fails:**
674
+
675
+ Use wget as an alternative:
676
+
677
+ ```bash
678
+ wget -O "$HOME/Apps/AtomicParsley/AtomicParsley.zip" \
679
+ "https://github.com/wez/atomicparsley/releases/download/20240608.083822.1ed9031/AtomicParsleyWindows.zip"
680
+ ```
681
+
682
+ **unzip not found:**
683
+
684
+ Extract using PowerShell:
685
+
686
+ ```bash
687
+ powershell.exe -Command "Expand-Archive -Path '$HOME/Apps/AtomicParsley/AtomicParsley.zip' -DestinationPath '$HOME/Apps/AtomicParsley/' -Force"
688
+ ```
689
+
690
+ **PowerShell command fails from Git Bash:**
691
+
692
+ Use the full path to PowerShell:
693
+
694
+ ```bash
695
+ /c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe -Command "choco install atomicparsley -y"
696
+ ```
697
+
698
+ ---
699
+
700
+ ## Post-Installation Configuration
701
+
702
+ AtomicParsley is a command-line tool that requires no post-installation configuration. It is ready to use immediately after installation.
703
+
704
+ ### Basic Usage Examples
705
+
706
+ **Display metadata of an MPEG-4 file:**
707
+
708
+ ```bash
709
+ AtomicParsley video.mp4 --show
710
+ ```
711
+
712
+ **Set title metadata:**
713
+
714
+ ```bash
715
+ AtomicParsley video.mp4 --title "My Video Title" --overWrite
716
+ ```
717
+
718
+ **Embed artwork:**
719
+
720
+ ```bash
721
+ AtomicParsley video.mp4 --artwork cover.jpg --overWrite
722
+ ```
723
+
724
+ **Set multiple metadata fields:**
725
+
726
+ ```bash
727
+ AtomicParsley video.mp4 \
728
+ --title "My Video" \
729
+ --artist "Artist Name" \
730
+ --album "Album Name" \
731
+ --year 2024 \
732
+ --overWrite
733
+ ```
734
+
735
+ ### Integration with yt-dlp
736
+
737
+ AtomicParsley is commonly used with yt-dlp for embedding metadata in downloaded videos. yt-dlp automatically detects and uses AtomicParsley when available:
738
+
739
+ ```bash
740
+ # yt-dlp will use AtomicParsley to embed metadata
741
+ yt-dlp --embed-thumbnail --add-metadata "https://example.com/video"
742
+ ```
743
+
744
+ ---
745
+
746
+ ## Common Issues
747
+
748
+ ### Cross-Platform Issues
749
+
750
+ | Issue | Cause | Solution |
751
+ |-------|-------|----------|
752
+ | Command not found | Executable not in PATH | Verify installation and check PATH environment variable |
753
+ | Permission denied | Insufficient privileges | Run with sudo (Linux/macOS) or as Administrator (Windows) |
754
+ | File locked | File open in another application | Close the media file in any players or editors |
755
+ | Invalid atom error | Corrupted or non-standard MPEG-4 file | Try with a different file; some files may have non-standard structures |
756
+
757
+ ### Case Sensitivity
758
+
759
+ **Important:** The executable name uses mixed case (`AtomicParsley`) on all platforms. Using lowercase (`atomicparsley`) may fail:
760
+
761
+ ```bash
762
+ # Correct
763
+ AtomicParsley --version
764
+
765
+ # May fail on case-sensitive systems
766
+ atomicparsley --version
767
+ ```
768
+
769
+ On macOS and Windows (case-insensitive filesystems), both work. On Linux (case-sensitive), use the correct case.
770
+
771
+ ### Version Differences
772
+
773
+ Package manager versions may lag behind the latest GitHub release:
774
+
775
+ | Source | Version (as of 2024) |
776
+ |--------|---------------------|
777
+ | GitHub Releases | 20240608.083822.1ed9031 |
778
+ | Homebrew | 20240608.083822.1ed9031 |
779
+ | Chocolatey | 20240608.083822.1ed9031 |
780
+ | Ubuntu 24.04 | 20210715.151551.e7ad03a |
781
+ | Debian 12 | 20210715.151551.e7ad03a |
782
+
783
+ If you need the latest version on Linux, build from source as described in the troubleshooting sections.
784
+
785
+ ---
786
+
787
+ ## References
788
+
789
+ - [AtomicParsley GitHub Repository (wez/atomicparsley)](https://github.com/wez/atomicparsley)
790
+ - [AtomicParsley GitHub Releases](https://github.com/wez/atomicparsley/releases)
791
+ - [AtomicParsley Homebrew Formula](https://formulae.brew.sh/formula/atomicparsley)
792
+ - [AtomicParsley Chocolatey Package](https://community.chocolatey.org/packages/atomicparsley)
793
+ - [AtomicParsley Ubuntu Package](https://packages.ubuntu.com/atomicparsley)
794
+ - [AtomicParsley SourceForge (Legacy)](https://atomicparsley.sourceforge.net/)
795
+ - [yt-dlp Documentation (AtomicParsley Integration)](https://github.com/yt-dlp/yt-dlp#embedding-metadata)