{"id":22606388,"url":"https://github.com/ekkolon/ngx-gist","last_synced_at":"2026-04-29T18:34:13.117Z","repository":{"id":65661038,"uuid":"596198199","full_name":"ekkolon/ngx-gist","owner":"ekkolon","description":"Embedding GitHub Gists in Angular apps made easy ","archived":false,"fork":false,"pushed_at":"2024-04-11T06:18:10.000Z","size":1639,"stargazers_count":1,"open_issues_count":8,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-29T14:52:29.662Z","etag":null,"topics":["angular","embed","github-gist","iframe","iframe-embeds","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/ekkolon.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}},"created_at":"2023-02-01T17:13:56.000Z","updated_at":"2023-06-01T23:38:11.000Z","dependencies_parsed_at":"2023-02-19T08:16:04.477Z","dependency_job_id":"832d9a17-14b3-4590-b76d-4b9469d1a82a","html_url":"https://github.com/ekkolon/ngx-gist","commit_stats":{"total_commits":19,"total_committers":3,"mean_commits":6.333333333333333,"dds":0.3157894736842105,"last_synced_commit":"6b5976ff8eff5d024a38b0fe84ab17b5bea2e2cb"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ekkolon/ngx-gist","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekkolon%2Fngx-gist","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekkolon%2Fngx-gist/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekkolon%2Fngx-gist/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekkolon%2Fngx-gist/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ekkolon","download_url":"https://codeload.github.com/ekkolon/ngx-gist/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ekkolon%2Fngx-gist/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32439239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T18:12:22.909Z","status":"ssl_error","status_checked_at":"2026-04-29T18:11:33.322Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["angular","embed","github-gist","iframe","iframe-embeds","typescript"],"created_at":"2024-12-08T14:13:25.953Z","updated_at":"2026-04-29T18:34:13.101Z","avatar_url":"https://github.com/ekkolon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngx-gist\n\n[![NPM Version][npm-image]][npm-url]\n\nA simple and lightweight library for embedding GitHub Gists in your Angular applications.\n\n![Alt text](/projects/ngx-gist-playground/src/assets/animated/ngx-gist-example.gif?raw=true \"Optional Title\")\n\n## Features\n\n- Embed all files from a GitHub gist\n- Embed a single target file\n- Auto-sized iframe\n- Runs outside NgZone\n\n## Requirements\n\nMake sure to have `iframe-resizer` installed. This library is needed for auto-resizing the iframe in which the gist is rendered.\u003c/p\u003e\n\n```shell\nnpm install iframe-resizer\n```\n\n**Install `ngx-gist`**\n\n```bash\nnpm install @ekkolon/ngx-gist\n```\n\n## Usage\n\n```ts\n// app.module.ts\n\nimport {NgxGistModule} from '@ekkolon/ngx-gist'\n\nexport class AppModule {\n    ...\n    imports: [\n        ...\n        NgxGistModule\n    ]\n}\n```\n\n```html\n\u003c!-- app.component.html --\u003e\n...\n\n\u003c!-- Display all files --\u003e\n\u003cdiv class=\"my-awesome-gist-container\"\u003e\n  \u003cngx-gist [gistId]=\"GIST_ID\"\u003e\u003c/ngx-gist\u003e\n\u003c/div\u003e\n\n\u003c!-- Display a specific file --\u003e\n\u003cdiv class=\"my-awesome-gist-container\"\u003e\n  \u003cngx-gist [gistId]=\"GIST_ID\" [file]=\"my-gist-file.ts\"\u003e\u003c/ngx-gist\u003e\n\u003c/div\u003e\n\n...\n```\n\n## Authors\n\n- [@ekkolon](https://www.github.com/ekkolon)\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n## Acknowledgements\n\n- [iFrame Resizer](https://github.com/davidjbradshaw/iframe-resizer/)\n  This library is used to adjust the iframe's height automatically.\n\n[npm-image]: https://img.shields.io/npm/v/@ekkolon/ngx-gist.svg\n[npm-url]: https://npmjs.org/package/@ekkolon/ngx-gist\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekkolon%2Fngx-gist","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fekkolon%2Fngx-gist","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fekkolon%2Fngx-gist/lists"}