• Townie
    AI
  • Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
hrbrmstr

hrbrmstr

og

Public
Like
og
Home
Code
4
backend
1
frontend
3
shared
1
README.md
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
index.ts
https://hrbrmstr--5811a8967bda11f0b9920224a6c84d84.web.val.run
README.md

OpenGraph Preview App

A web application that fetches and displays OpenGraph metadata from URLs, showing how they would appear when shared on social media platforms like X (Twitter), Facebook, Bluesky, and Mastodon.

Features

  • Fetch OpenGraph metadata from any URL
  • Display preview cards similar to social media platforms
  • Handle cases where no OpenGraph tags are present
  • Responsive design with social media platform styling
  • Error handling for invalid URLs or network issues

Project Structure

├── backend/
│   └── index.ts          # Main API server with URL fetching
├── frontend/
│   ├── index.html        # Main HTML template
│   ├── index.tsx         # React frontend
│   └── components/
│       ├── App.tsx       # Main app component
│       └── PreviewCard.tsx # OpenGraph preview card
└── shared/
    └── types.ts          # Shared TypeScript types

Usage

  1. Enter a URL in the input field
  2. Click "Preview" to fetch OpenGraph metadata
  3. View the preview cards showing how the URL would appear on different platforms
  4. If no OpenGraph tags are found, a message will indicate this

API Endpoints

  • GET / - Serves the frontend application
  • POST /api/preview - Fetches OpenGraph metadata for a given URL
HTTP
  • index.ts
    hrbrmstr--58…84.web.val.run
Code
backendfrontendsharedREADME.md
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.