Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
export const createOrganizationSchema = () => ({
"@context": "https://schema.org",
"@type": "Organization",
"@id": "https://cap.so/#organization",
name: "Cap",
url: "https://cap.so",
logo: {
"@type": "ImageObject",
url: "https://cap.so/cap-logo.png",
width: 512,
height: 512,
},
description:
"Cap is the open source alternative to Loom. Lightweight, powerful, and cross-platform screen recorder.",
sameAs: [
"https://github.com/capsoftware/cap",
"https://twitter.com/cap",
"https://x.com/cap",
"https://www.producthunt.com/products/cap-3",
],
contactPoint: {
"@type": "ContactPoint",
email: "[email protected]",
contactType: "customer service",
},
});
export const createWebSiteSchema = () => ({
"@context": "https://schema.org",
"@type": "WebSite",
"@id": "https://cap.so/#website",
url: "https://cap.so",
name: "Cap",
description:
"Beautiful screen recordings, owned by you. The open source alternative to Loom.",
publisher: {
"@id": "https://cap.so/#organization",
},
});
import { PRICING } from "@/data/pricing";
import type { Testimonial } from "@/data/testimonials";
import { testimonials as allTestimonials } from "@/data/testimonials";
export const createSoftwareApplicationSchema = (
testimonials?: readonly Testimonial[],
) => {
const testimonialsToUse = testimonials || allTestimonials;
const rogerTestimonial = allTestimonials.find(
(t) => t.handle === "@_rogermattos",
);
const selectedTestimonials = rogerTestimonial
? [
rogerTestimonial,
...testimonialsToUse
.filter((t) => t.handle !== "@_rogermattos")
.slice(0, 4),
]
: testimonialsToUse.slice(0, 5);
const reviews = selectedTestimonials.map((testimonial) => ({
"@type": "Review",
reviewRating: {
"@type": "Rating",
ratingValue: "5",
},
author: {
"@type": "Person",
name: testimonial.name,
...(testimonial.handle && { alternateName: testimonial.handle }),
},
reviewBody: testimonial.content,
url: testimonial.url,
}));
return {
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"@id": "https://cap.so/#software",
name: "Cap",
applicationCategory: "MultimediaApplication",
operatingSystem: ["macOS", "Windows"],
description:
"Cap is a powerful, open-source screen recording software that offers instant sharing, studio mode, and privacy-focused features.",
url: "https://cap.so",
downloadUrl: "https://cap.so/download",
screenshot: [
{
"@type": "ImageObject",
url: "https://cap.so/og.png",
caption: "Cap screen recorder interface",
},
],
featureList: [
"Screen recording up to 4K resolution",
"60fps recording",
"Instant sharing with links",
"Studio mode for professional editing",
"Built-in thread commenting",
"Custom domain support",
"Bring your own storage (Google Drive & S3)",
"Cross-platform (Mac & Windows)",
"Open source",
"Privacy-focused",
],
offers: [
{
"@type": "Offer",
price: "0",
priceCurrency: "USD",
name: "Free Plan",
description: "Studio mode for personal use, 5-minute shareable links",
},
{
"@type": "Offer",
price: `${PRICING.pro.annualPerMonth}`,
priceCurrency: "USD",
name: "Pro Plan",
priceValidUntil: "2026-12-31",
description: "Full features for professional use",
eligibleQuantity: {
"@type": "QuantitativeValue",
unitText: "month",
},
},
],
aggregateRating: {
"@type": "AggregateRating",
ratingValue: "4.8",
reviewCount: allTestimonials.length.toString(),
bestRating: "5",
worstRating: "1",
},
review: reviews,
creator: {
"@id": "https://cap.so/#organization",
},
};
};
export const createBreadcrumbSchema = (
items: Array<{ name: string; url?: string }>,
) => ({
"@context": "https://schema.org",
"@type": "BreadcrumbList",
itemListElement: items.map((item, index) => ({
"@type": "ListItem",
position: index + 1,
name: item.name,
...(item.url && { item: item.url }),
})),
});
export const createVideoObjectSchema = (video: {
name: string;
description: string;
thumbnailUrl: string;
uploadDate?: string;
duration?: string;
embedUrl?: string;
}) => ({
"@context": "https://schema.org",
"@type": "VideoObject",
name: video.name,
description: video.description,
thumbnailUrl: video.thumbnailUrl,
uploadDate: video.uploadDate || new Date().toISOString(),
duration: video.duration || "PT2M",
embedUrl: video.embedUrl,
publisher: {
"@id": "https://cap.so/#organization",
},
});
export const createFAQSchema = (
faqs: Array<{ question: string; answer: string }>,
) => ({
"@context": "https://schema.org",
"@type": "FAQPage",
mainEntity: faqs.map((faq) => ({
"@type": "Question",
name: faq.question,
acceptedAnswer: {
"@type": "Answer",
text: faq.answer.replace(/<\/?[^>]+(>|$)/g, ""),
},
})),
});
export const createProductSchema = () => ({
"@context": "https://schema.org",
"@type": "Product",
name: "Cap Screen Recorder",
description:
"Open-source screen recording software with instant sharing and studio mode capabilities",
brand: {
"@type": "Brand",
name: "Cap",
},
offers: {
"@type": "AggregateOffer",
priceCurrency: "USD",
lowPrice: "0",
highPrice: `${PRICING.pro.annualPerMonth}`,
offerCount: "2",
},
aggregateRating: {
"@type": "AggregateRating",
ratingValue: "4.8",
reviewCount: "250",
},
});
export const createComparisonTableSchema = () => ({
"@context": "https://schema.org",
"@type": "Table",
about: "Feature comparison between Cap and Loom screen recorders",
mainEntity: {
"@type": "ItemList",
itemListElement: [
{
"@type": "ListItem",
position: 1,
name: "Open Source",
item: {
"@type": "PropertyValue",
name: "Cap",
value: "Yes",
},
},
{
"@type": "ListItem",
position: 2,
name: "Pricing",
item: {
"@type": "PropertyValue",
name: "Cap",
value: `$${PRICING.pro.annualPerMonth}/month per user`,
},
},
{
"@type": "ListItem",
position: 3,
name: "4K Recording",
item: {
"@type": "PropertyValue",
name: "Cap",
value: "Available in free & paid plans",
},
},
],
},
});
export const createHowToSchema = (params: {
name: string;
description: string;
totalTime?: string;
steps: Array<{ name: string; text: string }>;
}) => ({
"@context": "https://schema.org",
"@type": "HowTo",
name: params.name,
description: params.description,
totalTime: params.totalTime || "PT2M",
step: params.steps.map((step, index) => ({
"@type": "HowToStep",
position: index + 1,
name: step.name,
text: step.text,
})),
});
export const createLocalBusinessSchema = () => ({
"@context": "https://schema.org",
"@type": "LocalBusiness",
name: "Cap",
image: "https://cap.so/og.png",
"@id": "https://cap.so",
url: "https://cap.so",
priceRange: `$0-$${PRICING.pro.annualPerMonth}`,
address: {
"@type": "PostalAddress",
addressCountry: "US",
},
});