{"id":29722040,"url":"https://github.com/pedrosancao/wordimpress","last_synced_at":"2025-10-06T15:03:07.318Z","repository":{"id":57037456,"uuid":"283624896","full_name":"pedrosancao/wordimpress","owner":"pedrosancao","description":"Static site generator library that uses Wordpress API as content source.","archived":false,"fork":false,"pushed_at":"2021-03-07T14:24:48.000Z","size":71,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-05-05T18:02:40.257Z","etag":null,"topics":["static-site-generator","twig","wordpress-api","wordpress-rest","wp-json"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/pedrosancao.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}},"created_at":"2020-07-29T23:44:14.000Z","updated_at":"2024-05-05T18:02:40.257Z","dependencies_parsed_at":"2022-08-23T20:51:04.214Z","dependency_job_id":null,"html_url":"https://github.com/pedrosancao/wordimpress","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/pedrosancao/wordimpress","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrosancao%2Fwordimpress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrosancao%2Fwordimpress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrosancao%2Fwordimpress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrosancao%2Fwordimpress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pedrosancao","download_url":"https://codeload.github.com/pedrosancao/wordimpress/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pedrosancao%2Fwordimpress/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266871418,"owners_count":23998261,"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-07-24T02:00:09.469Z","response_time":99,"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":["static-site-generator","twig","wordpress-api","wordpress-rest","wp-json"],"created_at":"2025-07-24T16:31:01.939Z","updated_at":"2025-10-06T15:03:02.282Z","avatar_url":"https://github.com/pedrosancao.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wordimpress\n\n![project license](https://img.shields.io/github/license/pedrosancao/wordimpress)\n![code size](https://img.shields.io/github/languages/code-size/pedrosancao/wordimpress)\n![PHP version](https://img.shields.io/packagist/php-v/pedrosancao/wordimpress)\n![packagist version](https://img.shields.io/packagist/v/pedrosancao/wordimpress)\n![packagist downloads](https://img.shields.io/packagist/dt/pedrosancao/wordimpress)\n\nStatic site generator library that uses Wordpress API as content source. The library still a prototype.\n\n## Key features\n\n- uses Twig as template engine\n- convert images to WebP format\n- supports markdown to HTML\n\n## Dependencies\n\nThis package rely on these PHP extensions:\n\n- GD\n- DOM\n- Inotify\n\nMake sure you have them installed.\n\n## Usage\n\nAdd Wordimpress to your project using composer:\n\n```bash\ncomposer require pedrosancao/wordimpress\n```\n\n---\n\nCreate a class implementing `PedroSancao\\Wordimpress\\Contracts\\SiteInterface`, then implement other\ninterfaces on the namespace `PedroSancao\\Wordimpress\\Contracts` to add more capabilities, some of them\nhave traits that implements the interface (`PedroSancao\\Wordimpress\\BlogData\\Has*Trait`).\n\n---\n\nInvoke wordpress command:\n\n`vendor/bin/wordimpress [options] classname`\n\n`classname` is the full qualified name of the class implementing `SiteInterface`\n\nThe available options:\n\n- `-p, --production` generate assets production\n- `-w, --watch` watch for changes to recompile\n- `--html-only` run only HTML generation (prevents `-w`)\n\n---\n\nAn example of usage is available on [Bootstrap Template](https://github.com/pedrosancao/wordimpress-bootstrap).\n\n## To do\n\nCheck the project's [kanban board](https://github.com/pedrosancao/wordimpress/projects/1).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrosancao%2Fwordimpress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpedrosancao%2Fwordimpress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpedrosancao%2Fwordimpress/lists"}