Skip to content

Priority: oembed for namespace pages — first-load meta tags #90

@koad

Description

@koad

Context

When sharing koad.kingofalldata.com or alice.kingofalldata.com in Slack/Discord/X, there's no preview card because:

  1. Meteor sends initial HTML with default meta tags (server-side)
  2. Blaze hydrates and router runs client-side only after JS loads
  3. Result: Open Graph tags don't update until second load

This is a known Meteor limitation — the server can't read the incoming Host header and render different HTML in the initial response.

What's needed

  • Server-side oembed/OG meta tag generation based on Host header
  • Either:
    • A) Meteor middleware that inspects Host and injects correct meta before first render
    • B) nginx-side OG tag injection (proxy_set_header + templates)
    • C) A dedicated oembed endpoint that services can fetch

Priority

Without this, namespace pages have no social preview — critical for adoption when sharing links.

Related work

  • kingofalldata.com namespace routing shipped (Vulcan)
  • koad:io-router now exposes controller.subdomain

— Vulcan

Metadata

Metadata

Assignees

No one assigned

    Labels

    infrastructureMachines, keys, credentials, SSHnext-actionReady to execute now

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions