{"id":15150625,"url":"https://github.com/amirhp-com/zipwp-macos","last_synced_at":"2026-01-28T00:38:36.025Z","repository":{"id":253174689,"uuid":"842705594","full_name":"amirhp-com/ZipWP-MacOS","owner":"amirhp-com","description":"Streamline WordPress plugin packaging on macOS with Quick Actions that automatically zip, version, and clean your files for easy distribution.","archived":false,"fork":false,"pushed_at":"2024-08-14T22:47:44.000Z","size":1308,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T07:53:12.748Z","etag":null,"topics":["automation","macos","wordpress","wordpress-plugin","wordpress-plugin-development"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amirhp-com.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-14T22:36:22.000Z","updated_at":"2024-08-15T03:08:12.000Z","dependencies_parsed_at":"2024-08-15T00:30:05.383Z","dependency_job_id":null,"html_url":"https://github.com/amirhp-com/ZipWP-MacOS","commit_stats":null,"previous_names":["amirhp-com/zipwp-macos"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhp-com%2FZipWP-MacOS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhp-com%2FZipWP-MacOS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhp-com%2FZipWP-MacOS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirhp-com%2FZipWP-MacOS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirhp-com","download_url":"https://codeload.github.com/amirhp-com/ZipWP-MacOS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247615480,"owners_count":20967183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","macos","wordpress","wordpress-plugin","wordpress-plugin-development"],"created_at":"2024-09-26T14:23:12.224Z","updated_at":"2026-01-28T00:38:35.949Z","avatar_url":"https://github.com/amirhp-com.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **ZipWP Quick Actions for macOS Finder**\n\nThis repository contains a set of macOS Finder Quick Actions designed to streamline the process of creating WordPress plugins and source archives. These Quick Actions allow you to quickly zip a folder, removing unnecessary files, and automatically setting a version suffix on the archive. The tools are perfect for developers who need a fast and reliable way to prepare WordPress plugins for distribution.\n\n**Developed by [Amirhp.Com](https://Amirhp.Com/)** 🦖\n\n## **Why This Project?**\n\nIf you've ever compressed a folder on macOS and tried to use that zip file as a WordPress plugin, you might have noticed that it doesn't always work as expected. Extra files and folders (like `.DS_Store`) often get included, and the folder structure may not be ideal. This project aims to solve these problems by automating the process, ensuring you always get a clean, versioned zip file ready for WordPress.\n\n## **Features**\n\n- **ZipWP Plugin**: Creates a zip file of the selected folder as a ready-to-install WordPress plugin. The version is automatically detected from your files, and you can edit it via a popup.\n- **ZipWP Source**: Archives the entire source code while preserving the folder structure. The version suffix is appended to the zip file.\n- **ZipWP Plugin Quick**: Instantly creates a share-ready zip file without prompting for the version.\n\nThese Quick Actions are designed to eliminate the hassle of manually removing unnecessary files such as `.git`, `.gitignore`, `.vscode`, `.DS_Store`, and others, ensuring a clean and lightweight plugin package.\n\n## **Getting Started**\n\n### **Installation \u0026 Setup**\n\n1. **Clone this repository** to your local machine:\n\n   ```bash\n   git clone https://github.com/amirhp-com/ZipWP-MacOS.git\n   ```\n\n2. **Add the Quick Actions** to macOS Automator:\n\n   - Open **Automator**.\n   - Choose **Quick Action**.\n   - Drag and drop the relevant script from the cloned repository into the workflow area.\n   - Set **Workflow receives current** to `files or folders in Finder`.\n   - **Set pass input**: `as arguments`\n   - Save the Quick Action with a name like `ZipWP Plugin`, `ZipWP Source`, or `ZipWP Plugin Quick`.\n\n3. **Assign Icons to Quick Actions**:\n   - Right-click on the saved Quick Action file.\n   - Select `Get Info`.\n   - Drag your custom icon to the top-left corner of the Get Info window.\n\n### **Using the Quick Actions**\n\n1. **Right-click** on the folder containing the WordPress plugin or source code.\n2. **Select** the desired Quick Action from the `Quick Actions` menu:\n\n   - **ZipWP Plugin**: Opens a popup asking for the plugin version. The detected version is pre-filled, but you can edit it.\n   - **ZipWP Source**: Similar to ZipWP Plugin, but preserves the entire source code structure.\n   - **ZipWP Plugin Quick**: Instantly creates a versioned zip file without further input.\n\n3. **Locate the generated zip file** in the same directory as your original folder.\n\n### **Example Workflow**\n\n1. **ZipWP Plugin**:\n\n   - Right-click on your plugin folder.\n   - Choose `ZipWP Plugin` from Quick Actions.\n   - Enter a version number if needed.\n   - Find the `plugin-name-vX.X.X.zip` file ready for use in your WordPress projects.\n\n2. **ZipWP Source**:\n   - Right-click on your source folder.\n   - Select `ZipWP Source` from Quick Actions.\n   - The complete source with a versioned name is zipped and saved.\n\n### **Screenshots**\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"shot1.png\"\u003e\n        \u003cimg src=\"shot1.png\" height=\"200\"\u003e\n      \u003c/a\u003e\n      \u003cbr\u003e\n      \u003cem\u003eFigure 1: ZipWP in macOS Automator\u003c/em\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"shot2.png\"\u003e\n        \u003cimg src=\"shot2.png\" height=\"200\"\u003e\n      \u003c/a\u003e\n      \u003cbr\u003e\n      \u003cem\u003eFigure 2: ZipWP Quick Actions in Finder\u003c/em\u003e\n    \u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\n      \u003ca href=\"shot3.png\"\u003e\n        \u003cimg src=\"shot3.png\" height=\"200\"\u003e\n      \u003c/a\u003e\n      \u003cbr\u003e\n      \u003cem\u003eFigure 3: ZipWP Version Input Dialog\u003c/em\u003e\n    \u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n\n\n\n\n\n\n\n## **Contributing**\n\nWe welcome contributions! If you’d like to improve this project or add new features:\n\n- Fork the repository.\n- Create a new branch for your feature or fix.\n- Submit a pull request.\n\nPlease make sure your code adheres to our guidelines and includes relevant tests.\n\n## **License**\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirhp-com%2Fzipwp-macos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirhp-com%2Fzipwp-macos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirhp-com%2Fzipwp-macos/lists"}