Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed app/fonts/GeistMonoVF.woff
Binary file not shown.
Binary file removed app/fonts/GeistVF.woff
Binary file not shown.
24 changes: 12 additions & 12 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
import type { Metadata } from "next";
import localFont from "next/font/local";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ThemeProvider } from "@/components/theme-provider";
import { Toaster } from "@/components/ui/toaster";
import { cn } from "@/lib/utils";
import { defaultMetadata } from "@/lib/metadata";

const geistSans = localFont({
src: "./fonts/GeistVF.woff",
const geistSans = Geist({
variable: "--font-geist-sans",
weight: "100 900",
weight: "variable",
subsets: ["latin"],
});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",

const geistMono = Geist_Mono({
variable: "--font-geist-mono",
weight: "100 900",
weight: "variable",
subsets: ["latin"],
});

export const metadata: Metadata = {
title: "Generate llms.txt",
description: "Generate llms.txt for any website",
};
export const metadata: Metadata = defaultMetadata;

export default function RootLayout({
children,
Expand All @@ -28,7 +28,7 @@ export default function RootLayout({
return (
<html lang="en">
<body
className={`${geistSans.variable} ${geistMono.variable} font-sans antialiased bg-background text-secondary-foreground`}
className={cn(geistSans.variable, geistMono.variable, "font-sans antialiased bg-background text-secondary-foreground")}
>
<ThemeProvider
attribute="class"
Expand Down
12 changes: 12 additions & 0 deletions app/sitemap.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import type { MetadataRoute } from 'next'

export default function sitemap(): MetadataRoute.Sitemap {
return [
{
url: 'https://llmstxt.firecrawl.dev',
lastModified: new Date(),
changeFrequency: 'weekly',
priority: 1,
},
]
}
72 changes: 72 additions & 0 deletions lib/metadata.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
import type { Metadata } from "next";

const url = "https://llmstxt.firecrawl.dev";
const title = `Free LLMs.txt Generator by Firecrawl`;
const description = `Generate consolidated text files from websites for LLM training and inference. Powered by Firecrawl.`;

export const defaultMetadata: Metadata = {
title,
description,
keywords: [
"llms.txt",
"llms.txt generator",
"firecrawl",
"llms"
],
publisher: "Firecrawl",
metadataBase: new URL(url),
openGraph: {
siteName: "LLMs.txt Generator",
url,
title,
description,
type: "website",
locale: "en",
images: [
{
url: "/og-image.jpg",
width: 1200,
height: 630,
alt: "LLMs.txt generator by Firecrawl",
},
],
},
alternates: {
canonical: url,
},
twitter: {
card: "summary_large_image",
title,
description,
site: "@firecrawl_dev",
creator: "@firecrawl_dev",
},
robots: {
index: true,
follow: true,
"max-image-preview": "large",
"max-snippet": -1,
"max-video-preview": -1,
googleBot: "index, follow",
},
applicationName: "LLMs.txt Generator",
appleWebApp: {
title: "LLMs.txt Generator",
statusBarStyle: "default",
capable: true,
},
referrer: "no-referrer-when-downgrade",
other: {
HandheldFriendly: "True",
MobileOptimized: "360",
google: "notranslate",
},
icons: {
shortcut: [
{
url: "/favicon.ico",
type: "image/x-icon",
},
],
},
};
Loading