feat: URL 등록만으로 OG 자동 추출하는 쇼케이스 페이지 구현#98
Open
hyoseong1994 wants to merge 4 commits into
Open
Conversation
8 tasks
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Ready View logs |
daleui | 8f31fb0 | Commit Preview URL | Jul 14 2026, 12:06 AM |
hyoseong1994
force-pushed
the
29-showcase
branch
2 times, most recently
from
July 9, 2026 05:53
4b47ae3 to
62d4e86
Compare
hyoseong1994
force-pushed
the
29-showcase
branch
from
July 10, 2026 06:35
62d4e86 to
246b1a1
Compare
- fall back to hostname/default image when OG fetch fails or returns empty - retry transient OG fetch failures - avoid caching fallback cards so they are retried on the next build - reject duplicate showcase URLs and restrict entries to http(s) pages - track showcase.generated.json so the cache survives CI clean builds
hyoseong1994
force-pushed
the
29-showcase
branch
from
July 10, 2026 06:59
246b1a1 to
325a157
Compare
hyoseong1994
force-pushed
the
29-showcase
branch
from
July 14, 2026 00:05
15098fb to
8f31fb0
Compare
hyoseong1994
marked this pull request as ready for review
July 14, 2026 00:20
hyoseong1994
commented
Jul 14, 2026
Comment on lines
+10
to
+23
| { url: "https://www.naver.com" }, | ||
| { | ||
| url: "https://www.google.com", | ||
| image: | ||
| "https://www.google.com/images/branding/googleg/1x/googleg_standard_color_128dp.png", | ||
| }, | ||
| { url: "https://www.youtube.com" }, | ||
| { url: "https://www.facebook.com" }, | ||
| { url: "https://www.instagram.com" }, | ||
| { url: "https://www.twitter.com" }, | ||
| { url: "https://www.linkedin.com" }, | ||
| { url: "https://www.github.com" }, | ||
| { url: "https://www.stackoverflow.com" }, | ||
| { url: "https://www.reddit.com" }, |
Collaborator
Author
There was a problem hiding this comment.
데모 후 제거할 예정입니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
쇼케이스 페이지를 빌드 타임 OG 자동 추출 방식으로 구현합니다 (#29). 기여자는
src/content/showcase/entries.ts에 프로젝트{ url }한 줄만 등록하면, 빌드 타임에 그 URL의 Open Graph 메타데이터를 추출·병합해 카드로 렌더링합니다. 기여 진입 장벽을 낮추는 것이 핵심입니다.데이터 흐름 (런타임 외부 fetch 없음)
주요 변경
open-graph-scraper도입 (상대 이미지 URL 절대화, twitter 카드 fallback)scripts/generate-showcase.mts:수동 오버라이드 ?? OG 추출값 ?? fallback순 병합,generate-og.mts의 해시 캐시 패턴 차용src/content/showcase/schema.ts: zod 2층 (기여자 입력 / 병합 카드), 스크립트·loader가 공유showcase._index.tsx:UnderConstruction→ 반응형 카드 그리드(1→2→3열)ShowcaseCard.tsx: 썸네일·제목·설명·외부 링크, stretched-link, 이미지onErrorfallbackSeoMeta재사용 +showcase정적 OG 이미지 추가테스팅
dist/client/showcase/index.html에 실제 카드(OG 추출 제목·이미지·외부 링크)가 포함됨을 확인체크 리스트