[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-3675":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":16,"starSnapshotCount":16,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},3675,"dub","dubinc\u002Fdub","dubinc","The modern link attribution platform. Loved by world-class marketing teams like Framer, Perplexity, Superhuman, Twilio, Buffer and more.","https:\u002F\u002Fdub.co",null,"TypeScript",23671,3038,81,34,0,5,29,146,24,45,"Other",false,"main",[26,27,28,29,30,31,32,33,34,35,36],"clickhouse","mysql","nextjs","open-source","planetscale","prisma","tailwindcss","tinybird","typescript","upstash","vercel","2026-06-12 02:00:52","\u003Ca href=\"https:\u002F\u002Fdub.co\">\n  \u003Cimg alt=\"Dub is the modern, open-source link attribution platform for short links, conversion tracking, and affiliate programs.\" src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F42cf0705-f5a2-4200-bc4a-c5acf0ba9e15\">\n\u003C\u002Fa>\n\n\u003Ch3 align=\"center\">Dub\u003C\u002Fh3>\n\n\u003Cp align=\"center\">\n    The open-source link attribution platform.\n    \u003Cbr \u002F>\n    \u003Ca href=\"https:\u002F\u002Fdub.co\">\u003Cstrong>Learn more »\u003C\u002Fstrong>\u003C\u002Fa>\n    \u003Cbr \u002F>\n    \u003Cbr \u002F>\n    \u003Ca href=\"#introduction\">\u003Cstrong>Introduction\u003C\u002Fstrong>\u003C\u002Fa> ·\n    \u003Ca href=\"#tech-stack\">\u003Cstrong>Tech Stack\u003C\u002Fstrong>\u003C\u002Fa> ·\n    \u003Ca href=\"#self-hosting\">\u003Cstrong>Self-hosting\u003C\u002Fstrong>\u003C\u002Fa> ·\n    \u003Ca href=\"#contributing\">\u003Cstrong>Contributing\u003C\u002Fstrong>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Ftwitter.com\u002Fdubdotco\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Fdubdotco?style=flat&label=%40dubdotco&logo=twitter&color=0bf&logoColor=fff\" alt=\"Twitter\" \u002F>\n  \u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fnews.ycombinator.com\u002Fitem?id=32939407\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHacker%20News-255-%23FF6600\" alt=\"Hacker News\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fdubinc\u002Fdub\u002Fblob\u002Fmain\u002FLICENSE.md\">\n    \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fdubinc\u002Fdub?label=license&logo=github&color=f80&logoColor=fff\" alt=\"License\" \u002F>\n  \u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cbr\u002F>\n\n## Introduction\n\nDub is the modern, open-source link attribution platform for [short links](https:\u002F\u002Fdub.co\u002Fhome), [conversion tracking](https:\u002F\u002Fdub.co\u002Fanalytics), and [affiliate programs](https:\u002F\u002Fdub.co\u002Fpartners).\n\nOur platform powers 100M+ clicks and 2M+ links monthly, and is used by world-class marketing teams from companies like Twilio, Buffer, Framer, Perplexity, Vercel, Laravel, and [more](https:\u002F\u002Fdub.co\u002Fcustomers).\n\n## Tech Stack\n\n- [Next.js](https:\u002F\u002Fnextjs.org\u002F) – framework\n- [TypeScript](https:\u002F\u002Fwww.typescriptlang.org\u002F) – language\n- [Tailwind](https:\u002F\u002Ftailwindcss.com\u002F) – CSS\n- [Prisma](https:\u002F\u002Fwww.prisma.io\u002F) – ORM\n- [Upstash](https:\u002F\u002Fupstash.com\u002F) – redis\n- [Tinybird](https:\u002F\u002Ftinybird.com\u002F) – analytics\n- [PlanetScale](https:\u002F\u002Fplanetscale.com\u002F) – database\n- [NextAuth.js](https:\u002F\u002Fnext-auth.js.org\u002F) – auth\n- [BoxyHQ](https:\u002F\u002Fboxyhq.com\u002Fenterprise-sso) – SSO\u002FSAML\n- [Turborepo](https:\u002F\u002Fturbo.build\u002Frepo) – monorepo\n- [Stripe](https:\u002F\u002Fstripe.com\u002F) – payments\n- [Resend](https:\u002F\u002Fresend.com\u002F) – emails\n- [Vercel](https:\u002F\u002Fvercel.com\u002F) – deployments\n\n## Self-Hosting\n\nYou can self-host Dub for greater control over your data and design. [Read this guide](https:\u002F\u002Fdub.co\u002Fdocs\u002Fself-hosting\u002Fguide) to learn more.\n\n## Contributing\n\nWe love our contributors! Here's how you can contribute:\n\n- [Open an issue](https:\u002F\u002Fgithub.com\u002Fdubinc\u002Fdub\u002Fissues) if you believe you've encountered a bug.\n- Follow the [local development guide](https:\u002F\u002Fdub.co\u002Fdocs\u002Flocal-development) to get your local dev environment set up.\n- Make a [pull request](https:\u002F\u002Fgithub.com\u002Fdubinc\u002Fdub\u002Fpull) to add new features\u002Fmake quality-of-life improvements\u002Ffix bugs.\n\n### Recommended Versions\n\n| Package | Version  |\n| ------- | -------- |\n| node    | v23.11.0 |\n| pnpm    | 9.15.9   |\n\n### Common Local Development Issues\n\n- `The table \u003Ctable-name> does not exist in the current database.` - Run `pnpm prisma:push` push the state of the Prisma schema file to the database without using migrations files.\n- The project is not building correctly locally - verify your versions of `node` and `pnpm` match the recommended versions above. Delete all `node_modules`, `.next`, and `.turbo` directories in the `apps` and `packages` directory. You may now reinstall `node_modules` by running `pnpm install` and attempt to rebuild the project with `pnpm build`.\n\n### Dev Seed Script\n\nThis script seeds the database with development data for testing and development purposes.\n\n**Basic seeding (adds data without deleting existing data):**\n\n```bash\ncd apps\u002Fweb\npnpm run script dev\u002Fseed\n```\n\n**Truncate database before seeding (deletes all existing data first):**\n\n```bash\ncd apps\u002Fweb\npnpm run script dev\u002Fseed --truncate\n```\n\nWhen using `--truncate`, the script will ask for confirmation before deleting any data.\n\n## Repo Activity\n\n![Dub repo activity – generated by Axiom](https:\u002F\u002Frepobeats.axiom.co\u002Fapi\u002Fembed\u002F6ac4c94a89ea20e2e10032b932a128b6d8442e66.svg \"Repobeats analytics image\")\n\n## License\n\nDub Technologies, Inc. is a commercial open-source company, which means some parts of this open-source repository require a commercial license. The concept is called \"Open Core\" where the core technology (99%) is fully open source, licensed under [AGPLv3](https:\u002F\u002Fopensource.org\u002Flicense\u002Fagpl-v3) and the last 1% is covered under a commercial license ([\"\u002Fee\" Enterprise Edition](\u003Chttps:\u002F\u002Fgithub.com\u002Fdubinc\u002Fdub\u002Ftree\u002Fee\u002Fapps\u002Fweb\u002Fapp\u002F(ee)>)) which we believe is entirely relevant for larger organisations that require enterprise features. Enterprise features are built by the core engineering team of Dub Technologies, Inc., which is hired full-time.\n","Dub 是一个现代化的开源链接归因平台，用于短链接生成、转化跟踪和联盟计划。它采用Next.js框架构建，并使用TypeScript作为主要开发语言，结合了Tailwind CSS、Prisma ORM等技术栈，支持PlanetScale数据库和Upstash Redis服务。此外，Dub还集成了Tinybird进行分析、Stripe处理支付以及Vercel进行部署。该平台每月处理超过1亿次点击和200万个链接，被Twilio、Buffer等世界顶级营销团队所采用。Dub适用于需要高级链接管理和数据分析的企业级应用场景，同时也支持自托管以满足对数据控制有更高要求的用户需求。",2,"2026-06-11 02:55:29","top_language"]