{"id":26208479,"url":"https://github.com/mwmdev/tools","last_synced_at":"2026-04-12T00:47:01.804Z","repository":{"id":192032179,"uuid":"685915417","full_name":"mwmdev/tools","owner":"mwmdev","description":"Various scripts that help me with my daily tasks.","archived":false,"fork":false,"pushed_at":"2024-06-17T20:43:05.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T06:31:38.128Z","etag":null,"topics":["local","python","shell","vvv","wordpress","wp-cli"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mwmdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-09-01T09:55:23.000Z","updated_at":"2025-02-28T20:36:31.000Z","dependencies_parsed_at":"2023-09-02T06:58:58.417Z","dependency_job_id":"8a7fd25b-8936-4bcc-b66b-6a74420d42e0","html_url":"https://github.com/mwmdev/tools","commit_stats":null,"previous_names":["mwmdev/tools"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mwmdev/tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwmdev%2Ftools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwmdev%2Ftools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwmdev%2Ftools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwmdev%2Ftools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mwmdev","download_url":"https://codeload.github.com/mwmdev/tools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mwmdev%2Ftools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270286463,"owners_count":24558611,"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","status":"online","status_checked_at":"2025-08-13T02:00:09.904Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["local","python","shell","vvv","wordpress","wp-cli"],"created_at":"2025-03-12T06:28:49.230Z","updated_at":"2026-04-12T00:47:01.768Z","avatar_url":"https://github.com/mwmdev.png","language":"Shell","readme":"## Tools\n\n### mwmuc\n\n[mwmuc](https://github.com/mwmdev/tools/blob/main/mwmuc/mwmuc.py) uses `wp-cli` to list the number of Wordpress updates (core, plugins, theme and translations) for any Wordpress install it finds in a specific folder and it's subfolders.\n\nIt is intended to work with [Local](https://localwp.com/) using a global install of [wp-cli](https://wp-cli.org/), following [this configuration](https://salferrarello.com/wp-cli-local-by-flywheel-without-ssh/). Also tested with [VVV](https://varyingvagrantvagrants.org/).\n\nExample output :\n\n```\nSite name: TestProject\n\n- Plugin updates: 17\n- Wordpress updates: 2\n- Theme updates: 1\n- Language updates: 1\n\n\nSite name: AnotherProject\n\n- Plugin updates: 5\n- Wordpress updates: 1\n- Theme updates: 2\n- Language updates: 1\n```\n\n### mwmup\n\n[mwmup](https://github.com/mwmdev/tools/blob/main/mwmup/mwmup) uses `wp-cli` and `git` to update Wordpress plugins, stage the new files, add commits and push to the repo.\n\nSettings are defined in an `.env` file like so :\n\n```\nuser=[USER]\nserver=[IP]\nport=[PORT]\npath=[PATH]\nmergeinto=[BRANCH]\nignore=[PLUGIN1,PLUGIN2]\n```\n\nSample output :\n\n```\nOn branch « main », do you want to update plugins? (Y/n): Y\nSetting « WP_DEBUG » to « false »\nChecking for plugin updates...\nFound 3 plugin(s) with updates : facetwp mailpoet google-site-kit\nAlso found 1 plugin(s) to ignore : user-role-editor\nDo you want to update 3 plugin(s)? (Y/n): Y\nUpdating « facetwp »\nUpdate of « facetwp » successful.\nUpdating « mailpoet »\nUpdate of « mailpoet » successful.\nUpdating « google-site-kit »\nUpdate of « google-site-kit » successful.\nPushing changes to remote.\n```\n\n### mwmdp\n\n[mwmdp](https://github.com/mwmdev/tools/blob/main/mwmdp/mwmdp) uses `wp-cli` and `glab` to merge and deploy to a server. It uses the same `.env` file as `mwmup`.\n\nSample output :\n```\nOn branch: « main »\nDo you want to deploy? (Y/n):\nWe are on branch « main », no need to merge.\nTesting connection to « ftp.myhost.net » on port « 22 » with user « johndoe » ...\nConnecting to « ftp.myhost.net »\nEntering path « /path/to/www »\nPulling changes ...\n```\n### mwmgs\n\n[mwmgs](https://github.com/mwmdev/tools/blob/main/mwmgs/mwmgs) is a simple bash script that looks for folders named `public_html` in the current folder recursively and gathers the number of unstaged git changes in each folder, then displays the results in a table.\n\n\nExample output :\n\n```\nProject         | Unstaged Changes\n-------         | ----------------\nmyproject       | 0\nanotherproject  | 3\ntestproject     | 1\n```\n\n### mwmpl\n\n[mwmpl](https://github.com/mwmdev/tools/blob/main/mwmpl/mwmpl) is a simple bash script that uses `wp-cli` and `WP Migrate` to pull the DB from a remote Wordpress site.\n\nSettings are defined in an `.env` file like so :\n\n```\nwpmdb_key=[WP Migrate site key]\nlive_url=[Live site URL]\n```\n\nExample output :\n\n```\nAre you sure you want to pull the database from https://mysite.com ? (Y/n):\nVerifying connection...\nInitiating migration...\nMigrating tables      100% [==========================================================================================================] 0:37 / 0:36\nCleaning up...\nFlushing caches and rewrite rules...\nSuccess: Migration successful.\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwmdev%2Ftools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmwmdev%2Ftools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmwmdev%2Ftools/lists"}