Skip to content

feat: add public profile Open Graph previews#400

Open
amritbej wants to merge 2 commits into
Dev-Card:mainfrom
amritbej:feature/og-meta-tags
Open

feat: add public profile Open Graph previews#400
amritbej wants to merge 2 commits into
Dev-Card:mainfrom
amritbej:feature/og-meta-tags

Conversation

@amritbej

@amritbej amritbej commented May 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Added a cached backend OG image endpoint for public profiles.
  • Generated a server-side PNG preview with avatar/initials, display name, bio, and platform badges.
  • Added canonical, Open Graph, and Twitter Card metadata to the public profile page.
  • Added focused backend tests for OG image generation and Redis cache behavior.

Closes #33

Validation

  • pnpm --filter @devcard/backend exec eslint src/routes/public.ts src/utils/og-image.ts src/__tests__/public.test.ts
  • pnpm --filter @devcard/backend exec vitest run src/__tests__/public.test.ts
  • pnpm --filter @devcard/web check

Note

pnpm --filter @devcard/backend build is currently blocked by existing unrelated TypeScript issues in backend test files.

@amritbej

Copy link
Copy Markdown
Contributor Author

@Harxhit ,
please check the pr i have linked

@Harxhit Harxhit added the gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking. label May 30, 2026
@amritbej

amritbej commented Jun 2, 2026

Copy link
Copy Markdown
Contributor Author

@Harxhit , please check the pr i have linked

@ShantKhatri please check it .

@amritbej amritbej force-pushed the feature/og-meta-tags branch from ccae586 to ece9eea Compare June 5, 2026 12:52
@vercel

vercel Bot commented Jun 5, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the Prashantkumar Khatri's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

CI — Checks Failed

Backend — FAIL

Check Result
Lint FAIL
Test FAIL
Typecheck FAIL

Mobile — SKIP

Check Result
Lint -
Test -

Web — FAIL

Check Result
Check FAIL
Build PASS

Last updated: Fri, 12 Jun 2026 06:25:06 GMT

@amritbej

amritbej commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

@ShantKhatri , please review it .

@ShantKhatri

Copy link
Copy Markdown
Contributor

@ShantKhatri , please review it .

Hi, checks are failing.

@Harxhit

Harxhit commented Jun 5, 2026

Copy link
Copy Markdown
Collaborator

@ShantKhatri , please review it .

Hi, checks are failing.

Please allow me some time.

@amritbej

amritbej commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

@Harxhit ,
please check it

Signed-off-by: amritbej.sh <amritbej750@gmail.com>
@amritbej

Copy link
Copy Markdown
Contributor Author

@Harxhit ,
please review it it's been 2 weeks i have opened the pr and tell if anything wrong ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend gssoc:approved Required label for every approved PR. Gives the base +50 points and enables contribution tracking. web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

backend + web: implement permanent shareable public profile page with OG meta tags

3 participants