{"id":20294259,"url":"https://github.com/teambit/custom-preview-example","last_synced_at":"2026-06-08T10:32:56.505Z","repository":{"id":80427385,"uuid":"388121639","full_name":"teambit/custom-preview-example","owner":"teambit","description":"a workspace showcasing a custom preview aspect","archived":false,"fork":false,"pushed_at":"2023-10-30T14:14:01.000Z","size":930,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-04T05:29:38.461Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teambit.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-07-21T13:13:35.000Z","updated_at":"2024-05-17T16:52:13.000Z","dependencies_parsed_at":"2023-10-30T15:27:49.167Z","dependency_job_id":null,"html_url":"https://github.com/teambit/custom-preview-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teambit/custom-preview-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fcustom-preview-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fcustom-preview-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fcustom-preview-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fcustom-preview-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teambit","download_url":"https://codeload.github.com/teambit/custom-preview-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teambit%2Fcustom-preview-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34059156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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-11-14T15:28:37.613Z","updated_at":"2026-06-08T10:32:56.488Z","avatar_url":"https://github.com/teambit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Images preview\n\nThis project showcases an `aspect` (bit extension) that presents all the images in a component.\n\n![screenshot](./docs/screenshot.png)\n\n# What's included\n\nIt does 3 things:\n\n1. Add a tab in the component page with an iframe to the preview. (`component-images.ui.runtime.tsx`)\n1. Render the _images preview_ inside the iframe (`component-images.preview.runtime.ts`)\n1. Bundles the images as their own _preview target_. (`component-images.main.runtime.ts`).\n   this also bundles the preview template (`component-images-app.tsx`)\n\n# setup\n\n- `bit install`\n- `bit compile`\n- make sure there are no errors using `bit status`\n- `bit start` (add `--dev` when editing the custom extension)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteambit%2Fcustom-preview-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteambit%2Fcustom-preview-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteambit%2Fcustom-preview-example/lists"}