{"id":17642623,"url":"https://github.com/hughbris/grav-plugin-cornercat","last_synced_at":"2026-04-30T00:07:35.588Z","repository":{"id":137595022,"uuid":"463038696","full_name":"hughbris/grav-plugin-cornercat","owner":"hughbris","description":"Place a Github Octocat linked to a relevant repo on the corner of your webpages","archived":false,"fork":false,"pushed_at":"2022-02-25T00:15:10.000Z","size":13,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-03-30T06:13:06.334Z","etag":null,"topics":["github","grav","plugin"],"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/hughbris.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["hughbris"],"custom":["https://ko-fi.com/hughbris","https://www.buymeacoffee.com/hughbris"]}},"created_at":"2022-02-24T06:45:41.000Z","updated_at":"2022-04-20T03:37:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"7874cde1-7418-40dd-b3c3-7c773d8aeed2","html_url":"https://github.com/hughbris/grav-plugin-cornercat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hughbris/grav-plugin-cornercat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbris%2Fgrav-plugin-cornercat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbris%2Fgrav-plugin-cornercat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbris%2Fgrav-plugin-cornercat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbris%2Fgrav-plugin-cornercat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hughbris","download_url":"https://codeload.github.com/hughbris/grav-plugin-cornercat/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hughbris%2Fgrav-plugin-cornercat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32448892,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"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","grav","plugin"],"created_at":"2024-10-23T08:23:25.755Z","updated_at":"2026-04-30T00:07:33.553Z","avatar_url":"https://github.com/hughbris.png","language":"PHP","funding_links":["https://github.com/sponsors/hughbris","https://ko-fi.com/hughbris","https://www.buymeacoffee.com/hughbris"],"categories":[],"sub_categories":[],"readme":"# Cornercat Plugin\n\nThe **Cornercat** Plugin is for [Grav CMS](http://github.com/getgrav/grav).\n\nIt places a Github Octocat hyperlinked to a relevant repo on the corner of your webpages. It would be useful if you are demoing a theme or plugin, or have pages about other software you have written that is available on Github.\n\nThe graphic and corner code have been taken from [Tim Holman](https://github.com/tholman)'s [github-corners](https://github.com/tholman/github-corners) under its [MIT License](https://github.com/tholman/github-corners/blob/master/license.md). 🙏, I like the cut of your gib.\n\n## Installation\n\nInstalling the Cornercat plugin can be done in one of two ways. The GPM (Grav Package Manager) installation method enables you to quickly and easily install the plugin with a simple terminal command, while the manual method enables you to do so via a zip file.\n\n\u003c!--\n### GPM Installation (Preferred)\n\nThe simplest way to install this plugin is via the [Grav Package Manager (GPM)](http://learn.getgrav.org/advanced/grav-gpm) through your system's terminal (also called the command line).  From the root of your Grav install type:\n\n    bin/gpm install cornercat\n\nThis will install the Cornercat plugin into your `/user/plugins` directory within Grav. Its files can be found under `/your/site/grav/user/plugins/cornercat`.\n--\u003e\n### Manual Installation\n\nTo install this plugin, just download the zip version of this repository and unzip it under `/your/site/grav/user/plugins`. Then, rename the folder to `cornercat`. You can find these files on [GitHub](https://github.com/hughbris/grav-plugin-cornercat) or via [GetGrav.org](http://getgrav.org/downloads/plugins#extras).\n\nYou should now have all the plugin files under\n\n    /your/site/grav/user/plugins/cornercat\n\t\n\u003e NOTE: This plugin is a modular component for Grav which requires [Grav](http://github.com/getgrav/grav) and the [Error](https://github.com/getgrav/grav-plugin-error) and [Problems](https://github.com/getgrav/grav-plugin-problems) to operate.\n\n\u003c!--\n### Admin Plugin\n\nIf you use the admin plugin, you can install directly through the admin plugin by browsing the `Plugins` tab and clicking on the `Add` button.\n--\u003e\n## Configuration\n\nBefore configuring this plugin, you should copy the `user/plugins/cornercat/cornercat.yaml` to `user/config/plugins/cornercat.yaml` and only edit that copy.\n\nHere is the default configuration and an explanation of available options:\n\n```yaml\nenabled: true\ndefault: true # whether the Octocat is included or excluded by default (more details below)\ncolor: '#fff' # foreground colour or SVG 'color'\nfill: '#151513' # background colour or SVG 'fill'\nanimated: true # whether the cat waves on hover\nposition: right # which top corner your cat prefers\nrepository: hughbris/grav-plugin-cornercat # link destination Github repo (only the owner/repo): change this or I get the kudos\n# styles: # optional custom CSS property/value declarations for SVG element - e.g. z-index: 10 (more details below)\n```\n\nYou can also set these options (except `enabled` and `default`) under `cornercat` on any page's frontmatter to override these settings for that page only. For example:\n\n```yaml\ntitle: My special page\ncornercat:  # child settings here imply that the cat is shown on this page (more detail below under \"Usage\")\n  repository: tholman/github-corners\n  fill: '#f0f'\n```\n\nNote that if you use the admin plugin, a file with your configuration, and named cornercat.yaml will be saved in the `user/config/plugins/` folder once the configuration is saved in the admin.\n\n## Usage\n\nThe cornercat is enabled by **default** on every page on install. If you want to control which pages show the cat, first decide whether you want Octocat shown by default, and change `default` to `true` or `false` in your theme config. Then for each page that is different, add headers to their frontmatter with `cornercat: true # or false`. For example:\n\n```yaml\ntitle: \"Let's be serious, guys\"\ncornercat: false\n```\n\n\u003e Regardless of your default setting, if you set any custom options for the plugin on any page frontmatter, cornercat will be enabled on that page (that is, `cornercat: true` is implied).\n\nIf you need to add custom styles for your cornercat, create a file in your theme's `css` folder called `cornercat-custom.css` (so `user/\u003ctheme\u003e/css/cornercat-custom.css`) and it will be picked up. Alternatively, you can add inline **styles** for the SVG element using CSS property/value settings as YAML in the config under `styles` (see above).\n\nYou may need to add styles to increase your z-index value, depending on your theme.\n\n## Credits\n\nThanks to [@tholman](https://github.com/tholman) for the front end code.\n\n## To Do\n\nSupport parameters sketched out in the [default config file](cornercat.yaml):\n- [x] default (#2)\n- [x] color\n- [x] fill\n- [x] animated\n- [x] position\n- [x] repository\n- [ ] target (#3)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhughbris%2Fgrav-plugin-cornercat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhughbris%2Fgrav-plugin-cornercat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhughbris%2Fgrav-plugin-cornercat/lists"}