{"id":19879794,"url":"https://github.com/dylanblokhuis/wp-pkg","last_synced_at":"2026-04-12T02:35:26.245Z","repository":{"id":106037990,"uuid":"361008476","full_name":"dylanblokhuis/wp-pkg","owner":"dylanblokhuis","description":"Simple tool for packaging your WordPress project.","archived":false,"fork":false,"pushed_at":"2021-05-14T12:28:52.000Z","size":122,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T02:42:10.294Z","etag":null,"topics":["cli","database","dump","migrate","rust","wordpress","wp-pkg"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/dylanblokhuis.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":"2021-04-23T21:22:12.000Z","updated_at":"2021-05-14T12:26:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"42fc1a90-2e9a-4a32-932e-752b0639469a","html_url":"https://github.com/dylanblokhuis/wp-pkg","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/dylanblokhuis/wp-pkg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanblokhuis%2Fwp-pkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanblokhuis%2Fwp-pkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanblokhuis%2Fwp-pkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanblokhuis%2Fwp-pkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dylanblokhuis","download_url":"https://codeload.github.com/dylanblokhuis/wp-pkg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanblokhuis%2Fwp-pkg/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31702580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"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":["cli","database","dump","migrate","rust","wordpress","wp-pkg"],"created_at":"2024-11-12T17:09:28.428Z","updated_at":"2026-04-12T02:35:26.196Z","avatar_url":"https://github.com/dylanblokhuis.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-pkg\n\nSimple tool for packaging your WordPress project and database. Ignores non versioned files like node_modules and .git\n\n## Installation\n\n```bash\n$ brew install dylanblokhuis/wp-pkg/wp-pkg\n```\n\nor [download](https://github.com/dylanblokhuis/wp-pkg/releases) the binaries and put them in your $PATH variable\n\n## Usage\n\n```bash\n$ wp-pkg \u003cpath\u003e\n```\n\n## How to enable search and replace\n\n```php\n// wp-config.php\ndefine('DEV_SITE_DOMAIN', 'localhost:3000');\ndefine('PROD_SITE_DOMAIN', 'my-production-site.com');\n```\n\n## How to use with Local by Flywheel\n\nLocal uses a different mysql socket for each website, to make wp-pkg work you need to specify the path to your mysql socket.\n\n```php\n// wp-config.php\ndefine( 'DB_SOCKET', '/Users/\u003cuser\u003e/Library/Application Support/Local/run/\u003csite_id\u003e/mysql/mysqld.sock' );\n```\n\n\u003cimg src=\"https://i.imgur.com/b3Gpu6b.png\" alt=\"Screenshot showcasing the Local by Flywheel database socket location\"\u003e\n\n# Roadmap\n\n- zips the wp-content folder with ignoring things like node_modules/.git etc ✔️\n- uses the wp-config file to export the database ✔️\n- search and replace the serialized stuff ✔️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanblokhuis%2Fwp-pkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdylanblokhuis%2Fwp-pkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanblokhuis%2Fwp-pkg/lists"}