demo.mp4
OGee is a Chromium extension that shows how the current page’s Open Graph link card will look when it is shared. Open the popup on any page to see the real thumbnail, title, description, and domain each platform would display, side by side, in both light and dark themes.
- Previews eight platforms: Twitter (X), Facebook, LinkedIn, Slack, Discord, Google, WhatsApp, and Telegram.
- Reproduces each platform’s real image crop, title truncation, domain formatting, and fallbacks.
- Renders every card in both light and dark themes.
- Show or hide platforms and drag to reorder them.
- Downloads the OG image or copies its URL in one click.
- Runs entirely locally, with no network calls, no data collected, and a minimal permission set.
OGee reads only the page you explicitly open it on, and everything runs locally in your browser:
- No data collected. Nothing is sent anywhere; there is no backend.
- No
host_permissions, no persistent content script. Extraction is injected on demand viaactiveTabonly when you open the popup. - Permissions used:
activeTabandscripting(read the current page on demand),storage(remember your theme preference),downloads(save the image).
Full policy: PRIVACY.md.
Previews use the page you have open — OGee reads that tab’s meta tags locally. Most platforms instead fetch the URL with their own servers when you share. Cards approximate each platform’s layout; if a site serves different HTML to crawlers, or caches old tags, the live share card can differ.
- Chrome Web Store: Install OGee
Prerequisites: Node.js 18+ and pnpm.
- Clone and install dependencies:
git clone https://github.com/heyshigeru/ogee.git cd ogee pnpm install - Build the extension:
pnpm build - Open
chrome://extensionsin your browser. - Turn on Developer mode (toggle, top-right).
- Click Load unpacked and select the
.output/chrome-mv3folder. - Open OGee from the toolbar, or press
Alt+Shift+O.
pnpm install # installs deps; postinstall runs `wxt prepare`
pnpm dev # dev build with HMR (loads into a temp browser profile)
pnpm build # production build → .output/chrome-mv3/
pnpm test # vitest unit + component suite
pnpm check # svelte-check typecheck
pnpm lint # Oxlint
pnpm format # Oxfmt- WXT — Manifest V3 extension framework
- Svelte 5 — popup UI and platform cards
- Vitest — unit and component tests
- Oxc — Oxlint + Oxfmt for lint and format
- TypeScript throughout
Each platform lives in its own self-registered module under
src/platforms/<id>/, so platforms are independent and easy to add. The
metadata extractor (src/core/extract.ts) is a self-contained function
serialized and injected into the page on demand.
