{"id":16252273,"url":"https://github.com/remarkablemark/github-corners","last_synced_at":"2025-07-16T12:06:54.747Z","repository":{"id":54753857,"uuid":"118076741","full_name":"remarkablemark/github-corners","owner":"remarkablemark","description":":octocat: Github Corners embed script.","archived":false,"fork":false,"pushed_at":"2023-05-21T18:41:57.000Z","size":13,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-09T10:45:16.869Z","etag":null,"topics":["embed","fork-me","github","github-corner","github-corners","javascript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/github-corners","language":"JavaScript","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/remarkablemark.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":["remarkablemark"],"patreon":"remarkablemark","open_collective":null,"ko_fi":"remarkablemark","tidelift":null,"community_bridge":null,"liberapay":"remarkablemark","issuehunt":null,"otechie":null,"custom":["https://b.remarkabl.org/teespring"]}},"created_at":"2018-01-19T04:23:46.000Z","updated_at":"2025-02-28T14:10:50.000Z","dependencies_parsed_at":"2024-06-21T20:30:24.072Z","dependency_job_id":"d57f5de0-ac99-415c-909a-f21c67c2ea2b","html_url":"https://github.com/remarkablemark/github-corners","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/remarkablemark/github-corners","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fgithub-corners","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fgithub-corners/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fgithub-corners/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fgithub-corners/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remarkablemark","download_url":"https://codeload.github.com/remarkablemark/github-corners/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablemark%2Fgithub-corners/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265508316,"owners_count":23779118,"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","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":["embed","fork-me","github","github-corner","github-corners","javascript"],"created_at":"2024-10-10T15:13:01.518Z","updated_at":"2025-07-16T12:06:54.702Z","avatar_url":"https://github.com/remarkablemark.png","language":"JavaScript","readme":"# github-corners\n\n[![NPM](https://nodei.co/npm/github-corners.png)](https://nodei.co/npm/github-corners/)\n\n[![NPM version](https://img.shields.io/npm/v/github-corners.svg)](https://www.npmjs.com/package/github-corners)\n\n:octocat: [Github Corners](http://tholman.com/github-corners) embed script inspired by [Tim Holman](https://github.com/tholman).\n\n### Examples\n\n- [JSFiddle](https://jsfiddle.net/remarkablemark/f19eejcb/)\n- [Replit](https://replit.com/@remarkablemark/Github-Corners)\n\n## Usage\n\nInclude the [embed script](https://unpkg.com/github-corners/) on your webpage:\n\n```html\n\u003c!-- insert before `\u003c/body\u003e` --\u003e\n\u003cscript src=\"https://unpkg.com/github-corners/dist/embed.min.js\"\u003e\u003c/script\u003e\n```\n\nSpecify a [version](https://registry.npmjs.org/github-corners) to prevent breaking changes:\n\n```html\n\u003c!-- replace `latest` with a version like `0.1.0` --\u003e\n\u003cscript src=\"https://unpkg.com/github-corners@latest/dist/embed.min.js\"\u003e\u003c/script\u003e\n```\n\nImprove page loading with `async` or `defer` attribute:\n\n```html\n\u003cscript\n  async\n  defer\n  src=\"https://unpkg.com/github-corners/dist/embed.min.js\"\n\u003e\u003c/script\u003e\n```\n\n## FAQ\n\nThe GitHub Corner renders on your page. Great! But how do I specify a link?\n\nSet it with the `data-href` attribute:\n\n```html\n\u003cscript\n  data-href=\"https://github.com/remarkablemark/github-corners\"\n  src=\"https://unpkg.com/github-corners/dist/embed.min.js\"\n\u003e\u003c/script\u003e\n```\n\nWhat if I want the link to open in a new tab?\n\nSet `data-target` to `_blank`:\n\n```html\n\u003cscript\n  data-href=\"https://github.com/remarkablemark/github-corners\"\n  data-target=\"_blank\"\n  src=\"https://unpkg.com/github-corners/dist/embed.min.js\"\n\u003e\u003c/script\u003e\n```\n\nCan I change the `aria-label` of the link?\n\nYes, the `data-label` value will override the default value:\n\n```html\n\u003cscript\n  data-label=\"Check out the GitHub Corners repository!\"\n  data-href=\"https://github.com/remarkablemark/github-corners\"\n  src=\"https://unpkg.com/github-corners/dist/embed.min.js\"\n\u003e\u003c/script\u003e\n```\n\nWhat if I want to change the color or position of the corner?\n\nYou can always override the default styling of the svg:\n\n```html\n\u003c!-- insert after embed script --\u003e\n\u003cstyle\u003e\n  .github-corner \u003e svg {\n    fill: skyblue;\n  }\n\u003c/style\u003e\n```\n\n## License\n\n[MIT](LICENSE)\n\nSee [license/acknowledgements](https://github.com/tholman/github-corners#licenseacknowledgements) from original project.\n","funding_links":["https://github.com/sponsors/remarkablemark","https://patreon.com/remarkablemark","https://ko-fi.com/remarkablemark","https://liberapay.com/remarkablemark","https://b.remarkabl.org/teespring"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablemark%2Fgithub-corners","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremarkablemark%2Fgithub-corners","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablemark%2Fgithub-corners/lists"}