Skip to content

Repository files navigation

MyMacScripts

A collection of practical macOS scripts by Nima Behkar — small tools that solve real, everyday Mac problems, each one self-contained in its own folder.

Every script ships with its own bilingual documentation: README.md in English and README.fa.md in Persian. Open a script's folder below for full details, installation and uninstallation instructions.

Scripts

Script Description Last updated
mac-external-apps-sync Makes apps stored on external SSDs or inside sparsebundle volumes visible in Spotlight, Launchpad and the Dock; keeps Dock icons stable across reboots; auto-syncs symlinks in ~/Applications via LaunchAgents. Includes an interactive installer. 2026-08-27
mac-icollections-desktop-sync Keeps the Desktop clean while the iCollections app manages files: hides Desktop items a collection references (aliases resolved even when broken or on an offline volume) and unhides the rest; re-syncs at login and on every collections-folder change via a LaunchAgent. Includes an interactive installer. 2026-08-29
mac-hiddify-proxy-manager Keeps the macOS system HTTP/HTTPS/SOCKS proxies in sync with the Hiddify client: sets them to Hiddify's local port while it is connected, removes them (and restores any previously backed-up proxy settings) when it disconnects. Includes an interactive installer. 2026-08-29
mac-facefusion-patcher Patches a local FaceFusion 3.8.2 install (Pinokio or git clone) for testing & development: bypasses the hash-based anti-tamper self-revert in core.py, turns off the content analyser's NSFW gate, moves .git/.github into a backup folder and neutralizes the Pinokio run.js launcher reset — fully reversible via --restore. Includes an interactive installer. 2026-08-29
mac-group-by-prefix Finder Quick Action that groups a file selection by the longest chain of words its file names share (separators like dots/spaces are ignored, glued words stay atomic): the name 2, the name 2 5 and the.name.2 6 land in a the name 2 folder while the.name3 and the land in the. Confirmation dialog first, merges into existing folders, timestamp suffix on clashes, verified moves, Unicode-aware. Includes an interactive installer that builds the Automator workflow. 2026-08-29

License

All scripts are released under the MyMacScripts Non-Commercial License 1.0:

  • Free for personal, private, internal and non-commercial use
  • Modification and redistribution (non-commercial or commercial) allowed only with attribution: © Nima Behkar — https://github.com/nimabhk
  • Commercial use requires a commercial license purchased from the author

Full text: LICENSE. © 2026 Nima Behkar (nimabhk)


MyMacScripts — نسخه فارسی

مجموعه‌ای از اسکریپت‌های کاربردی مک توسط نیما بهکار — ابزارهای کوچکی که مشکلات واقعی و روزمره‌ی مک را حل می‌کنند؛ هر کدام به‌صورت مستقل در فولدر خودش.

هر اسکریپت مستندات دوزبانه‌ی خودش را دارد: README.md به انگلیسی و README.fa.md به فارسی. برای جزئیات کامل، راهنمای نصب و حذف نصب، فولدر هر اسکریپت را باز کنید.

اسکریپت‌ها

اسکریپت توضیحات آخرین به‌روزرسانی
mac-external-apps-sync برنامه‌های نصب‌شده روی SSD اکسترنال یا داخل ایمیج‌های sparsebundle را در Spotlight، Launchpad و Dock قابل‌مشاهده می‌کند؛ آیکون‌های داک را در ری‌استارت‌ها پایدار نگه می‌دارد؛ و با LaunchAgent ها لینک‌های داخل ~/Applications را خودکار همگام نگه می‌دارد. با نصب‌کننده‌ی تعاملی. 2026-08-27
mac-icollections-desktop-sync دسکتاپ را وقتی برنامه‌ی iCollections فایل‌ها را مدیریت می‌کند تمیز نگه می‌دارد: آیتم‌هایی که یک کالکشن به آن‌ها ارجاع می‌دهد را مخفی می‌کند (حتی aliasهای خراب یا والیوم آفلاین) و بقیه را ظاهر می‌کند؛ با LaunchAgent در هر لاگین و با هر تغییر پوشه‌ی کالکشن‌ها دوباره همگام می‌شود. با نصب‌کننده‌ی تعاملی. 2026-08-29
mac-hiddify-proxy-manager پراکسی‌های سیستمی HTTP/HTTPS/SOCKS مک را با برنامه‌ی Hiddify همگام نگه می‌دارد: تا وقتی هیدیفای وصل است پراکسی‌ها را روی پورت محلی آن می‌گذارد و با قطع‌شدن برمی‌گرداند (و تنظیمات پراکسی قبلی که بکاپ گرفته را بازیابی می‌کند). با نصب‌کننده‌ی تعاملی. 2026-08-29
mac-facefusion-patcher نصب محلی FaceFusion 3.8.2 (پینوکیو یا کلون گیت) را برای تست و توسعه پچ می‌کند: سیستم برگرداندن خودکار مبتنی بر هش در core.py را دور می‌زند، گیت NSFW تحلیل‌گر محتوا را خاموش می‌کند، .git/.github را به پوشه‌ی بکاپ منتقل می‌کند و ریست لانچر run.js پینوکیو را بی‌اثر می‌کند — با --restore کاملاً قابل‌بازگشت. با نصب‌کننده‌ی تعاملی. 2026-08-29
mac-group-by-prefix یک Quick Action فایندر که فایل‌های انتخاب‌شده را بر اساس طولانی‌ترین زنجیره‌ی کلماتِ مشترکِ نام‌شان گروه می‌کند (جداکننده‌هایی مثل نقطه/فاصله بی‌اثرند و کلمه‌ی چسبیده همین یک کلمه می‌ماند): the name 2 و the name 2 5 و the.name.2 6 داخل پوشه‌ی «the name 2» می‌افتند و the.name3 و the داخل پوشه‌ی «the». اول پنجره‌ی تأیید، ادغام با پوشه‌های موجود، پسوند timestamp برای تداخل نام، جابجاییِ راستی‌آزمایی‌شده، پشتیبانی یونیکد. با نصب‌کننده‌ی تعاملی که ورک‌فلوی Automator را می‌سازد. 2026-08-29

مجوز

تمام اسکریپت‌ها تحت «لایسنس غیرتجاری MyMacScripts نسخه ۱.۰» منتشر می‌شوند:

  • استفاده شخصی، خصوصی، داخلی و غیرتجاری: رایگان
  • تغییر و بازنشر (تجاری یا غیرتجاری) فقط با ذکر نام و لینک سازنده مجاز است: © نیما بهکار — https://github.com/nimabhk
  • استفاده تجاری نیازمند خرید لایسنس تجاری از سازنده است

متن کامل: LICENSE. © ۲۰۲۶ نیما بهکار (nimabhk)

About

A collection of practical macOS scripts by Nima Behkar — small tools that solve real, everyday Mac problems, each one self-contained in its own folder.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages