{"id":33967592,"url":"https://github.com/spress/github-metadata-plugin","last_synced_at":"2026-04-25T03:34:57.752Z","repository":{"id":24645576,"uuid":"28055248","full_name":"spress/github-metadata-plugin","owner":"spress","description":"Github metadata of a repository","archived":false,"fork":false,"pushed_at":"2017-11-19T08:28:15.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-14T12:35:12.037Z","etag":null,"topics":["github","php","plugin","spress"],"latest_commit_sha":null,"homepage":"http://spress.yosymfony.com","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/spress.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":"2014-12-15T20:40:33.000Z","updated_at":"2017-11-19T08:16:56.000Z","dependencies_parsed_at":"2022-07-24T02:16:12.526Z","dependency_job_id":null,"html_url":"https://github.com/spress/github-metadata-plugin","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/spress/github-metadata-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spress%2Fgithub-metadata-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spress%2Fgithub-metadata-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spress%2Fgithub-metadata-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spress%2Fgithub-metadata-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spress","download_url":"https://codeload.github.com/spress/github-metadata-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spress%2Fgithub-metadata-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32248969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-25T03:17:44.950Z","status":"ssl_error","status_checked_at":"2026-04-25T03:16:45.208Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["github","php","plugin","spress"],"created_at":"2025-12-12T23:51:24.148Z","updated_at":"2026-04-25T03:34:57.747Z","avatar_url":"https://github.com/spress.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Github metadata of a repository\n\n![Spress 2 ready](https://img.shields.io/badge/Spress%202-ready-brightgreen.svg)\n\nAccess to `site.github` for getting a repository's metadata.\n\n**Requires**:\n\n* Spress \u003e=2.0.0\n* PHP cURL extension.\n\nIf you are using Spress 1.x, go to [1.0.0](https://github.com/spress/Github-metadata-plugin/tree/v1.0.0) version of the plugin.\n\n### How to install?\n\nGo to your site folder and input the following command:\n\n```bash\nspress add:plugin spress/github-metadata-plugin\n```\n\n### How to use?\n\nAdd the following to your `config.yml`:\n\n```yaml\n#Your repository name:\nrepository: \"spress/spress\"\n\n```\n\n#### Access to repository's metadada\n\n* **Stargazers count**: `site.github.stargazers_count`.\n* **Watchers count**: `site.gihub.watchers_count`.\n* **Forks count**: `site.github.forks_count`.\n\nSee [Github repos API](https://developer.github.com/v3/repos/).\n\nAnother metadata keys:\n\n* name\n* full_name\n* description\n* fork\n* html_url\n* clone_url\n* git_url\n* ssh_url\n* mirror_url\n* homepage\n* size\n* default_branch\n* open_issues_count\n* has_issues\n* has_pages\n* has_downloads\n* pushed_at\n* created_at\n* updated_at\n\n##### Contributors metadata\n\nAccess to `site.github.contributors` for getting an array with contributors metadata.\n\nSee [Github repos API](https://developer.github.com/v3/repos/#list-contributors).\n\n* login\n* avatar_url\n* html_url\n* type\n* contributions\n\n##### Owner metada\n\nAccess to `site.github.owner` for getting owner metadata.\n\n* login\n* avatar_url\n* gravatar_id\n* html_url\n\n##### Organization metadata\n\nAccess to `site.github.organization` for getting organization metadata.\n\n* login\n* avatar_url\n* html_url\n\n##### Source metadata\n\nAccess to `site.github.source` for getting source metadata.\n\n* name\n* full_name\n* description\n* html_url\n* clone_url\n* git_url\n* ssh_url\n* svn_url\n* mirror_url\n* homepage\n* forks_count\n* stargazers_count\n* watchers_count\n* size\n* default_branch\n* open_issues_count\n* has_issues\n* has_wiki\n* has_pages\n* has_downloads\n* pushed_at\n* created_at\n* updated_at\n\n\n## License\n\nThis plugin is available as open source under the terms of the\n[MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspress%2Fgithub-metadata-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspress%2Fgithub-metadata-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspress%2Fgithub-metadata-plugin/lists"}