{"id":18810120,"url":"https://github.com/agneym/og-image-element","last_synced_at":"2025-04-13T20:30:45.822Z","repository":{"id":38996780,"uuid":"208576329","full_name":"agneym/og-image-element","owner":"agneym","description":"Custom Element used for creating Open Graph Image","archived":false,"fork":false,"pushed_at":"2024-09-23T23:04:54.000Z","size":1435,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-22T23:59:33.829Z","etag":null,"topics":["component","open-wc","web"],"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/agneym.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":"2019-09-15T10:19:49.000Z","updated_at":"2024-07-23T09:35:14.000Z","dependencies_parsed_at":"2024-10-15T05:01:45.122Z","dependency_job_id":"2a6513d8-8fd3-4e6f-af77-b1e212c4227f","html_url":"https://github.com/agneym/og-image-element","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":"0.31999999999999995","last_synced_commit":"33b60a7be0ded5a456b4f67fd07183914198720b"},"previous_names":["boywithsilverwings/og-image-element"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneym%2Fog-image-element","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneym%2Fog-image-element/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneym%2Fog-image-element/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agneym%2Fog-image-element/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agneym","download_url":"https://codeload.github.com/agneym/og-image-element/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223129263,"owners_count":17092198,"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":["component","open-wc","web"],"created_at":"2024-11-07T23:18:59.250Z","updated_at":"2024-11-07T23:19:00.247Z","avatar_url":"https://github.com/agneym.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \\\u003cog-image-element\u003e\n\nTo be used with [Open Graph Generator Image Action](https://github.com/BoyWithSilverWings/generate-og-image)\n\n![Screenshot](/demo/shot.png?raw=true \"Element Output Generated\")\n\nThis webcomponent follows the [open-wc](https://github.com/open-wc/open-wc) recommendation.\n\n## Installation\n```bash\nnpm i og-image-element\n```\n\n## Usage\n```html\n\u003cscript type=\"module\"\u003e\n  import 'og-image-element/og-image-element.js';\n\u003c/script\u003e\n\n\u003cog-image-element\u003e\n  \u003cdiv slot=\"title\"\u003eTitle of the Post\u003c/div\u003e\n  \u003cimg slot=\"image\" src=\"url to image\" /\u003e\n\u003c/og-image-element\u003e\n```\n\nYou can customise styling with CSS variables:\n\n```css\nog-image-element {\n  --heading-font: 'Aleo', serif;\n  --background: #ffffff;\n  --font-color: #000000;\n  --font-size: 100%;\n}\n```\n\n## Testing using karma (if applied by author)\n```bash\nnpm run test\n```\n\n## Demoing using storybook (if applied by author)\n```bash\nnpm run storybook\n```\n\n## Linting\n```bash\nnpm run lint\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagneym%2Fog-image-element","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagneym%2Fog-image-element","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagneym%2Fog-image-element/lists"}