memos/proto
ayasy-el bc4ae02bcd feat(api): add link preview endpoint with metadata fallback
- add REST GET /api/v1/link:preview to return title/description/image

- resolve relative/protocol-relative image URLs; fallback to first <img> when og:image missing

- add first-image scraper and guard HTML meta fetch against 4xx/5xx responses

- register route in server startup; add LinkService proto stub for future gateway/grpc use (not yet wired)
2025-12-14 16:26:12 +07:00
..
api/v1 feat(api): add link preview endpoint with metadata fallback 2025-12-14 16:26:12 +07:00
gen refactor: migrate to connect-rpc (#5338) 2025-12-11 19:49:07 +08:00
store refactor: simplify theme/locale to user preferences and improve initialization 2025-12-02 09:08:46 +08:00
README.md chore: tweak readme 2024-02-23 08:25:54 +08:00
buf.gen.yaml refactor: migrate to connect-rpc (#5338) 2025-12-11 19:49:07 +08:00
buf.lock chore: update gitignore 2025-04-17 23:11:36 +08:00
buf.yaml chore: update gitignore 2025-04-17 23:11:36 +08:00

README.md

Guide

Prerequisites

Generate

buf generate

Format

buf format -w