supermemory/apps/web/app/lib/utils/metadata.ts
2025-01-20 17:50:45 -07:00

5 lines
275 B
TypeScript

export async function fetchWebsiteMetadata(url: string) {
// Implement logic to fetch metadata from the given URL
// This could involve making an API call to a service that provides metadata for websites
// Return an object with title, description, and image properties
}