Close OSS self-host gaps: in-repo API docs, legal notes, and packaging.

Add MIT license and docs/api, strip SaaS status/admin remnants from robots and footer, align env/compose/README with payment-free product truth.
This commit is contained in:
Atakan Doğan Özban
2026-08-03 07:36:08 +02:00
parent 1fcae33ca3
commit 54bbf8b574
21 changed files with 594 additions and 38 deletions
+14 -4
View File
@@ -1,17 +1,27 @@
import type { MetadataRoute } from "next";
const SITE_URL = "https://songs2vid.com";
function siteUrl() {
const raw = process.env.NEXTAUTH_URL?.trim() || "http://localhost:3000";
return raw.replace(/\/$/, "");
}
export default function sitemap(): MetadataRoute.Sitemap {
const base = siteUrl();
return [
{
url: SITE_URL,
url: base,
lastModified: new Date(),
changeFrequency: "daily",
changeFrequency: "weekly",
priority: 1.0,
},
{
url: `${SITE_URL}/privacy`,
url: `${base}/privacy`,
lastModified: new Date(),
changeFrequency: "monthly",
priority: 0.3,
},
{
url: `${base}/terms`,
lastModified: new Date(),
changeFrequency: "monthly",
priority: 0.3,