Skip to content

Open-source status page, incident response and uptime monitoring

feat: alternative pages (#1229)

Maximilian Kaske88ef06849763
diff --git a/apps/web/public/assets/alternatives/betterstack.png b/apps/web/public/assets/alternatives/betterstack.png
new file mode 100644
index 000000000..063b5b1dc
Binary files /dev/null and b/apps/web/public/assets/alternatives/betterstack.png differ
diff --git a/apps/web/public/assets/alternatives/checkly.png b/apps/web/public/assets/alternatives/checkly.png
new file mode 100644
index 000000000..d2506e75a
Binary files /dev/null and b/apps/web/public/assets/alternatives/checkly.png differ
diff --git a/apps/web/public/assets/alternatives/uptime-kuma.png b/apps/web/public/assets/alternatives/uptime-kuma.png
new file mode 100644
index 000000000..c89ae254f
Binary files /dev/null and b/apps/web/public/assets/alternatives/uptime-kuma.png differ
diff --git a/apps/web/public/assets/alternatives/uptime-robot.png b/apps/web/public/assets/alternatives/uptime-robot.png
new file mode 100644
index 000000000..c404c0cc0
Binary files /dev/null and b/apps/web/public/assets/alternatives/uptime-robot.png differ
diff --git a/apps/web/src/app/(content)/blog/[slug]/page.tsx b/apps/web/src/app/(content)/blog/[slug]/page.tsx
index 67308b146..cc291025e 100644
--- a/apps/web/src/app/(content)/blog/[slug]/page.tsx
+++ b/apps/web/src/app/(content)/blog/[slug]/page.tsx
@@ -9,7 +9,15 @@ import {
} from "@/app/shared-metadata";
import { Article } from "@/components/content/article";
import { Shell } from "@/components/dashboard/shell";
-import { BackButton } from "@/components/layout/back-button";
+import {
+ Breadcrumb,
+ BreadcrumbItem,
+ BreadcrumbLink,
+ BreadcrumbList,
+ BreadcrumbPage,
+ BreadcrumbSeparator,
+} from "@openstatus/ui";
+import Link from "next/link";
// export const dynamic = "force-static";
@@ -71,7 +79,19 @@ export default async function PostPage(props: {
return (
<>
- <BackButton href="/blog" />
+ <Breadcrumb className="mb-4 px-3 md:px-6">
+ <BreadcrumbList>
+ <BreadcrumbItem>
+ <BreadcrumbLink asChild>
+ <Link href="/blog">Blog</Link>
+ </BreadcrumbLink>
+ </BreadcrumbItem>
+ <BreadcrumbSeparator />
+ <BreadcrumbItem>
+ <BreadcrumbPage>{post.title}</BreadcrumbPage>
+ </BreadcrumbItem>
+ </BreadcrumbList>
+ </Breadcrumb>
<Shell className="sm:py-8 md:py-12">
<Article post={post} />
</Shell>
diff --git a/apps/web/src/app/(content)/changelog/[slug]/page.tsx b/apps/web/src/app/(content)/changelog/[slug]/page.tsx
index c34b90397..f412a2fbe 100644
--- a/apps/web/src/app/(content)/changelog/[slug]/page.tsx
+++ b/apps/web/src/app/(content)/changelog/[slug]/page.tsx
@@ -2,7 +2,15 @@ import { allChangelogs } from "content-collections";
import type { Metadata } from "next";
import { notFound } from "next/navigation";
-import { Separator } from "@openstatus/ui";
+import {
+ Breadcrumb,
+ BreadcrumbItem,
+ BreadcrumbLink,
+ BreadcrumbList,
+ BreadcrumbPage,
+ BreadcrumbSeparator,
+ Separator,
+} from "@openstatus/ui";
import {
defaultMetadata,
@@ -11,7 +19,7 @@ import {
} from "@/app/shared-metadata";
import { ChangelogCard } from "@/components/content/changelog";
import { Shell } from "@/components/dashboard/shell";
-import { BackButton } from "@/components/layout/back-button";
+import Link from "next/link";
import { Pagination } from "../../_components/pagination";
// export const dynamic = "force-static";
@@ -93,7 +101,19 @@ export default async function ChangelogPage(props: {
return (
<>
- <BackButton href="/changelog" />
+ <Breadcrumb className="mb-4 px-3 md:px-6">
+ <BreadcrumbList>
+ <BreadcrumbItem>
+ <BreadcrumbLink asChild>
+ <Link href="/changelog">Changelog</Link>
+ </BreadcrumbLink>
+ </BreadcrumbItem>
+ <BreadcrumbSeparator />
+ <BreadcrumbItem>
+ <BreadcrumbPage>{post.title}</BreadcrumbPage>
+ </BreadcrumbItem>
+ </BreadcrumbList>
+ </Breadcrumb>
<Shell className="flex flex-col gap-8 sm:py-8 md:gap-12 md:py-12">
<ChangelogCard post={post} />
<Separator className="mx-auto max-w-prose" />
diff --git a/apps/web/src/app/(content)/compare/[slug]/page.tsx b/apps/web/src/app/(content)/compare/[slug]/page.tsx
new file mode 100644
index 000000000..377e1c3c2
--- /dev/null
+++ b/apps/web/src/app/(content)/compare/[slug]/page.tsx
@@ -0,0 +1,159 @@
+import {
+ defaultMetadata,
+ ogMetadata,
+ twitterMetadata,
+} from "@/app/shared-metadata";
+import { Shell } from "@/components/dashboard/shell";
+import { FAQs } from "@/components/marketing/faqs";
+import { PricingSlider } from "@/components/marketing/pricing/pricing-slider";
+import { alternativesConfig as config } from "@/config/alternatives";
+import {
+ Breadcrumb,
+ BreadcrumbItem,
+ BreadcrumbLink,
+ BreadcrumbList,
+ BreadcrumbPage,
+ BreadcrumbSeparator,
+} from "@openstatus/ui/src/components/breadcrumb";
+import { Button } from "@openstatus/ui/src/components/button";
+import type { Metadata } from "next";
+import Image from "next/image";
+import Link from "next/link";
+import { notFound } from "next/navigation";
+import { ComparisonTable } from "../_components/comparison-table";
+
+export async function generateStaticParams() {
+ return Object.keys(config).map((slug) => ({ slug }));
+}
+export async function generateMetadata(props: {
+ params: Promise<{ slug: string }>;
+}): Promise<Metadata | undefined> {
+ const { slug } = await props.params;
+ const alternative = config[slug as keyof typeof config];
+
+ if (!alternative) return;
+
+ const { name } = alternative;
+ const title = `${name} vs. OpenStatus`;
+ const description = `Looking for a ${name} alternative? OpenStatus is an open-source alternative to ${name}. Try it out for free.`;
+
+ const encodedTitle = encodeURIComponent(title);
+ // TODO: check if there is a better wording
+ const encodedDescription = encodeURIComponent(
+ "Compare both and pick what fits best to you.",
+ );
+
+ return {
+ ...defaultMetadata,
+ title,
+ description,
+ openGraph: {
+ ...ogMetadata,
+ title,
+ description,
+ url: `https://www.openstatus.dev/compare/${slug}`,
+ images: [
+ {
+ url: `https://openstatus.dev/api/og?title=${encodedTitle}&description=${encodedDescription}`,
+ },
+ ],
+ },
+ twitter: {
+ ...twitterMetadata,
+ title,
+ description,
+ images: [
+ {
+ url: `https://openstatus.dev/api/og?title=${encodedTitle}&description=${encodedDescription}`,
+ },
+ ],
+ },
+ };
+}
+// add to sitemap
+
+export default async function Page({
+ params,
+}: {
+ params: Promise<{ slug: string }>;
+}) {
+ const { slug } = await params;
+
+ const alternative = config[slug as keyof typeof config];
+
+ if (!alternative) {
+ notFound();
+ }
+
+ return (
+ <div className="flex w-full flex-col gap-4">
+ {/* TODO: use the breadcrump component for the changelog and blog and play pages */}
+ <Breadcrumb className="px-3 md:px-6">
+ <BreadcrumbList>
+ <BreadcrumbItem>
+ <BreadcrumbLink asChild>
+ <Link href="/compare">Compare</Link>
+ </BreadcrumbLink>
+ </BreadcrumbItem>
+ <BreadcrumbSeparator />
+ <BreadcrumbItem>
+ <BreadcrumbPage>{alternative.name}</BreadcrumbPage>
+ </BreadcrumbItem>
+ </BreadcrumbList>
+ </Breadcrumb>
+ <div className="grid gap-12">
+ <Shell className="space-y-12">
+ <div className="flex flex-col items-center gap-4">
+ <Image
+ src={alternative.logo}
+ alt={alternative.name}
+ width={60}
+ height={60}
+ className="overflow-hidden rounded-full border border-border bg-muted"
+ />
+ <h1 className="text-center font-cal text-4xl">
+ {alternative.name} Alternative
+ </h1>
+ <div className="mx-auto max-w-lg text-center text-lg text-muted-foreground">
+ <p>{alternative.description}</p>
+ </div>
+ </div>
+ <ComparisonTable slug={slug} />
+ </Shell>
+ <Shell className="flex flex-col gap-6 bg-muted md:flex-row md:items-center md:justify-between">
+ <div>
+ <p className="font-semibold text-2xl">
+ Don't talk to Sales. Talk to Founders.
+ </p>
+ <p className="text-muted-foreground text-sm">
+ We are here to help you with any questions or concerns you may
+ have.
+ </p>
+ </div>
+ <div className="flex gap-2">
+ <Button className="rounded-full" variant="outline" asChild>
+ <Link href="/app/login" className="text-nowrap">
+ Start for free
+ </Link>
+ </Button>
+ <Button className="rounded-full" asChild>
+ <a
+ target="_blank"
+ rel="noreferrer"
+ href="https://cal.com/team/openstatus/30min"
+ className="text-nowrap"
+ >
+ Talk to us
+ </a>
+ </Button>
+ </div>
+ </Shell>
+ {/* FIXME: responsive design */}
+ <Shell className="w-full max-w-4xl">
+ <PricingSlider />
+ </Shell>
+ <FAQs />
+ </div>
+ </div>
+ );
+}
diff --git a/apps/web/src/app/(content)/compare/_components/comparison-table.tsx b/apps/web/src/app/(content)/compare/_components/comparison-table.tsx
new file mode 100644
index 000000000..0ba32b86b
--- /dev/null
+++ b/apps/web/src/app/(content)/compare/_components/comparison-table.tsx
@@ -0,0 +1,105 @@
+"use client";
+
+import { alternativesConfig as config } from "@/config/alternatives";
+import {
+ Table,
+ TableBody,
+ TableCaption,
+ TableCell,
+ TableHead,
+ TableHeader,
+ TableRow,
+} from "@openstatus/ui/src/components/table";
+import { ArrowUpRight, CircleCheck, CircleHelp, Minus } from "lucide-react";
+import type React from "react";
+
+export function ComparisonTable({ slug }: { slug: string }) {
+ const alternative = config[slug as keyof typeof config];
+ return (
+ <Table className="relative">
+ <TableCaption>
+ Plan comparison between OpenStatus and {alternative.name}.
+ </TableCaption>
+ <TableHeader>
+ <TableRow className="bg-muted/50">
+ <TableHead className="px-3 py-3 align-bottom">Feature</TableHead>
+ <TableHead className="h-auto px-3 py-3 text-center align-middle text-foreground">
+ OpenStatus
+ </TableHead>
+ <TableHead className="h-auto px-3 py-3 text-center align-middle text-foreground">
+ {alternative.name}
+ </TableHead>
+ </TableRow>
+ </TableHeader>
+ <TableBody>
+ {alternative.features.map(
+ ({ label, description, openstatus, alternative, url }, _i) => {
+ return (
+ <TableRow key={label} className="group/row">
+ <TableCell className="p-3">
+ <div className="flex flex-col gap-0.5">
+ <span className="font-medium">{label}</span>
+ {url ? (
+ <a
+ href={url}
+ target="_blank"
+ rel="noreferrer"
+ className="group hidden items-center gap-1 font-normal text-muted-foreground text-sm sm:flex"
+ >
+ {description}
+ {/* FIXME: arrow is not `text-foreground` when hovered */}
+ <ArrowUpRight className="h-4 w-4 flex-shrink-0 text-transparent group-hover/row:text-muted-foreground group-hover:text-foreground" />
+ </a>
+ ) : (
+ <span className="hidden font-normal text-muted-foreground text-sm sm:block">
+ {description}
+ </span>
+ )}
+ </div>
+ </TableCell>
+ <TableCell className="text-center">
+ <Cell value={openstatus} />
+ </TableCell>
+ <TableCell className="text-center">
+ <Cell value={alternative} />
+ </TableCell>
+ </TableRow>
+ );
+ },
+ )}
+ </TableBody>
+ </Table>
+ );
+}
+
+function Cell({
+ value,
+}: {
+ value: boolean | string | number | React.ReactNode;
+}) {
+ if (typeof value === "boolean") {
+ return value ? (
+ <CircleCheck className="mx-auto size-5 text-green-500" />
+ ) : (
+ <Minus className="mx-auto size-5 text-muted-foreground" />
+ );
+ }
+
+ if (
+ typeof value === "number" ||
+ (typeof value === "string" && value === "Unlimited")
+ ) {
+ return <span className="font-medium font-mono">{value}</span>;
+ }
+
+ if (typeof value === "string") {
+ return <span className="font-medium">{value}</span>;
+ }
+
+ if (typeof value === "undefined") {
+ // TODO check for rounded question
+ return <CircleHelp className="mx-auto size-5 text-muted-foreground" />;
+ }
+
+ return value;
+}
diff --git a/apps/web/src/app/(content)/compare/page.tsx b/apps/web/src/app/(content)/compare/page.tsx
new file mode 100644
index 000000000..c1917f08e
--- /dev/null
+++ b/apps/web/src/app/(content)/compare/page.tsx
@@ -0,0 +1,71 @@
+import {
+ defaultMetadata,
+ ogMetadata,
+ twitterMetadata,
+} from "@/app/shared-metadata";
+import { alternativesConfig as config } from "@/config/alternatives";
+import {
+ Card,
+ CardDescription,
+ CardHeader,
+ CardTitle,
+} from "@openstatus/ui/src/components/card";
+import { ChevronRight } from "lucide-react";
+import type { Metadata } from "next";
+import Link from "next/link";
+
+export const metadata: Metadata = {
+ ...defaultMetadata,
+ title: "Compare Alternatives",
+ description:
+ "Discover how OpenStatus compares to other services and start monitoring your website or api for free.",
+ openGraph: {
+ ...ogMetadata,
+ title: "Compare Alternatives",
+ description:
+ "Discover how OpenStatus compares to other services and start monitoring your website or api for free.",
+ },
+ twitter: {
+ ...twitterMetadata,
+ title: "Compare Alternatives",
+ description:
+ "Discover how OpenStatus compares to other services and start monitoring your website or api for free.",
+ },
+};
+
+export default function Page() {
+ return (
+ <>
+ <div className="mb-5 space-y-3">
+ <h1 className="font-cal text-4xl text-foreground">
+ Compare OpenStatus
+ </h1>
+ <p className="max-w-lg text-lg text-muted-foreground">
+ Discover how OpenStatus compares to other Uptime and Synthetic
+ Monitoring solutions.
+ </p>
+ </div>
+ <div className="grid w-full grid-cols-1 gap-4 md:grid-cols-2">
+ {Object.entries(config).map(([slug, alternative]) => (
+ <Link
+ key={slug}
+ href={`/compare/${slug}`}
+ className="group flex w-full flex-1"
+ >
+ <Card className="flex w-full flex-col">
+ <CardHeader className="flex-1">
+ <CardTitle>{alternative.name} Alternative</CardTitle>
+ <div className="flex flex-1 justify-between gap-3">
+ <CardDescription className="mr-3 truncate">
+ {alternative.description}
+ </CardDescription>
+ <ChevronRight className="h-5 w-5 shrink-0 self-end text-muted-foreground group-hover:text-foreground" />
+ </div>
+ </CardHeader>
+ </Card>
+ </Link>
+ ))}
+ </div>
+ </>
+ );
+}
diff --git a/apps/web/src/app/play/checker/layout.tsx b/apps/web/src/app/play/checker/layout.tsx
new file mode 100644
index 000000000..2b7537600
--- /dev/null
+++ b/apps/web/src/app/play/checker/layout.tsx
@@ -0,0 +1,31 @@
+import {
+ Breadcrumb,
+ BreadcrumbItem,
+ BreadcrumbLink,
+ BreadcrumbList,
+ BreadcrumbPage,
+ BreadcrumbSeparator,
+} from "@openstatus/ui";
+import Link from "next/link";
+import type React from "react";
+
+export default function Layout({ children }: { children: React.ReactNode }) {
+ return (
+ <>
+ <Breadcrumb className="px-3 md:px-6 mb-4">
+ <BreadcrumbList>
+ <BreadcrumbItem>
+ <BreadcrumbLink asChild>
+ <Link href="/play">Play</Link>
+ </BreadcrumbLink>
+ </BreadcrumbItem>
+ <BreadcrumbSeparator />
+ <BreadcrumbItem>
+ <BreadcrumbPage>Checker</BreadcrumbPage>
+ </BreadcrumbItem>
+ </BreadcrumbList>
+ </Breadcrumb>
+ {children}
+ </>
+ );
+}
diff --git a/apps/web/src/app/play/curl/layout.tsx b/apps/web/src/app/play/curl/layout.tsx
new file mode 100644
index 000000000..97e251d58
--- /dev/null
+++ b/apps/web/src/app/play/curl/layout.tsx
@@ -0,0 +1,31 @@
+import {
+ Breadcrumb,
+ BreadcrumbItem,
+ BreadcrumbLink,
+ BreadcrumbList,
+ BreadcrumbPage,
+ BreadcrumbSeparator,
+} from "@openstatus/ui";
+import Link from "next/link";
+import type React from "react";
+
+export default function Layout({ children }: { children: React.ReactNode }) {
+ return (
+ <>
+ <Breadcrumb className="px-3 md:px-6 mb-4">
+ <BreadcrumbList>
+ <BreadcrumbItem>
+ <BreadcrumbLink asChild>
+ <Link href="/play">Play</Link>
+ </BreadcrumbLink>
+ </BreadcrumbItem>
+ <BreadcrumbSeparator />
+ <BreadcrumbItem>
+ <BreadcrumbPage>cURL</BreadcrumbPage>
+ </BreadcrumbItem>
+ </BreadcrumbList>
+ </Breadcrumb>
+ {children}
+ </>
+ );
+}
diff --git a/apps/web/src/app/play/status/layout.tsx b/apps/web/src/app/play/status/layout.tsx
new file mode 100644
index 000000000..81b66850c
--- /dev/null
+++ b/apps/web/src/app/play/status/layout.tsx
@@ -0,0 +1,31 @@
+import {
+ Breadcrumb,
+ BreadcrumbItem,
+ BreadcrumbLink,
+ BreadcrumbList,
+ BreadcrumbPage,
+ BreadcrumbSeparator,
+} from "@openstatus/ui";
+import Link from "next/link";
+import type React from "react";
+
+export default function Layout({ children }: { children: React.ReactNode }) {
+ return (
+ <>
+ <Breadcrumb className="px-3 md:px-6 mb-4">
+ <BreadcrumbList>
+ <BreadcrumbItem>
+ <BreadcrumbLink asChild>
+ <Link href="/play">Play</Link>
+ </BreadcrumbLink>
+ </BreadcrumbItem>
+ <BreadcrumbSeparator />
+ <BreadcrumbItem>
+ <BreadcrumbPage>Status Page</BreadcrumbPage>
+ </BreadcrumbItem>
+ </BreadcrumbList>
+ </Breadcrumb>
+ {children}
+ </>
+ );
+}
diff --git a/apps/web/src/app/sitemap.ts b/apps/web/src/app/sitemap.ts
index b53672191..12aea84a8 100644
--- a/apps/web/src/app/sitemap.ts
+++ b/apps/web/src/app/sitemap.ts
@@ -1,3 +1,4 @@
+import { alternativesConfig } from "@/config/alternatives";
import { allChangelogs, allPosts } from "content-collections";
import type { MetadataRoute } from "next";
@@ -14,6 +15,11 @@ export default function sitemap(): MetadataRoute.Sitemap {
lastModified: post.publishedAt, // date format should be YYYY-MM
}));
+ const comparisons = Object.keys(alternativesConfig).map((slug) => ({
+ url: `https://www.openstatus.dev/compare/${slug}`,
+ lastModified: new Date(),
+ }));
+
const routes = [
"/",
"/about",
@@ -32,5 +38,5 @@ export default function sitemap(): MetadataRoute.Sitemap {
lastModified: new Date(),
}));
- return [...routes, ...blogs, ...changelogs];
+ return [...routes, ...blogs, ...changelogs, ...comparisons];
}
diff --git a/apps/web/src/components/icons.tsx b/apps/web/src/components/icons.tsx
index 45473e92e..3a2c44e15 100644
--- a/apps/web/src/components/icons.tsx
+++ b/apps/web/src/components/icons.tsx
@@ -1,6 +1,7 @@
import {
Activity,
AlertTriangle,
+ ArrowLeftRight,
Bell,
Book,
BookOpenCheck,
@@ -92,6 +93,7 @@ export const Icons = {
twitter: TwitterIcon,
terminal: Terminal,
globe: Globe,
+ compare: ArrowLeftRight,
plug: Plug,
copy: Copy,
check: Check,
diff --git a/apps/web/src/components/layout/marketing-footer.tsx b/apps/web/src/components/layout/marketing-footer.tsx
index 51f27babb..09eceb606 100644
--- a/apps/web/src/components/layout/marketing-footer.tsx
+++ b/apps/web/src/components/layout/marketing-footer.tsx
@@ -2,6 +2,7 @@ import { ArrowUpRight } from "lucide-react";
import Link from "next/link";
import { ThemeToggle } from "@/components/theme/theme-toggle";
+import { alternativesConfig } from "@/config/alternatives";
import { socialsConfig } from "@/config/socials";
import { cn } from "@/lib/utils";
import { Shell } from "../dashboard/shell";
@@ -17,8 +18,8 @@ export function MarketingFooter({ className }: Props) {
return (
<footer className={cn("w-full", className)}>
<Shell className="grid gap-6">
- <div className="grid grid-cols-2 gap-6 md:grid-cols-5">
- <div className="col-span-2 flex flex-col gap-3">
+ <div className="grid grid-cols-1 gap-6 sm:grid-cols-3 md:grid-cols-11">
+ <div className="col-span-2 flex flex-col gap-3 md:col-span-3">
<div>
<BrandName />
<p className="mt-2 max-w-md font-light text-muted-foreground text-sm">
@@ -32,7 +33,7 @@ export function MarketingFooter({ className }: Props) {
</div>
<StatusWidgetContainer slug="status" />
</div>
- <div className="order-2 flex flex-col gap-3 text-sm">
+ <div className="col-span-2 flex flex-col gap-3 text-sm sm:col-span-1 md:col-span-2">
<p className="font-semibold text-foreground">Resources</p>
<FooterLink href="/blog" label="Blog" />
<FooterLink href="/pricing" label="Pricing" />
@@ -40,15 +41,29 @@ export function MarketingFooter({ className }: Props) {
<FooterLink href="/oss-friends" label="OSS Friends" />
<FooterLink href="/status" label="External Providers Monitoring" />
</div>
- <div className="order-3 flex flex-col gap-3 text-sm">
+ <div className="col-span-2 flex flex-col gap-3 text-sm sm:col-span-1 md:col-span-2">
+ <p className="font-semibold text-foreground">Compare</p>
+ {Object.keys(alternativesConfig).map((slug) => (
+ <FooterLink
+ key={slug}
+ href={`/compare/${slug}`}
+ label={
+ alternativesConfig[slug as keyof typeof alternativesConfig]
+ .name
+ }
+ />
+ ))}
+ </div>
+ <div className="col-span-2 flex flex-col gap-3 text-sm sm:col-span-1 md:col-span-2">
<p className="font-semibold text-foreground">Company</p>
<FooterLink href="/about" label="About" />
<FooterLink href="/changelog" label="Changelog" />
<FooterLink href="/legal/terms" label="Terms" />
<FooterLink href="/legal/privacy" label="Privacy" />
</div>
- <div className="order-3 flex flex-col gap-3 text-sm">
+ <div className="col-span-2 flex flex-col gap-3 text-sm sm:col-span-1 md:col-span-2">
<p className="font-semibold text-foreground">Tools</p>
+ <FooterLink href="/play" label="Playground" />
<FooterLink href="/play/checker" label="Speed Checker" />
<FooterLink href="/play/curl" label="cURL Builder" />
<FooterLink href="https://openstat.us" label="All Status Codes" />
diff --git a/apps/web/src/config/alternatives.ts b/apps/web/src/config/alternatives.ts
new file mode 100644
index 000000000..b0cf2b4fb
--- /dev/null
+++ b/apps/web/src/config/alternatives.ts
@@ -0,0 +1,210 @@
+type Config = Record<
+ string,
+ {
+ name: string;
+ logo: string;
+ description: string;
+ features: Feature[];
+ uptime?: Feature[];
+ monitoring?: Feature[];
+ }
+>;
+
+type Feature = {
+ label: string;
+ description: string;
+ openstatus: string | boolean | number | undefined;
+ alternative: string | boolean | number | undefined;
+ url?: string;
+};
+
+export const alternativesConfig = {
+ betterstack: {
+ name: "BetterStack",
+ logo: "/assets/alternatives/betterstack.png",
+ description:
+ "Open-source uptime monitoring. Learn how OpenStatus compares to BetterStack.",
+ features: [
+ opensource(),
+ bootstrap(),
+ global(),
+ incident(),
+ otelexport(),
+ githubaction(),
+ cli(),
+ privatepage("additional $42/month"),
+ pagesubscribers("additional $40/month per 1000 subscribers"),
+ ],
+ },
+ "uptime-robot": {
+ name: "UptimeRobot",
+ description:
+ "Monitor your endpoints globally. Learn how OpenStatus compares to UptimeRobot.",
+ logo: "/assets/alternatives/uptime-robot.png",
+ features: [
+ opensource(),
+ bootstrap(),
+ global(),
+ otelexport(),
+ githubaction(),
+ teammembers("additional 19$/seat"),
+ ],
+ },
+ "uptime-kuma": {
+ name: "Uptime Kuma",
+ description:
+ "Monitor your endpoints globally. Learn how OpenStatus compares to Uptime Kuma.",
+ logo: "/assets/alternatives/uptime-kuma.png",
+ features: [
+ opensource(),
+ global(),
+ selfhost(),
+ managed(),
+ otelexport(),
+ githubaction(),
+ ],
+ },
+ checkly: {
+ name: "Checkly",
+ description:
+ "Open-source multi-region monitoring. Learn how OpenStatus compares to Checkly.",
+ logo: "/assets/alternatives/checkly.png",
+ features: [
+ multiregion(19),
+ statuspage(undefined),
+ opensource(),
+ bootstrap(),
+ ],
+ },
+} satisfies Config;
+
+/** HELPER FUNCTIONS */
+
+function opensource(alternative = false): Feature {
+ return {
+ label: "Open Source",
+ description: "Self-hosted or cloud-based.",
+ openstatus: true,
+ alternative,
+ url: "https://github.com/openstatusHQ/openstatus",
+ };
+}
+
+function bootstrap(alternative = false): Feature {
+ return {
+ label: "Bootstrap",
+ description: "Talk directly to the founder.",
+ openstatus: true,
+ alternative,
+ url: "https://cal.com/team/openstatus/30min",
+ };
+}
+
+function global(alternative = false): Feature {
+ return {
+ label: "Global (35 regions)",
+ description: "Monitor your endpoints globally.",
+ openstatus: true,
+ alternative,
+ };
+}
+
+function multiregion(alternative = 1): Feature {
+ return {
+ label: "Multi-region",
+ description: "Monitor your endpoints globally",
+ openstatus: 35,
+ alternative,
+ };
+}
+
+function incident(alternative = true): Feature {
+ return {
+ label: "Incident Escalation",
+ description: "Escalate incidents within your team.",
+ openstatus: false,
+ alternative,
+ };
+}
+
+function otelexport(alternative = false): Feature {
+ return {
+ label: "OTel Export",
+ description: "Export synthetic checks to OTel",
+ openstatus: true,
+ alternative,
+ };
+}
+
+function githubaction(alternative = false): Feature {
+ return {
+ label: "GitHub Action",
+ description: "Trigger your monitor via CI/CD",
+ openstatus: true,
+ alternative,
+ url: "https://github.com/marketplace/actions/openstatus-synthetics-ci",
+ };
+}
+
+function cli(alternative = false): Feature {
+ return {
+ label: "CLI to trigger checks",
+ description: "Never leave your terminal.",
+ openstatus: true,
+ alternative,
+ };
+}
+
+function statuspage(alternative: boolean | undefined): Feature {
+ return {
+ label: "Status Page",
+ description: "Share your uptime with your customers.",
+ openstatus: true,
+ alternative,
+ };
+}
+
+function privatepage(alternative: string): Feature {
+ return {
+ label: "Private status page",
+ description: "Share your status page with your team.",
+ openstatus: "included in team plan",
+ alternative,
+ };
+}
+
+function pagesubscribers(alternative: string): Feature {
+ return {
+ label: "Status page subscribers",
+ description: "Keep your customers in the loop.",
+ openstatus: "Unlimited",
+ alternative,
+ };
+}
+
+function teammembers(alternative: string): Feature {
+ return {
+ label: "Team members",
+ description: "Invite your team to the dashboard.",
+ openstatus: "Unlimited",
+ alternative,
+ };
+}
+
+function selfhost(alternative = "easy"): Feature {
+ return {
+ label: "Self hostable",
+ description: "Make it yours and deploy it.",
+ openstatus: "hard",
+ alternative,
+ };
+}
+
+function managed(alternative = false): Feature {
+ return {
+ label: "Managed",
+ description: "Don't worry about managing your instance.",
+ openstatus: true,
+ alternative,
+ };
+}
diff --git a/apps/web/src/config/pages.ts b/apps/web/src/config/pages.ts
index 9f52ffc55..95b7493f6 100644
--- a/apps/web/src/config/pages.ts
+++ b/apps/web/src/config/pages.ts
@@ -246,11 +246,11 @@ export const marketingResourcePagesConfig = [
icon: "gauge",
},
{
- href: "/play",
- title: "Playground",
- description: "All the latest tools build by OpenStatus.",
- segment: "play",
- icon: "toy-brick",
+ href: "/compare",
+ title: "Alternatives",
+ description: "Compare OpenStatus with other services.",
+ segment: "alternative",
+ icon: "compare",
},
] as const satisfies Page[];
diff --git a/packages/ui/src/components/breadcrumb.tsx b/packages/ui/src/components/breadcrumb.tsx
new file mode 100644
index 000000000..a9b2d6ab0
--- /dev/null
+++ b/packages/ui/src/components/breadcrumb.tsx
@@ -0,0 +1,115 @@
+import * as React from "react";
+import { Slot } from "@radix-ui/react-slot";
+import { ChevronRight, MoreHorizontal } from "lucide-react";
+
+import { cn } from "../lib/utils";
+
+const Breadcrumb = React.forwardRef<
+ HTMLElement,
+ React.ComponentPropsWithoutRef<"nav"> & {
+ separator?: React.ReactNode;
+ }
+>(({ ...props }, ref) => <nav ref={ref} aria-label="breadcrumb" {...props} />);
+Breadcrumb.displayName = "Breadcrumb";
+
+const BreadcrumbList = React.forwardRef<
+ HTMLOListElement,
+ React.ComponentPropsWithoutRef<"ol">
+>(({ className, ...props }, ref) => (
+ <ol
+ ref={ref}
+ className={cn(
+ "flex flex-wrap items-center gap-1.5 break-words text-sm text-muted-foreground sm:gap-2.5",
+ className
+ )}
+ {...props}
+ />
+));
+BreadcrumbList.displayName = "BreadcrumbList";
+
+const BreadcrumbItem = React.forwardRef<
+ HTMLLIElement,
+ React.ComponentPropsWithoutRef<"li">
+>(({ className, ...props }, ref) => (
+ <li
+ ref={ref}
+ className={cn("inline-flex items-center gap-1.5", className)}
+ {...props}
+ />
+));
+BreadcrumbItem.displayName = "BreadcrumbItem";
+
+const BreadcrumbLink = React.forwardRef<
+ HTMLAnchorElement,
+ React.ComponentPropsWithoutRef<"a"> & {
+ asChild?: boolean;
+ }
+>(({ asChild, className, ...props }, ref) => {
+ const Comp = asChild ? Slot : "a";
+
+ return (
+ <Comp
+ ref={ref}
+ className={cn("transition-colors hover:text-foreground", className)}
+ {...props}
+ />
+ );
+});
+BreadcrumbLink.displayName = "BreadcrumbLink";
+
+const BreadcrumbPage = React.forwardRef<
+ HTMLSpanElement,
+ React.ComponentPropsWithoutRef<"span">
+>(({ className, ...props }, ref) => (
+ <span
+ ref={ref}
+ role="link"
+ aria-disabled="true"
+ aria-current="page"
+ className={cn("font-normal text-foreground", className)}
+ {...props}
+ />
+));
+BreadcrumbPage.displayName = "BreadcrumbPage";
+
+const BreadcrumbSeparator = ({
+ children,
+ className,
+ ...props
+}: React.ComponentProps<"li">) => (
+ <li
+ role="presentation"
+ aria-hidden="true"
+ className={cn("[&>svg]:w-3.5 [&>svg]:h-3.5", className)}
+ {...props}
+ >
+ {children ?? <ChevronRight />}
+ </li>
+);
+BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
+
+const BreadcrumbEllipsis = ({
+ className,
+ ...props
+}: React.ComponentProps<"span">) => (
+ <span
+ role="presentation"
+ aria-hidden="true"
+ className={cn("flex h-9 w-9 items-center justify-center", className)}
+ {...props}
+ >
+ <MoreHorizontal className="h-4 w-4" />
+ <span className="sr-only">More</span>
+ </span>
+);
+BreadcrumbEllipsis.displayName = "BreadcrumbElipssis";
+
+export {
+ Breadcrumb,
+ BreadcrumbList,
+ BreadcrumbItem,
+ BreadcrumbLink,
+ BreadcrumbPage,
+ BreadcrumbSeparator,
+ BreadcrumbEllipsis,
+};
diff --git a/packages/ui/src/index.tsx b/packages/ui/src/index.tsx
index 220118169..7c177e6a9 100644
--- a/packages/ui/src/index.tsx
+++ b/packages/ui/src/index.tsx
@@ -41,3 +41,4 @@ export * from "./components/sortable";
export * from "./components/navigation-menu";
export * from "./components/slider";
export * from "./components/chart";
+export * from "./components/breadcrumb";