File size: 6,624 Bytes
689359a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 | import type { Metadata } from "next";
import { getSiteUrl } from "@/lib/site";
import { creatorGuides } from "@/lib/creator-guides";
export { HOSTED_APP_URL, getSiteUrl } from "@/lib/site";
export interface BlogPost {
/** Set for editorial content not yet translated; do not localize only its title. */
language?: "en";
slug: string;
image?: { src: string; alt: string; width: number; height: number };
title: string;
description: string;
eyebrow: string;
category: string;
publishedAt: string;
updatedAt: string;
readingTime: string;
author: string;
keywords: string[];
summary: string;
}
export const blogPosts: BlogPost[] = [
{
language: "en",
slug: "tiktok-publishing-is-live",
title: "TikTok publishing is now live in SupoClip",
description: "Publish clips straight to TikTok, select TikTok and YouTube together on the web, and schedule ahead on Creator. Here’s how to get started.",
eyebrow: "Product update",
category: "Product updates",
publishedAt: "2026-10-30",
updatedAt: "2026-10-30",
readingTime: "3 min read",
author: "SupoClip",
keywords: ["SupoClip TikTok publishing", "publish clips to TikTok", "TikTok and YouTube publishing", "schedule TikTok posts"],
summary: "Your finished clips can now go straight to TikTok. Connect your account, pick a clip, and publish from SupoClip—without downloading and uploading it again.",
},
...creatorGuides.map((guide) => guide.post),
{
slug: "supoclip-vs-supo-live",
image: { src: "/blog/supoclip-open-source-clipping.webp", alt: "Editorial illustration of a podcast recording becoming three vertical video clips", width: 1672, height: 941 },
title: "SupoClip vs supo.live: Why Open Source Wins",
description:
"Compare SupoClip and supo.live for AI video clipping. See why SupoClip wins for open-source control, self-hosting, and customizable video workflows.",
eyebrow: "Supo.live Alternative",
category: "Comparison",
publishedAt: "2026-09-21",
updatedAt: "2026-10-05",
readingTime: "5 min read",
author: "SupoClip",
keywords: ["SupoClip vs supo.live", "supo.live alternative", "open-source video clipper", "self-hosted AI video clipping", "AI clip maker"],
summary:
"For creators and teams who want control over their clipping workflow, SupoClip is the better open-source alternative to supo.live.",
},
{
slug: "supoclip-vs-opusclip",
title: "SupoClip vs OpusClip: A Sourced Comparison",
description:
"SupoClip vs OpusClip compared on deployment, pricing model, watermarks, model choice, and workflow, with a source linked for every claim.",
eyebrow: "OpusClip Comparison",
category: "Comparison",
publishedAt: "2026-10-05",
updatedAt: "2026-10-05",
readingTime: "7 min read",
author: "SupoClip",
keywords: [
"SupoClip vs OpusClip",
"OpusClip alternative",
"OpusClip vs open source",
"self-hosted OpusClip alternative",
"OpusClip watermark",
],
summary:
"A side-by-side of what each product documents, where the two differ, and which one fits your workflow.",
},
{
slug: "self-host-supoclip-docker",
title: "How to Self-Host SupoClip with Docker Compose",
description:
"Self-host SupoClip, the open-source AI video clipper: requirements, .env setup, a fully local Whisper + Ollama option, first-run checks, and a production checklist.",
eyebrow: "Self-Hosting Guide",
category: "Guide",
publishedAt: "2026-10-05",
updatedAt: "2026-10-05",
readingTime: "9 min read",
author: "SupoClip",
keywords: [
"self-host SupoClip",
"self-hosted AI video clipper",
"open-source video clipper Docker",
"self-hosted OpusClip alternative",
"Whisper Ollama video clipping",
],
summary:
"A practical walkthrough of the repository's Docker Compose stack: what each service does, which keys you need, how to run without cloud AI, and what to harden before production.",
},
{
slug: "best-free-opusclip-alternative",
title: "Free OpusClip Alternative: Self-Hosting Costs and Tradeoffs",
description: "Looking for a free OpusClip alternative? Understand what self-hosting SupoClip costs, what you maintain, and when a paid hosted workflow is a better fit.",
eyebrow: "OpusClip Alternative",
category: "Comparison",
publishedAt: "2026-05-07",
updatedAt: "2026-10-26",
readingTime: "6 min read",
author: "SupoClip",
keywords: [
"free OpusClip alternative",
"OpusClip alternative",
"AI clip maker",
"free AI video clipper",
"open-source OpusClip alternative",
"YouTube shorts clipper",
],
summary: "The SupoClip source is free. This guide explains the hardware, provider costs, and maintenance behind a self-hosted clipping workflow so you can decide whether it fits.",
},
];
export function getBlogPost(slug: string) {
return blogPosts.find((post) => post.slug === slug);
}
/** Overlay translated title, description, and listing copy. Keywords stay English. */
export function applyBlogCopy(post: BlogPost, translate: (key: string) => string): BlogPost {
if (post.language) return post;
const slug = post.slug;
return {
...post,
title: translate(`${slug}.title`),
description: translate(`${slug}.description`),
eyebrow: translate(`${slug}.eyebrow`),
category: translate(`${slug}.category`),
readingTime: translate(`${slug}.readingTime`),
summary: translate(`${slug}.summary`),
image: post.image ? { ...post.image, alt: translate(`${slug}.imageAlt`) } : undefined,
};
}
export function getBlogPostMetadata(post: BlogPost): Metadata {
const siteUrl = getSiteUrl();
const url = `${siteUrl}/blog/${post.slug}`;
return {
title: { absolute: `${post.title} | SupoClip` },
description: post.description,
keywords: post.keywords,
alternates: {
canonical: url,
},
openGraph: {
title: post.title,
description: post.description,
type: "article",
url,
siteName: "SupoClip",
publishedTime: post.publishedAt,
modifiedTime: post.updatedAt,
authors: [post.author],
tags: post.keywords,
images: post.image ? [{ url: post.image.src, width: post.image.width, height: post.image.height, alt: post.image.alt }] : undefined,
},
twitter: {
card: "summary_large_image",
images: post.image ? [{ url: post.image.src, alt: post.image.alt }] : undefined,
title: post.title,
description: post.description,
},
};
}
|