{"id":15447501,"url":"https://github.com/datadavev/gh-corner","last_synced_at":"2026-01-07T20:03:12.679Z","repository":{"id":83563459,"uuid":"409215581","full_name":"datadavev/gh-corner","owner":"datadavev","description":"Simple web-component wrapper around https://github.com/tholman/github-corners","archived":false,"fork":false,"pushed_at":"2023-04-22T22:49:47.000Z","size":1983,"stargazers_count":0,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T08:44:17.477Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/datadavev.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-09-22T13:28:28.000Z","updated_at":"2021-11-16T15:50:05.000Z","dependencies_parsed_at":"2023-07-08T23:01:31.566Z","dependency_job_id":null,"html_url":"https://github.com/datadavev/gh-corner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/datadavev/gh-corner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Fgh-corner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Fgh-corner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Fgh-corner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Fgh-corner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datadavev","download_url":"https://codeload.github.com/datadavev/gh-corner/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datadavev%2Fgh-corner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28237402,"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":"2026-01-07T02:00:05.975Z","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":[],"created_at":"2024-10-01T20:06:35.863Z","updated_at":"2026-01-07T20:03:12.651Z","avatar_url":"https://github.com/datadavev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \\\u003cgh-corner\u003e\n\nA simple web-component wrapper around [github-corners](https://github.com/tholman/github-corners).\n\nThis component is intended for use in pages that already make use of [lit](https://lit.dev/) though it works fine in \nplain pages as well, just with some additional overhead.\n\nThis webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.\n\n## Installation\n\n```bash\nnpm i gh-corner\n```\n\n## Usage\n\n```html\n\u003cscript type=\"module\"\u003e\n  import 'gh-corner/gh-corner.js';\n\u003c/script\u003e\n\n\u003cgh-corner user=\"USERNAME\" repo=\"REPOSITORY\" position=\"left|right\"\u003e\u003c/gh-corner\u003e\n```\nor using a CDN:\n```html\n\u003cscript type=\"module\" src=\"https://unpkg.com/gh-corner-wc/gh-corner.js?module\"\u003e\n\u003c/script\u003e\n\n\u003cgh-corner user=\"USERNAME\" repo=\"REPOSITORY\" position=\"left|right\"\u003e\u003c/gh-corner\u003e\n```\n\n\n## Linting and formatting\n\nTo scan the project for linting and formatting errors, run\n\n```bash\nnpm run lint\n```\n\nTo automatically fix linting and formatting errors, run\n\n```bash\nnpm run format\n```\n\n## Testing with Web Test Runner\n\nTo execute a single test run:\n\n```bash\nnpm run test\n```\n\nTo run the tests in interactive watch mode run:\n\n```bash\nnpm run test:watch\n```\n\n## Demoing with Storybook\n\nTo run a local instance of Storybook for your component, run\n\n```bash\nnpm run storybook\n```\n\nTo build a production version of Storybook, run\n\n```bash\nnpm run storybook:build\n```\n\n\n## Tooling configs\n\nFor most of the tools, the configuration is in the `package.json` to minimize the amount of files in your project.\n\nIf you customize the configuration a lot, you can consider moving them to individual files.\n\n## Local Demo with `web-dev-server`\n\n```bash\nnpm start\n```\n\nTo run a local development server that serves the basic demo located in `demo/index.html`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadavev%2Fgh-corner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatadavev%2Fgh-corner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatadavev%2Fgh-corner/lists"}