{"id":47908478,"url":"https://github.com/bugsterapp/shirt-shop-example","last_synced_at":"2026-04-04T05:01:24.585Z","repository":{"id":337712877,"uuid":"1091323154","full_name":"Bugsterapp/shirt-shop-example","owner":"Bugsterapp","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-06T21:33:14.000Z","size":3453,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-11T00:44:41.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://shirt-shop-example-green.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bugsterapp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-06T21:33:04.000Z","updated_at":"2025-11-06T21:34:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Bugsterapp/shirt-shop-example","commit_stats":null,"previous_names":["bugsterapp/shirt-shop-example"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Bugsterapp/shirt-shop-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bugsterapp%2Fshirt-shop-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bugsterapp%2Fshirt-shop-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bugsterapp%2Fshirt-shop-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bugsterapp%2Fshirt-shop-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bugsterapp","download_url":"https://codeload.github.com/Bugsterapp/shirt-shop-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bugsterapp%2Fshirt-shop-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31388169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: 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":[],"created_at":"2026-04-04T05:01:23.879Z","updated_at":"2026-04-04T05:01:24.569Z","avatar_url":"https://github.com/Bugsterapp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shirt Shop Flags SDK Example\n\nThis example uses the [Flags SDK](https://flags-sdk.dev) along with the [Flags Explorer](https://vercel.com/docs/workflow-collaboration/feature-flags/using-vercel-toolbar) and `@vercel/analytics`.\n\n## Demo\n\n[https://shirt-shop.labs.vercel.dev/](https://shirt-shop.labs.vercel.dev/)\n\n## How it works\n\nThis demo uses two feature flags defined in code control the visibility of two banners on the page.\nBoth flags are configured to show/hide each banner 50% of the time.\n\nOnce you visit the page, you can see a variation of both/one/none of the banners.\nSince this example is using a stable id to identify users, you will see the same variation all the time.\n\nTo test different variations, you can use the Dev Tools at the bottom to reset the stable id and reload the page.\nThis allows you to test different variations of the banners.\n\nThis templates also tracks analytics events in Vercel Analytics.\n\nIf you deployed your own instance of this example you can also use the [Flags Explorer](https://vercel.com/docs/workflow-collaboration/feature-flags/using-vercel-toolbar) to test different variations by creating overrides.\n\n## Deploy this template\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fvercel%2Fflags%2Ftree%2Fmain%2Fexamples%2Fshirt-shop\u0026env=FLAGS_SECRET\u0026envDescription=The+FLAGS_SECRET+will+be+used+by+the+Flags+Explorer+to+securely+overwrite+feature+flags.+Must+be+32+random+bytes%2C+base64-encoded.+Use+the+generated+value+or+set+your+own.\u0026envLink=https%3A%2F%2Fvercel.com%2Fdocs%2Fworkflow-collaboration%2Ffeature-flags%2Fsupporting-feature-flags%23flags_secret-environment-variable\u0026project-name=shirt-shop-flags-sdk-example\u0026repository-name=shirt-shop-flags-sdk-example)\n\n### Step 1: Link the project\n\nIn order to use the Flags Explorer, you need to link the project on your local machine.\n\n```bash\nvercel link\n```\n\nSelect the project from the list you just deployed.\n\n### Step 2: Pull all environment variables\n\nThis allows the Flags SDK and the Flags Explorer to work correctly, by getting additional metadata.\n\n```bash\nvercel env pull\n```\n\n### Step 3: Install dependencies\n\n```bash\nnpm install\n```\n\n### Step 4: Run the project\n\n```bash\nnpm run dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsterapp%2Fshirt-shop-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbugsterapp%2Fshirt-shop-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbugsterapp%2Fshirt-shop-example/lists"}