The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Dub.co → Dub
Steven Tey77e0aa4ab90c
diff --git a/README.md b/README.mdindex e5d22216e3..d3a9e43571 100644--- a/README.md+++ b/README.md@@ -1,8 +1,8 @@<a href="https://dub.co">- <img alt="Dub.co is the open-source link management infrastructure for modern marketing teams." src="https://github.com/dubinc/dub/assets/28986134/3815d859-afaa-48f9-a9b3-c09964e4d404">+ <img alt="Dub is the modern, open-source link attribution platform for short links, conversion tracking, and affiliate programs." src="https://github.com/dubinc/dub/assets/28986134/3815d859-afaa-48f9-a9b3-c09964e4d404"></a>-<h3 align="center">Dub.co</h3>+<h3 align="center">Dub</h3><p align="center">The open-source link attribution platform.@@ -31,7 +31,7 @@## Introduction-Dub.co is the open-source link attribution platform for modern marketing teams.+Dub is the open-source link attribution platform for modern marketing teams.## Features@@ -59,7 +59,7 @@ Dub.co is the open-source link attribution platform for modern marketing teams.## Self-Hosting-You can self-host Dub.co for greater control over your data and design. [Read this guide](https://dub.co/docs/self-hosting/guide) to learn more.+You can self-host Dub for greater control over your data and design. [Read this guide](https://dub.co/docs/self-hosting/guide) to learn more.## Contributing@@ -75,7 +75,7 @@ We love our contributors! Here's how you can contribute:## Repo Activity-+## Licensediff --git a/apps/web/.env.example b/apps/web/.env.exampleindex 251cfa2b8c..70dde12438 100644--- a/apps/web/.env.example+++ b/apps/web/.env.example@@ -2,7 +2,7 @@###### REQUIRED ENV VARS #####################################-NEXT_PUBLIC_APP_NAME=Dub.co+NEXT_PUBLIC_APP_NAME=DubNEXT_PUBLIC_APP_DOMAIN=dub.coNEXT_PUBLIC_APP_SHORT_DOMAIN=dub.sh@@ -112,7 +112,7 @@ ANTHROPIC_API_KEY=###### DUB.CO INTERNAL USE ONLY ############################################-# For the official Dub.co app+# For the official Dub appNEXT_PUBLIC_IS_DUB=# For cron jobsdiff --git a/apps/web/app/[domain]/not-found/page.tsx b/apps/web/app/[domain]/not-found/page.tsxindex 18d17f0ea6..288536d789 100644--- a/apps/web/app/[domain]/not-found/page.tsx+++ b/apps/web/app/[domain]/not-found/page.tsx@@ -11,7 +11,7 @@ export const runtime = "edge";export const metadata = constructMetadata({title: "Link Not Found",description:- "This link does not exist on Dub.co. Please check the URL and try again.",+ "This link does not exist on Dub. Please check the URL and try again.",image: "https://assets.dub.co/misc/notfoundlink.jpg",noIndex: true,});diff --git a/apps/web/app/api/cron/year-in-review/route.ts b/apps/web/app/api/cron/year-in-review/route.tsindex 4b2981053f..4861377252 100644--- a/apps/web/app/api/cron/year-in-review/route.ts+++ b/apps/web/app/api/cron/year-in-review/route.ts@@ -68,7 +68,7 @@ export async function POST() {return {workspaceId: workspace.id,email: {- from: "Steven from Dub.co <[email protected]>",+ from: "Steven from Dub <[email protected]>",to: user.email,reply_to: "[email protected]",subject: "Dub Year in Review 🎊",diff --git a/apps/web/app/api/links/metatags/route.ts b/apps/web/app/api/links/metatags/route.tsindex 056632c611..e940209627 100644--- a/apps/web/app/api/links/metatags/route.ts+++ b/apps/web/app/api/links/metatags/route.ts@@ -34,7 +34,7 @@ export async function GET(req: NextRequest) {return NextResponse.json({...metatags,- poweredBy: "Dub.co - Link management for modern marketing teams",+ poweredBy: "Dub – The Modern Link Attribution Platform",},{headers: corsHeaders,diff --git a/apps/web/app/api/providers/route.ts b/apps/web/app/api/providers/route.tsindex f96d110aea..1714e45beb 100644--- a/apps/web/app/api/providers/route.ts+++ b/apps/web/app/api/providers/route.ts@@ -61,7 +61,7 @@ export async function GET(req: NextRequest) {provider: "short",});}- if (headers.poweredBy?.includes("Dub.co")) {+ if (headers.poweredBy?.includes("Dub")) {return NextResponse.json({provider: "dub",});diff --git a/apps/web/app/manifest.ts b/apps/web/app/manifest.tsindex 24ed19345d..81d365b1b6 100644--- a/apps/web/app/manifest.ts+++ b/apps/web/app/manifest.ts@@ -4,7 +4,7 @@ export default function manifest(): MetadataRoute.Manifest {return {name: "Dub",short_name: "Dub",- description: "Dub – the modern link attribution platform.",+ description: "Dub – The Modern Link Attribution Platform",start_url: "/",display: "standalone",background_color: "#ffffff",diff --git a/apps/web/app/password/[linkId]/page.tsx b/apps/web/app/password/[linkId]/page.tsxindex 6b32629764..3fd9dceb93 100644--- a/apps/web/app/password/[linkId]/page.tsx+++ b/apps/web/app/password/[linkId]/page.tsx@@ -43,7 +43,7 @@ export async function generateMetadata({return constructMetadata({title:isDubDomain(link.domain) || link.project?.plan === "free"- ? `${title} - Dub.co`+ ? `${title} - Dub`: title,description,image,diff --git a/apps/web/lib/auth/options.ts b/apps/web/lib/auth/options.tsindex 01037a2e31..1b159bf468 100644--- a/apps/web/lib/auth/options.ts+++ b/apps/web/lib/auth/options.ts@@ -516,7 +516,7 @@ export const authOptions: NextAuthOptions = {sendEmail({email,replyTo: "[email protected]",- subject: "Welcome to Dub.co!",+ subject: "Welcome to Dub!",react: WelcomeEmail({email,name: user.name || null,diff --git a/apps/web/lib/openapi/index.ts b/apps/web/lib/openapi/index.tsindex ac1015e2d0..56866bdb00 100644--- a/apps/web/lib/openapi/index.ts+++ b/apps/web/lib/openapi/index.ts@@ -22,12 +22,12 @@ import { workspacesPaths } from "./workspaces";export const document = createDocument({openapi: "3.0.3",info: {- title: "Dub.co API",+ title: "Dub API",description:"Dub is link management infrastructure for companies to create marketing campaigns, link sharing features, and referral programs.",version: "0.0.1",contact: {- name: "Dub.co Support",+ name: "Dub Support",email: "[email protected]",url: "https://dub.co/api",},diff --git a/apps/web/lib/zod/schemas/qr.ts b/apps/web/lib/zod/schemas/qr.tsindex 832f313ff5..02f61c36c0 100644--- a/apps/web/lib/zod/schemas/qr.ts+++ b/apps/web/lib/zod/schemas/qr.ts@@ -14,7 +14,7 @@ export const getQRCodeQuerySchema = z.object({.string().optional().describe(- "The logo to include in the QR code. Can only be used with a paid plan on Dub.co.",+ "The logo to include in the QR code. Can only be used with a paid plan on Dub.",),size: z.coerce.number()@@ -48,7 +48,7 @@ export const getQRCodeQuerySchema = z.object({.optional().default("false").describe(- "Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.co.",+ "Whether to hide the logo in the QR code. Can only be used with a paid plan on Dub.",),margin: z.coerce.number()diff --git a/apps/web/tests/links/retrieve-metatags.test.ts b/apps/web/tests/links/retrieve-metatags.test.tsindex bdf744ab6c..5b60bc8db5 100644--- a/apps/web/tests/links/retrieve-metatags.test.ts+++ b/apps/web/tests/links/retrieve-metatags.test.ts@@ -14,10 +14,10 @@ test("GET /links/metatags", async (ctx) => {expect(status).toEqual(200);expect(metatags).toStrictEqual({- title: "Dub.co - Link Management for Modern Marketing Teams",+ title: "Dub – The Modern Link Attribution Platform",description:- "Dub.co is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.",+ "Dub is the modern link attribution platform for short links, conversion tracking, and affiliate programs.",image: "https://assets.dub.co/thumbnail.jpg",- poweredBy: "Dub.co - Link management for modern marketing teams",+ poweredBy: "Dub – The Modern Link Attribution Platform",});});diff --git a/apps/web/tests/redirects/index.test.ts b/apps/web/tests/redirects/index.test.tsindex 4617a3c09b..eb530362a7 100644--- a/apps/web/tests/redirects/index.test.ts+++ b/apps/web/tests/redirects/index.test.ts@@ -3,7 +3,7 @@ import { describe, expect, test } from "vitest";import { env } from "../utils/env";import { IntegrationHarness } from "../utils/integration";-const poweredBy = "Dub.co - Link management for modern marketing teams";+const poweredBy = "Dub – The Modern Link Attribution Platform";const fetchOptions: RequestInit = {cache: "no-store",redirect: "manual",diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsxindex eda6701ccc..0f57eb476d 100644--- a/apps/web/ui/analytics/toggle.tsx+++ b/apps/web/ui/analytics/toggle.tsx@@ -988,7 +988,7 @@ export default function Toggle({rel="noreferrer"><BlurImage- alt={url || "Dub.co"}+ alt={url || "Dub"}src={url? `${GOOGLE_FAVICON_URL}${getApexDomain(url)}`diff --git a/apps/web/ui/domains/domain-configuration.tsx b/apps/web/ui/domains/domain-configuration.tsxindex 3a432defe9..d17b72ce55 100644--- a/apps/web/ui/domains/domain-configuration.tsx+++ b/apps/web/ui/domains/domain-configuration.tsx@@ -30,7 +30,7 @@ export default function DomainConfiguration({value: txtVerification.value,},]}- warning="Warning: if you are using this domain for another site, setting this TXT record will transfer domain ownership away from that site and break it. Please exercise caution when setting this record; make sure that the domain that is shown in the TXT verification value is actually the <b><i>domain you want to use on Dub.co</i></b> – <b><i>not your production site</i></b>."+ warning="Warning: if you are using this domain for another site, setting this TXT record will transfer domain ownership away from that site and break it. Please exercise caution when setting this record; make sure that the domain that is shown in the TXT verification value is actually the <b><i>domain you want to use on Dub</i></b> – <b><i>not your production site</i></b>."/></div>);diff --git a/apps/web/ui/layout/auth-layout.tsx b/apps/web/ui/layout/auth-layout.tsxindex ca43e0e5fc..08b8f5da6e 100644--- a/apps/web/ui/layout/auth-layout.tsx+++ b/apps/web/ui/layout/auth-layout.tsx@@ -56,7 +56,7 @@ export const AuthLayout = ({ children }: AuthLayoutProps) => {<div className="hidden h-full flex-col justify-center space-y-12 overflow-hidden md:col-span-2 md:flex"><div className="ml-12 h-1/2 w-[140%] rounded-xl border border-neutral-200 p-2 shadow-xl"><BlurImage- alt="Dub.co Analytics"+ alt="Dub Analytics"src="https://assets.dub.co/changelog/new-dashboard.jpg"width={2400}height={1260}diff --git a/packages/cli/README.md b/packages/cli/README.mdindex 85713d465c..6e2efab5c9 100644--- a/packages/cli/README.md+++ b/packages/cli/README.md@@ -1,6 +1,6 @@# `dub-cli`-A CLI for easily shortening URLs with the [Dub.co API](https://dub.co/api).+A CLI for easily shortening URLs with the [Dub API](https://dub.co/api).https://github.com/user-attachments/assets/2ce9fe51-68ab-4e6d-b08d-4da09c17f90ediff --git a/packages/cli/package.json b/packages/cli/package.jsonindex a5da611bea..1c5a41841d 100644--- a/packages/cli/package.json+++ b/packages/cli/package.json@@ -1,7 +1,7 @@{"name": "dub-cli","version": "0.0.13",- "description": "A CLI for easily shortening URLs with the Dub.co API.",+ "description": "A CLI for easily shortening URLs with the Dub API.","publishConfig": {"access": "public"},diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.tsindex abec459ee6..8609dd9c70 100644--- a/packages/cli/src/index.ts+++ b/packages/cli/src/index.ts@@ -16,7 +16,7 @@ async function main() {const program = new Command().name("dub")- .description("A CLI for shortening links with the Dub.co API.")+ .description("A CLI for shortening links with the Dub API.").version(packageInfo.version || "1.0.0","-v, --version",diff --git a/packages/email/src/templates/welcome-email.tsx b/packages/email/src/templates/welcome-email.tsxindex 0ff4ef1b31..b474e541c4 100644--- a/packages/email/src/templates/welcome-email.tsx+++ b/packages/email/src/templates/welcome-email.tsx@@ -42,9 +42,8 @@ export function WelcomeEmail({</Text><Text className="text-sm leading-6 text-black">My name is Steven, and I'm the founder of Dub - the modern link- management platform for you to create marketing campaigns, link- sharing features, and referral programs. We're excited to have you- on board!+ attribution platform for short links, conversion tracking, and+ affiliate programs. We're excited to have you on board!</Text><Text className="text-sm leading-6 text-black">Here are a few things you can do:diff --git a/packages/prisma/schema/link.prisma b/packages/prisma/schema/link.prismaindex 93a9c174e0..c258813d76 100644--- a/packages/prisma/schema/link.prisma+++ b/packages/prisma/schema/link.prisma@@ -11,8 +11,8 @@ model Link {trackConversion Boolean @default(false) // whether to track conversions or notproxy Boolean @default(false) // Proxy to use custom OG tags (stored on redis) – if false, will use OG tags from target url- title String? // OG title for the link (e.g. Dub.co - Open-Source Link Management Infrastructure)- description String? @db.VarChar(280) // OG description for the link (e.g. An open-source link management tool for modern marketing teams to create, share, and track short links.)+ title String? // OG title for the link (e.g. Dub - open-source link attribution platform)+ description String? @db.VarChar(280) // OG description for the link (e.g. The modern link attribution platform for short links, conversion tracking, and affiliate programs.)image String? @db.LongText // OG image for the link (e.g. https://d.to/og)video String? @db.Text // OG video for the linkdiff --git a/packages/tailwind-config/package.json b/packages/tailwind-config/package.jsonindex 2f9e16a170..2f202d3d07 100644--- a/packages/tailwind-config/package.json+++ b/packages/tailwind-config/package.json@@ -1,6 +1,6 @@{"name": "@dub/tailwind-config",- "description": "Tailwindcss config for Dub.co",+ "description": "Tailwindcss config for Dub","version": "0.0.8","main": "index.ts","types": "index.ts",diff --git a/packages/tinybird/README.md b/packages/tinybird/README.mdindex 6ad07ab706..8113c5e6a1 100644--- a/packages/tinybird/README.md+++ b/packages/tinybird/README.md@@ -1,4 +1,4 @@-# Dub.co Tinybird Setup+# Dub Tinybird Setup```bash├── datasourcesdiff --git a/packages/ui/README.md b/packages/ui/README.mdindex b5721d0597..268fa500f4 100644--- a/packages/ui/README.md+++ b/packages/ui/README.md@@ -1,6 +1,6 @@# `@dub/ui`-`@dub/ui` is a library of React components that are used across Dub.co's web applications.+`@dub/ui` is a library of React components that are used across Dub's web applications.## Installationdiff --git a/packages/ui/package.json b/packages/ui/package.jsonindex acafd2cc45..1ae80f47ea 100644--- a/packages/ui/package.json+++ b/packages/ui/package.json@@ -1,7 +1,7 @@{"name": "@dub/ui",- "description": "UI components for Dub.co",- "version": "0.2.45",+ "description": "UI components for Dub",+ "version": "0.2.46","sideEffects": false,"main": "./dist/index.js","module": "./dist/index.mjs",diff --git a/packages/utils/README.md b/packages/utils/README.mdindex 1a85ba0e3d..d062af3854 100644--- a/packages/utils/README.md+++ b/packages/utils/README.md@@ -1,6 +1,6 @@# `@dub/utils`-`@dub/utils` is a library of utility functions that are used across Dub.co's web applications.+`@dub/utils` is a library of utility functions that are used across Dub's web applications.## Installationdiff --git a/packages/utils/package.json b/packages/utils/package.jsonindex 07c6f42f24..d5c66ceabe 100644--- a/packages/utils/package.json+++ b/packages/utils/package.json@@ -1,7 +1,7 @@{"name": "@dub/utils",- "description": "Utility functions and constants for Dub.co",- "version": "0.1.27",+ "description": "Utility functions and constants for Dub",+ "version": "0.1.28","sideEffects": false,"main": "./dist/index.mjs","module": "./dist/index.mjs",diff --git a/packages/utils/src/constants/main.ts b/packages/utils/src/constants/main.tsindex 422c2cdb09..2948f35c80 100644--- a/packages/utils/src/constants/main.ts+++ b/packages/utils/src/constants/main.ts@@ -1,4 +1,4 @@-export const APP_NAME = process.env.NEXT_PUBLIC_APP_NAME || "Dub.co";+export const APP_NAME = process.env.NEXT_PUBLIC_APP_NAME || "Dub";export const SHORT_DOMAIN =process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN || "dub.sh";diff --git a/packages/utils/src/constants/middleware.ts b/packages/utils/src/constants/middleware.tsindex 14ea8f7983..d731872b58 100644--- a/packages/utils/src/constants/middleware.ts+++ b/packages/utils/src/constants/middleware.ts@@ -14,7 +14,7 @@ export const DEFAULT_REDIRECTS = {};export const DUB_HEADERS = {- "x-powered-by": "Dub.co - Link management for modern marketing teams",+ "x-powered-by": "Dub – The Modern Link Attribution Platform",};export const REDIRECTION_QUERY_PARAM = "redir_url";diff --git a/packages/utils/src/functions/construct-metadata.ts b/packages/utils/src/functions/construct-metadata.tsindex fecf617204..c48e98b296 100644--- a/packages/utils/src/functions/construct-metadata.ts+++ b/packages/utils/src/functions/construct-metadata.ts@@ -3,7 +3,7 @@ import { Metadata } from "next";export function constructMetadata({title,fullTitle,- description = "Dub.co is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.",+ description = "Dub is the modern link attribution platform for short links, conversion tracking, and affiliate programs.",image = "https://assets.dub.co/thumbnail.jpg",video,icons = [@@ -44,9 +44,7 @@ export function constructMetadata({return {title:fullTitle ||- (title- ? `${title} | Dub.co`- : "Dub.co - Link Management for Modern Marketing Teams"),+ (title ? `${title} | Dub` : "Dub – The Modern Link Attribution Platform"),description,openGraph: {title,