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.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Atakan Doğan Özban
2026-08-03 07:36:08 +02:00
co-authored by Cursor
parent e5d1bc86a6
commit c702686726
21 changed files with 594 additions and 38 deletions
+7 -2
View File
@@ -1,12 +1,17 @@
import type { MetadataRoute } from "next";
function siteUrl() {
const raw = process.env.NEXTAUTH_URL?.trim() || "http://localhost:3000";
return raw.replace(/\/$/, "");
}
export default function robots(): MetadataRoute.Robots {
return {
rules: {
userAgent: "*",
allow: "/",
disallow: ["/admin", "/api/admin"],
disallow: ["/api/", "/dashboard", "/jobs"],
},
sitemap: "https://songs2vid.com/sitemap.xml",
sitemap: `${siteUrl()}/sitemap.xml`,
};
}