{"id":22820261,"url":"https://github.com/cstrnt/test","last_synced_at":"2025-03-30T23:16:47.123Z","repository":{"id":266520076,"uuid":"627570236","full_name":"cstrnt/test","owner":"cstrnt","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-14T18:04:14.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T20:57:44.429Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cstrnt.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}},"created_at":"2023-04-13T18:36:18.000Z","updated_at":"2023-04-13T18:37:16.000Z","dependencies_parsed_at":"2024-12-04T17:50:28.047Z","dependency_job_id":"3b1f9563-4fb1-4a17-b249-0e9026d91c42","html_url":"https://github.com/cstrnt/test","commit_stats":null,"previous_names":["cstrnt/test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cstrnt%2Ftest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cstrnt%2Ftest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cstrnt%2Ftest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cstrnt%2Ftest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cstrnt","download_url":"https://codeload.github.com/cstrnt/test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246390858,"owners_count":20769478,"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":[],"created_at":"2024-12-12T15:17:40.160Z","updated_at":"2025-03-30T23:16:47.104Z","avatar_url":"https://github.com/cstrnt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\nname: A/B Testing using A/BBY\nslug: abby-ab-testing\ndescription: By A/B testing at the edge, you'll reduce CLS from client-loaded experiments and improve your site's performance with smaller JS bundles.\nframework: Next.js\nuseCase:\n  - Edge Middleware\n  - Documentation\ncss: Tailwind\ndeployUrl: https://vercel.com/new/clone?repository-url=https://github.com/vercel/examples/tree/main/edge-middleware/ab-testing-simple\u0026project-name=ab-testing-simple\u0026repository-name=ab-testing-simple\ndemoUrl: https://edge-functions-ab-testing-simple.vercel.app\nrelatedTemplates:\n  - ab-testing-google-optimize\n  - ab-testing-statsig\n---\n\n# A/B Testing Simple\n\nBy A/B testing at the edge, you'll reduce layout shift from client-loaded experiments and improve your site's performance with smaller JavaScript bundles.\n\n## Demo\n\nhttps://edge-functions-ab-testing-simple.vercel.app\n\nSince the different variants are generated statically at the edge, it mitigates any potential layout shift that could happen when a variant is inserted into the DOM client side, hence improving your site's performance.\n\nTake a look at [`middleware.ts`](middleware.ts) to see how it works.\n\n## How to Use\n\nYou can choose from one of the following two methods to use this repository:\n\n### One-Click Deploy\n\nDeploy the example using [Vercel](https://vercel.com?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=vercel-examples):\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/examples/tree/main/edge-middleware/ab-testing-simple\u0026project-name=ab-testing-simple\u0026repository-name=ab-testing-simple)\n\n### Clone and Deploy\n\nExecute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [pnpm](https://pnpm.io/installation) to bootstrap the example:\n\n```bash\npnpm create next-app --example https://github.com/vercel/examples/tree/main/edge-middleware/ab-testing-simple ab-testing-simple\n```\n\nNext, run Next.js in development mode:\n\n```bash\npnpm dev\n```\n\nDeploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github\u0026utm_medium=readme\u0026utm_campaign=edge-middleware-eap) ([Documentation](https://nextjs.org/docs/deployment)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcstrnt%2Ftest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcstrnt%2Ftest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcstrnt%2Ftest/lists"}