Compare commits

...
Author SHA1 Message Date
minaChoi d9d463f38b fix: 쇼츠가 shared 패키지의 API 클라이언트를 쓰게 (react-native 병합으로 frontend/src/api/client 가 shared 로 옮겨짐) 2026-10-26 15:41:55 +09:00
minaChoi 5d18fa51fa Merge branch 'react-native' into release/1026-merge
# Conflicts:
#	backend/common/enums.py
#	backend/router/v1/auth/account.py
#	frontend/.dockerignore
#	frontend/package-lock.json
#	frontend/package.json
#	frontend/public/terms.html
#	frontend/src/api/client/index.ts
#	frontend/src/b/BLayout.tsx
#	frontend/src/b/Sheets.tsx
#	shared/api/client/@tanstack/react-query.gen.ts
#	shared/api/client/sdk.gen.ts
#	shared/api/client/types.gen.ts
2026-10-26 15:36:05 +09:00
minaChoi d727b38260 Merge branch 'feat/apps-in-toss' into release/1026-merge
# Conflicts:
#	frontend/src/api/client/@tanstack/react-query.gen.ts
#	frontend/src/api/client/index.ts
#	frontend/src/api/client/sdk.gen.ts
2026-10-26 15:25:23 +09:00
minaChoi 052c036bcf Merge branch 'feat/gu-region-pages' into release/1026-merge
# Conflicts:
#	docs/검색노출_기록.md
2026-10-26 15:25:16 +09:00
minaChoi 0689bdf46e fix: 좋아요·댓글·보내기 아이콘 크기가 달라 간격이 어긋나 보이던 것 — 하트는 10% 키우고 보내기는 5% 줄여 보이는 폭을 맞춤 2026-10-26 15:23:26 +09:00
minaChoi 271e625767 fix: 쇼츠 마우스 끌기 기준을 화면 15%에서 30px로 — 조금만 끌어도 넘어가게 2026-10-26 15:21:24 +09:00
minaChoi c1d62653a9 fix: 밤 화면에서 쇼츠 카드 그림·영상이 남색 판에 가려지던 문제 — 카드 아래 그라데이션에 b-keep-bg 2026-10-26 15:20:45 +09:00
minaChoi 0db4b130f0 feat: 쇼츠 페이지에서 마우스로 끌어 넘기기(한 화면 15% 넘게 끌면 다음·이전), 영상을 누르면 일시정지·재생 2026-10-26 15:18:45 +09:00
minaChoi 81dc101239 docs: TODO 에 쇼츠 업로드 직후 목록 갱신 항목 추가 2026-10-26 15:16:59 +09:00
minaChoi ba70fbcd49 feat: 쇼츠 목록을 요청 때가 아니라 워커가 하루 3번(07·12·18시 10분)과 켤 때 받아 둠, 캐시는 2일 — 사용자는 유튜브 응답을 기다리지 않음 2026-10-26 15:16:08 +09:00
minaChoi e0a723a3e4 docs: .env.example 에 유튜브 쇼츠 설정(YOUTUBE_API_KEY·CHANNEL_ID·SHORTS)과 설명 추가 2026-10-26 15:13:38 +09:00
minaChoi d716cf070b feat: 쇼츠 줄 제목 없앰 — 세로 카드만 히어로 아래에 2026-10-26 15:10:48 +09:00
minaChoi fa99ea4f08 feat: 쇼츠를 모달 대신 페이지(/shorts/영상ID)로 — 넘기면 주소도 바뀌어 공유·뒤로 가기 가능, 헤더·탭 바 사이를 채우고 배경은 지금 영상 표지를 흐리게 깔기 2026-10-26 15:08:18 +09:00
minaChoi 9adee6762e fix: 쇼츠 창을 처음 열 때 검은 플레이어가 깜빡이던 문제 — 첫 장면이 재생될 때까지 표지를 보이고 플레이어는 그 뒤에 서서히 띄움 2026-10-26 14:40:10 +09:00
minaChoi b4d09574da fix: 쇼츠 넘길 때 검은 화면·로딩이 잠깐 보이던 문제 — 앞뒤 영상을 소리 없이 틀어 첫 장면을 받아 둔 뒤 멈추고 처음으로, 유튜브 조작 막대는 숨기고 소리 켜기 버튼을 따로 둠 2026-10-26 14:34:29 +09:00
minaChoi ddcb4ee771 fix: 쇼츠 넘길 때마다 깜빡이던 문제 — 앞뒤 영상 플레이어를 미리 띄워 두고, 넘기면 새로 띄우지 않고 재생·일시정지만 바꿈 2026-10-26 14:31:17 +09:00
minaChoi 8ea8c9b368 fix: 쇼츠 전체 화면 창에서 영상이 화면보다 커져 확대·잘려 보이던 문제 — 남은 높이·너비 안에 9:16으로 맞추고, 영상이 뜨기 전엔 표지를 깔기 2026-10-26 14:23:51 +09:00
minaChoi b718955927 feat: 오늘 화면 히어로 아래 날씨각 유튜브 쇼츠 줄 — 첫 카드 소리 없이 자동재생, 누르면 전체 화면에서 위아래로 넘겨 보기. 목록은 /v1/shorts(API 키 있으면 채널 쇼츠, 없으면 설정한 영상 ID), 1시간 캐시 2026-10-26 14:17:36 +09:00
minaChoi f9988855d3 Merge remote-tracking branch 'origin/main' into sns 2026-10-26 13:51:37 +09:00
minaChoi a3271a827b docs: 인스타 카드 사용법(슬래시 명령·흐름·조건)과 루트 README 2026-10-26 13:51:37 +09:00
minaChoi 872d68e738 Merge remote-tracking branch 'origin/main' into fix/seo-no-store 2026-10-26 13:48:47 +09:00
minaChoi 90773081c2 fix: 지역 날씨 페이지(/today·/tomorrow)도 no-store — no-cache 면 모바일 크롬에서 다시 연 탭이 예전 HTML 로 지워진 빌드 파일을 불러 '날씨 불러오는 중'에서 멈춤 2026-10-26 13:47:34 +09:00
minaChoi e22564bc20 docs: 각 카드 그림 36장 기록 2026-10-26 13:47:32 +09:00
minaChoi fb2e6c4fac feat: 가을 각 카드 그림 28장 미리 생성(피크닉·캠핑·단풍·붕어빵·넷플릭스 등, gpt-6-sol) 2026-10-26 13:47:31 +09:00
minaChoi 512ae6b591 feat: 타로 각 카드 — 최근 7일에 쓴 각은 제외하고 상위 15개 안에서 먹거리·계절·집 각도 섞어 고르게(out/tarot-history.json) 2026-10-26 13:22:53 +09:00
minaChoi 01263f4149 docs: 타로 포스트 번호 2026-10-26 13:16:51 +09:00
minaChoi 387929683c docs: 10/26 몸 컨디션 타로 게시 기록 2026-10-26 13:16:19 +09:00
minaChoi a875dfabe6 fix: 슬래시 명령 argument-hint 따옴표(객체로 읽히던 것), 검수 통과 시 피드·인스타까지 바로 올리기 2026-10-26 11:46:12 +09:00
minaChoi 096d1effb0 docs: 10/26 세미정장 코디 게시 기록 2026-10-26 11:41:21 +09:00
minaChoi 928e9053cf feat: 최근 14일 안에 쓴 무신사 스냅은 다시 고르지 않음(out/snap-history.json) 2026-10-26 11:32:03 +09:00
minaChoi e1b5efc01b feat: /daily-ootd·/daily-tarot 슬래시 명령 분리 2026-10-26 11:12:41 +09:00
minaChoi a6251db762 feat: 그날 코디는 포스트 하나에 스타일 하나 — --style 로 스타일 태그(꾸안꾸·오피스룩…) 붙은 스냅만 고르고 제목 통일 2026-10-26 11:09:04 +09:00
minaChoi 814e64931d feat: 그날 코디 — 무신사 인기 스냅에서 사람별 코디 선정, Claude 옷 목록 추출, Codex 참고 사진 첨부 생성(npm run card -- ootd --daily), 카드 이름표 목록 2줄 허용 2026-10-26 10:40:21 +09:00
minaChoi dba34675c8 chore: main 병합 — 로그인 없이 댓글·좋아요, 구글 로그인만, 동네 이야기·카드뉴스 등 (차단 표 user_block 하나로 합침, 익명 댓글도 신고 가능) 2026-10-26 10:00:40 +09:00
minaChoi 3f3a3ea039 feat: 댓글 신고·차단·약관 동의(관리 스크립트 포함), 구글 로그인(서버·웹·안드로이드 앱), 앱 패키지 kr.o2o.nalssigak·versionCode 1000 2026-10-26 09:45:00 +09:00
minaChoi fbebdcb796 fix: 안드로이드 앱에서 한글이 단어 중간에서 줄바꿈되던 것 (띄어쓰기에서만 줄이 바뀌게) 2026-10-26 09:45:00 +09:00
minaChoi 5cde680cb6 feat: /daily-cards 슬래시 명령 — 아침 타로·코디 카드 제작·검수·승인 대기 저장(게시는 안 함) 2026-10-26 09:42:43 +09:00
minaChoi 66125473eb feat: 코디 카드 옷 이름표를 그림 위 모서리 대신 그림 아래 목록 줄로(상의·겉옷·하의·신발·소품 순) 2026-10-25 16:22:25 +09:00
minaChoi 242129d036 docs: 꾸안꾸 코디 최종 게시(카드 11) 기록, 앱에서 지울 인스타 글 3건 2026-10-25 16:16:36 +09:00
minaChoi 2bffc721d4 fix: 코디 그림 프롬프트에 옷 자리(1 왼쪽 위·5 겉옷 위 가운데·2 오른쪽 위·3 왼쪽 아래·4 오른쪽 아래)를 적어 이름표와 맞추고, warm 꾸안꾸 40대 남자 겉옷을 얇은 가디건으로 2026-10-25 16:13:40 +09:00
minaChoi 82a401340a docs: 꾸안꾸 코디 최종 게시(카드 10) 기록, 앱에서 지울 인스타 글 2건 2026-10-25 16:06:26 +09:00
minaChoi aa9f22a166 feat: 코디 일교차 8도 이상이면 겉옷을 5번째 옷으로 그림·이름표에 포함(-outer 그림), 그림 프롬프트에 적힌 옷만 그리기 규칙, warm 꾸안꾸 겉옷 그림 4장 2026-10-25 15:08:51 +09:00
minaChoi 368a576bdb docs: 꾸안꾸 코디 재게시 기록, 40대~ 옷 데이터 TODO 2026-10-25 14:49:09 +09:00
minaChoi fde2f9f2a6 feat: warm 구간 꾸안꾸 40대~ 옷을 20-30대와 다르게(여 반팔 니트·슬랙스·로퍼·숄더백, 남 폴로·슬랙스·로퍼·시계), 그림 2장 2026-10-25 14:43:28 +09:00
minaChoi d9cf8d5874 docs: 10/25 운동 타로·꾸안꾸 코디 게시 기록, 카드 렌더 크롬 멈춤 TODO 2026-10-25 14:24:35 +09:00
minaChoi 885dd71cad feat: 코디 사람 구분을 20-30대·40대~ 여자·남자 4장으로 2026-10-25 14:20:40 +09:00
minaChoi bfa766d6d6 feat: 10/25 꾸안꾸 코디 그림(warm 구간 6장) 2026-10-25 10:43:24 +09:00
minaChoi 711fbbe7c6 feat: 10/25 각 카드 그림(러닝각·자전거각) 2026-10-25 10:35:39 +09:00
minaChoi 94ee8c2939 fix: 소개 카드 무대 스틸 왼쪽 발자국 아이콘 잘라 내고 칩 아이콘 크기 복구, 4·6·8번 모서리 캐릭터 제거 2026-10-24 21:55:04 +09:00
minaChoi c1d2d7c74a refactor: 캐릭터 이름을 구름·물방울로, 카드 스틸을 글자 없는 3D 장면으로, 앱 스크린샷 파일 삭제 2026-10-24 20:34:55 +09:00
minaChoi f2eed74e9d feat: 날씨각 캐릭터 보송·말랑(nalssigak-shorts Three.js)을 3D 릴스·소개 카드에, 카드에서 폰 프레임·스크린샷 제거(3D 스틸 무대·순위·기능 타일) 2026-10-24 20:26:03 +09:00
minaChoi 615dd27404 feat: 3D 소개 릴스(intro3d) — test-design/weather 디오라마(Three.js 섬·구름·아이콘)를 HyperFrames로, 브랜드 색 하늘 돔, 글 오버레이 6장면; 폰 베젤 띠 제거 2026-10-24 20:04:31 +09:00
minaChoi 1e4426f133 fix: 앱 스크린샷 양옆 여백을 잘라 내 폰 화면을 앱 폭(440+머리 줄)에 딱 맞게 2026-10-24 19:06:30 +09:00
minaChoi a406d60a1f fix: 앱 스크린샷을 456px·2배로 찍어 폰 화면을 여백 없이 채우고 머리 줄까지 보이게, 8번 장 폰 가운데, 릴스 표지 추가 2026-10-24 18:59:48 +09:00
minaChoi 644ba6ccb9 fix: 릴스·소개 카드 폰 화면을 가운데로 (릴스는 img 폭이 틀을 넘어 오른쪽이 잘렸음) 2026-10-24 18:43:42 +09:00
minaChoi bf94b14918 Merge remote-tracking branch 'origin/main' into sns 2026-10-24 18:39:57 +09:00
minaChoi 010d90656f fix: 소개 카드·릴스 앱 스크린샷을 가로 470px·2배로 다시 찍어 머리 줄이 잘리지 않게, 올리기 전 1:1 검수 규칙 2026-10-24 18:39:57 +09:00
minaChoi 48c0dee67a Merge branch 'fix/toss-feed-unknown-type' into HEAD 2026-10-24 18:33:02 +09:00
minaChoi 7469e58a89 feat: 인스타 릴스 — 릴스 mp4 저장·공개 주소(/v1/reel)·REELS 게시 API, 관리자 relay, 소개 릴스 HyperFrames 프로젝트·배경 5장, 인스타 올리기 nginx 타임아웃 600s 2026-10-24 18:32:52 +09:00
minaChoi 0144a64b42 feat: 토스판은 로그인 없이 — 로그인 버튼·글쓰기 칸·글 더보기(신고·차단) 숨김, 두 번째 내 각은 안내만 2026-10-24 18:28:21 +09:00
minaChoi 9b1e32d620 docs: 토스 인트로·로그인 문구 검토, 위치 권한 겹침, 메뉴 로그인 문구 (TODO) 2026-10-24 18:25:07 +09:00
minaChoi 91837ff8e9 feat: 토스판 첫 실행 인트로(서비스 소개 후 시작하기), 토스 로그인 창에 로그인하면 할 수 있는 것 안내 2026-10-24 18:24:58 +09:00
minaChoi 2400957657 fix: 피드에 모르는 글 종류가 오면 그 카드만 건너뜀 (예전 토스 번들이 카드뉴스 종류에서 흰 화면) 2026-10-24 18:22:47 +09:00
minaChoi 70fe14ae39 fix: 소개 카드 폰 스크린샷을 베젤 안에 통째로, 토스 앱 검색 문구·해시태그 추가, 릴스 배경 프롬프트 2026-10-24 18:15:47 +09:00
minaChoi 84212099e6 Merge remote-tracking branch 'origin/main' into feat/apps-in-toss
# Conflicts:
#	TODO.md
#	backend/crud/user_crud.py
#	backend/router/v1/auth/account.py
#	backend/router/v1/auth/protocol.py
#	backend/services/auth_service.py
#	compose.yaml
#	docs/이벤트_추적.md
#	frontend/src/api/client/@tanstack/react-query.gen.ts
#	frontend/src/api/client/index.ts
#	frontend/src/api/client/sdk.gen.ts
#	frontend/src/api/client/types.gen.ts
#	frontend/src/b/Sheets.tsx
#	frontend/src/b/region.tsx
#	frontend/src/lib/analytics.ts
2026-10-23 16:22:18 +09:00
minaChoi 7a322e0746 docs: 구글 검색 정책 리서치(사이트 이름·광고·방문자 수와 순위), 검색 노출 기록표, 매일 점검 명령 /seo-daily 2026-10-20 10:32:42 +09:00
minaChoi 64ca463591 fix: 앱 시트가 화면보다 길면 아래가 잘려 스크롤되지 않던 것 2026-10-19 11:33:05 +09:00
minaChoi 86a0ea26ca feat: 회원 탈퇴 (DELETE /v1/auth/me, 웹·앱 내 정보 시트 '탈퇴하기')
- 계정과 남긴 댓글·좋아요·저장을 한 트랜잭션으로 지우고 게시물·댓글 수를 맞춘다
- 로그아웃·탈퇴 때 내 정보 캐시를 먼저 버려 401 로 로그인 창이 뜨지 않게
- 탈퇴 테스트 추가, 공용 API 클라이언트 다시 생성
2026-10-19 11:33:05 +09:00
minaChoi dd2d02758b feat: 앱 출시 빌드 설정(eas.json·권한 정리), 안드로이드 시트 키보드가 입력칸 가리던 것·첫 화면 테마 경고 수정 2026-10-19 10:54:55 +09:00
minaChoi 1bc39655c9 fix: 앱 오늘 날씨 포스트 시간 칸을 웹처럼 4칸씩 두 줄로 2026-10-19 10:32:01 +09:00
minaChoi d1143e4207 docs: TODO 앱 ID 결정·안드로이드 빌드 확인·히어로 기온 '?' 기록 2026-10-19 09:55:01 +09:00
minaChoi 61080c6eb2 docs: TODO 앱 아이콘 항목 갱신 2026-10-14 16:41:57 +09:00
minaChoi 86401983fb feat: 앱 아이콘을 3D 해 그림으로 교체 (iOS·안드로이드 적응형·단색·스플래시) 2026-10-14 16:41:50 +09:00
minaChoi 4fc9214de5 feat: 앱 이름 '날씨각'·해 아이콘·스플래시, 위치 찾기 10초 제한, 첫 로딩 덮개가 안 걷히던 것 수정 2026-10-14 16:39:37 +09:00
minaChoi fdf8498a56 docs: 토스 번들 재빌드는 로그인 해결 뒤로 미룸 (TODO) 2026-10-14 15:37:15 +09:00
minaChoi a646d1b26a feat: GA 이벤트에 platform(web/toss) 붙여 토스판 지표 구분 2026-10-14 15:36:37 +09:00
minaChoi 7f2cbc13c9 docs: 이용약관 페이지 추가, 개인정보처리방침에 토스 미니앱 로그인 반영 2026-10-14 15:36:36 +09:00
minaChoi ea5376820c feat: 토스판 토스 로그인(mTLS 토큰 교환·연결 끊기 콜백)과 좋아요·댓글 다시 열기 2026-10-14 15:36:36 +09:00
minaChoi b5d9adf396 feat: 앱을 웹과 맞춤 — 좋아요 하트·토스트, 별똥별, 단풍잎, 고운바탕, 안내 높이 유지, 시트 배경 페이드 2026-10-14 15:35:49 +09:00
minaChoi 865c521ab8 refactor: 앱 떨어지고 둥둥 움직임(Fall)을 공통 컴포넌트로, 고운바탕 글꼴 패키지 추가 2026-10-14 15:10:09 +09:00
minaChoi d56e906371 docs: TODO 앱 템플릿 정리 항목 완료 표시 2026-10-14 15:07:57 +09:00
minaChoi 26bb6a00d2 feat: 앱 위치로 지역 찾기(expo-location), 게시물·주말 일정 이미지 공유(view-shot·expo-sharing) 2026-10-14 14:49:37 +09:00
minaChoi f71dd2cebb feat: 앱 나머지 화면 이전 — 게시물 카드·시트·각/노을/주말/계절 탭·움직임
- 게시물 카드 슬라이드 7종, 좋아요·댓글, 텍스트 공유
- 시트 7종(RN Modal), 위 막대 지역·계절·로그인/아바타
- 각·노을·주말·행사·계절·상식 탭, 당겨서 새로고침
- 히어로 해·구름·비·눈 움직임, 스켈레톤 깜빡임, 첫 로딩 덮개, 하늘색 전환
2026-10-14 14:45:56 +09:00
minaChoi 28ff032160 feat: 앱 시트·로그인 상태·지역 저장 틀, 공통 UI(Avatar·Chips·Rows·Credit) 2026-10-14 14:29:20 +09:00
minaChoi e52f93fdbb feat: React Native(Expo) 앱 추가 — 탭 구조와 오늘 화면
- Expo SDK 57 + expo-router, react-query, Uniwind(Tailwind v4), SecureStore 토큰
- Metro 가 앱의 react(19.2.3)만 쓰게 고정 (루트에는 웹용 react 19.3.0)
- 탭 5개·위 막대·시간대 하늘 배경·밤 테마, 오늘 히어로·각 순위·행사/TOP5/계절 띠
- 남은 이전 작업은 TODO.md 앱 마이그레이션 표
2026-10-14 14:27:47 +09:00
minaChoi 2ab2271d61 refactor: 웹·앱 공통 코드를 shared 패키지로 분리 (npm workspaces)
- API 클라이언트·토큰 갱신·순수 함수를 shared/ (@nalssigak/shared) 로 옮김
- 토큰 저장소·API 주소는 configureApi 로 플랫폼에서 넣는다 (웹 localStorage)
- 루트 package.json 에 frontend·mobile·shared workspaces, lock 파일 하나로
- 웹 Docker 빌드 대상을 저장소 루트로 (compose context ., 루트 .dockerignore)
2026-10-14 14:27:47 +09:00
minaChoi e180d9651c fix: 토스판은 지역을 고른 적 있어도 위치 권한이 있으면 들어올 때마다 지금 위치로 2026-10-13 17:07:29 +09:00
minaChoi 7dcb40df78 fix: 토스판도 처음 들어오면 위치 권한을 물어 내 동네로 맞춤 (기본값 마포구에 머물던 것) 2026-10-13 16:52:06 +09:00
minaChoi 07290597a0 Merge remote-tracking branch 'origin/main' into feat/apps-in-toss
# Conflicts:
#	TODO.md
#	docs/QA_체크리스트.md
#	frontend/src/b/BLayout.tsx
#	frontend/vite.config.ts
2026-10-13 15:04:14 +09:00
minaChoi 7451599727 feat: 앱인토스 토스판 빌드(보기 전용, 위치·공유 SDK 분기, appName nalssigak) 2026-10-13 15:03:26 +09:00
366 changed files with 26681 additions and 3968 deletions

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
---
description: 오늘 날씨 타로·코디 카드를 둘 다 만들어 검수하고 날씨각 피드와 인스타에 올린다 (/daily-tarot + /daily-ootd)
argument-hint: "<타로 주제> <코디 스타일> 예) 건강 운동 minimal"
---
오늘 인스타 카드를 만든다. 인자: `$ARGUMENTS` — 앞은 타로 주제(비어 있으면 Claude 가 오늘 날씨에 맞는 주제를 고른다), 마지막 단어가 casual·semi·formal·street·minimal 중 하나면 코디 스타일(없으면 minimal=꾸안꾸). 코디 포스트 하나는 스타일 하나: 네 사람 모두 같은 스타일.
재확인 질문 없이 순서대로 진행하고, 막히면 그 자리에서 보고하고 멈춘다. 타로는 `/daily-tarot` 의 순서대로, 코디는 `/daily-ootd` 의 순서대로 각각 만들고 검수한 뒤 올린다(두 명령 파일의 단계를 그대로 따른다).
1. 관리자 서버: `curl -s http://localhost:5175/api/targets` 에 `king` 이 있어야 한다. 없으면 `admin/` 에서 백그라운드로 켠다 (`admin/AGENTS.md` '켜기', 킹서버 키는 `ssh King_admin` 의 `~/proj/o2o-weather/.env` `ADMIN_API_KEY`, 값은 출력하지 않는다).
2. 예보: `curl -s "https://weather.o2o.kr/v1/weather/today?region=1114000000"` 의 `day` 가 오늘인지 보고 slots 의 기온·하늘·비 확률을 적어 둔다.
3. 타로: `cd admin && VITE_API_BASE_URL=https://weather.o2o.kr ADMIN_URL=http://localhost:5175 npm run card -- tarot --topic "<주제>" --color sky --post-wait`.
출력된 기획 문구를 2의 예보와 대조한다(숫자·하늘 묘사가 틀리면 `--copy <값> --feedback "실제 수치…"` 로 한 번만 다시). "일부 그림을 못 만들어" 가 나오면 멈추고 보고한다. 크롬이 한 장에서 45초 넘게 멈추면 그 프로세스를 죽이고 그 장만 다시 찍는다.
4. 코디(그날 코디): `npm run card -- ootd --daily --style <스타일> --color sky --post-wait`. 무신사 인기 스냅 중 그 스타일 태그(꾸안꾸·오피스룩·캐주얼·스트릿·정장)가 붙은 것에서 사람 4명(20-30대·40대~ 여·남) 코디를 고르고, Claude 가 옷 목록을 뽑고, Codex 가 참고 사진대로 플랫레이 그림을 그린다(사람당 2~4분). 고른 스냅 주소와 옷 목록이 출력된다. "스냅이 없어요"·"저장하지 못했어요" 가 나오면 멈추고 보고한다.
5. 검수(예외 없음): 만든 JPEG 전부를 **한 장씩 원본 크기로** Read 로 연다. 축소 시트로 판단하지 않는다. 볼 것: 글자 잘림·겹침, 그림 누락, 그림 속 사람·얼굴·글자, 코디는 그림 아래 옷 목록의 옷이 그림에 전부 있고 추가 옷이 없는지, 스냅 사진(`out/<날짜>/snaps/<사람>/snap.jpg`)과 옷·색이 같은지, 날씨 줄 수치가 예보와 맞는지. 틀리면 고치고 다시 찍어 다시 본다.
6. 새 타로 그림이 생겼으면 `git add admin/src/assets/gak-card admin/src/assets/tarot-bg` 후 `feat: <날짜> 각 카드 그림(…)` 로 커밋한다 (Claude 서명 없이). 코디 그림(`admin/public/daily`)은 커밋하지 않는다.
7. 보고(한국어, 짧게): 킹서버 카드 번호 2개(승인 대기), 만든 JPEG 경로, 참고한 스냅 주소 4개, 검수에서 고친 것, 남은 이슈. 올리는 건 사용자가 관리자 '만든 카드' 탭이나 "올려" 로 한다.
+15
View File
@@ -0,0 +1,15 @@
---
description: 오늘의 코디 카드 4장(20-30대·40대~ 여·남, 스타일 하나)을 무신사 인기 스냅으로 만들어 검수하고 날씨각 피드와 인스타에 올린다
argument-hint: "<스타일> minimal(꾸안꾸)·casual·semi(오피스)·formal·street (비우면 minimal)"
---
오늘의 코디 카드를 만들어 올린다. 인자: `$ARGUMENTS` — 코디 스타일 하나(minimal=꾸안꾸, casual=캐주얼, semi=세미정장·오피스, formal=정장, street=스트릿). 비어 있으면 minimal. 포스트 하나는 스타일 하나: 네 사람 모두 같은 스타일.
재확인 질문 없이 순서대로 진행하고, 막히면 그 자리에서 보고하고 멈춘다. 검수를 통과한 뒤에만 올린다(올린 건 되돌릴 수 없다).
1. 관리자 서버: `curl -s http://localhost:5175/api/targets` 에 `king` 이 있어야 한다. 없으면 `admin/` 에서 백그라운드로 켠다 (`admin/AGENTS.md` '켜기', 킹서버 키는 `ssh King_admin` 의 `~/proj/o2o-weather/.env` `ADMIN_API_KEY`, 값은 출력하지 않는다).
2. 만들기(승인 대기로 저장까지): `cd admin && VITE_API_BASE_URL=https://weather.o2o.kr ADMIN_URL=http://localhost:5175 npm run card -- ootd --daily --style <스타일> --color sky --post-wait`. 출력 끝의 `카드 N` 번호를 적어 둔다.
무신사 인기 스냅 중 그 스타일 태그가 붙은 것에서 사람 4명 코디를 고르고(최근 14일에 쓴 스냅 제외), Claude 가 옷 목록을 뽑고, Codex 가 스냅 사진·상품 썸네일을 참고해 플랫레이 그림을 그린다(사람당 2~4분, 총 10~15분). 고른 스냅 주소·옷 목록이 출력된다. "스냅이 없어요"·"저장하지 못했어요"·"Codex 실행이 실패" 가 나오면 멈추고 보고한다. 로그의 `rmcp … AuthRequired` 는 Codex 내부 경고라 무시한다. 크롬이 한 장에서 45초 넘게 멈추면 그 프로세스를 죽이고 그 장만 다시 찍는다.
3. 검수(예외 없음): 만든 JPEG 4장을 **한 장씩 원본 크기로** Read 로 연다. 축소 시트로 판단하지 않는다. 볼 것: 그림이 비어 있지 않은지, 그림 아래 옷 목록의 옷이 그림에 전부 있고 추가 옷이 없는지, 그림 속 사람·얼굴·글자, 스냅 사진(`admin/out/<날짜>/snaps/<사람>/snap.jpg`)과 옷·색이 같은지, 이름표 줄이 날씨 줄과 겹치지 않는지, 날씨 줄 수치가 예보(`https://weather.o2o.kr/v1/weather/today?region=1114000000`)와 맞는지. 틀리면 고치고 다시 만들어(2번, 새 카드 번호) 다시 본다. 못 고치면 올리지 말고 보고한다.
4. 올리기(검수 통과 시): `curl -s -X POST "http://localhost:5175/api/cards/<카드 N>/publish?target=king"` → `post_id` 확인, 이어서 `curl -s -X POST --max-time 600 "http://localhost:5175/api/cards/<카드 N>/instagram?target=king"` → `ig_media_id`. 인스타 링크: `~/projects/o2o-weather/.env` 의 `INSTAGRAM_ACCESS_TOKEN` 으로 `GET https://graph.instagram.com/v24.0/<ig_media_id>?fields=permalink` (토큰 값은 출력하지 않는다).
5. TODO.md 인스타 홍보 표에 한 줄(카드·포스트 번호, 인스타 링크, 참고 스냅 4개) 적고 `docs:` 커밋, `git push origin sns:main`. 코디 그림(`admin/public/daily`)은 커밋하지 않는다.
6. 보고(한국어, 짧게): 인스타 링크, 킹서버 카드·포스트 번호, 참고한 스냅 주소 4개, 검수에서 고친 것, 남은 이슈.
+16
View File
@@ -0,0 +1,16 @@
---
description: 오늘의 날씨 타로 카드 5장을 만들어 검수하고 날씨각 피드와 인스타에 올린다
argument-hint: "<타로 주제> 예) 건강 운동 · 연애 썸 · 경제 주식 (비우면 Claude가 고름)"
---
오늘의 날씨 타로 카드를 만들어 올린다. 인자: `$ARGUMENTS` — 타로 주제(대주제 소주제). 비어 있으면 Claude 가 오늘 날씨에 맞는 주제를 고른다.
재확인 질문 없이 순서대로 진행하고, 막히면 그 자리에서 보고하고 멈춘다. 검수를 통과한 뒤에만 올린다(올린 건 되돌릴 수 없다).
1. 관리자 서버: `curl -s http://localhost:5175/api/targets` 에 `king` 이 있어야 한다. 없으면 `admin/` 에서 백그라운드로 켠다 (`admin/AGENTS.md` '켜기', 킹서버 키는 `ssh King_admin` 의 `~/proj/o2o-weather/.env` `ADMIN_API_KEY`, 값은 출력하지 않는다).
2. 예보: `curl -s "https://weather.o2o.kr/v1/weather/today?region=1114000000"` 의 `day` 가 오늘인지 보고 slots 의 기온·하늘·비 확률을 적어 둔다.
3. 만들기(승인 대기로 저장까지): `cd admin && VITE_API_BASE_URL=https://weather.o2o.kr ADMIN_URL=http://localhost:5175 npm run card -- tarot --topic "<주제>" --color sky --post-wait` (주제가 없으면 `--topic` 없이). 출력 끝의 `카드 N` 번호를 적어 둔다.
출력된 기획 문구를 2의 예보와 대조한다(숫자·하늘 묘사가 틀리면 `--copy <값> --feedback "실제 수치…"` 로 한 번만 다시). 빠진 각 카드 그림은 Codex 가 자동으로 만든다(장당 1~5분). "일부 그림을 못 만들어" 가 나오면 멈추고 보고한다. 크롬이 한 장에서 45초 넘게 멈추면 그 프로세스를 죽이고 그 장만 다시 찍는다.
4. 검수(예외 없음): 만든 JPEG 5장을 **한 장씩 원본 크기로** Read 로 연다. 축소 시트로 판단하지 않는다. 볼 것: 글자 잘림·겹침, 카드 그림 누락, 그림 속 사람·글자, 리딩 문구의 수치·하늘 묘사가 예보와 맞는지, 말투(3문장, "~할 수 있어요" 남발·덕담 금지). 틀리면 고치고 다시 만들어(3번, 새 카드 번호) 다시 본다. 못 고치면 올리지 말고 보고한다.
5. 올리기(검수 통과 시): `curl -s -X POST "http://localhost:5175/api/cards/<카드 N>/publish?target=king"` → `post_id` 확인, 이어서 `curl -s -X POST --max-time 600 "http://localhost:5175/api/cards/<카드 N>/instagram?target=king"` → `ig_media_id`. 인스타 링크: `~/projects/o2o-weather/.env` 의 `INSTAGRAM_ACCESS_TOKEN` 으로 `GET https://graph.instagram.com/v24.0/<ig_media_id>?fields=permalink` (토큰 값은 출력하지 않는다).
6. 새 그림이 생겼으면 `git add admin/src/assets/gak-card admin/src/assets/tarot-bg` 후 `feat: <날짜> 각 카드 그림(…)` 로 커밋한다 (Claude 서명 없이). TODO.md 인스타 홍보 표에 한 줄(카드·포스트 번호, 인스타 링크) 적고 `docs:` 커밋, `git push origin sns:main`.
7. 보고(한국어, 짧게): 인스타 링크, 킹서버 카드·포스트 번호, 새 그림 수, 검수에서 고친 것, 남은 이슈.
+44
View File
@@ -0,0 +1,44 @@
---
description: 날씨각(weather.o2o.kr) 구글·네이버 검색 노출 매일 점검 + 다음 할 일 제안
---
weather.o2o.kr 검색 노출을 점검하고, 어제와 비교해 다음 할 일을 제안한다.
## 1. 검색어
날씨각 · 오늘 날씨 · 분당구 오늘 날씨 · 분당 날씨 · 성남 오늘 날씨 · 마포구 오늘 날씨 · 마포구 날씨 · 강남구 오늘 날씨 · 세차하기 좋은 날 · 빨래하기 좋은 날 · 오늘 노을 시간 · 이번 주말 날씨 · 세차각
$ARGUMENTS 가 있으면 위 목록에 더한다.
## 2. 구글 (Chrome 확장)
- google.com 탭을 하나 열고, 그 탭에서 `fetch('/search?hl=ko&gl=kr&num=20&q=…')`로 검색어마다 결과 HTML을 받는다. 요청 사이 1.5초 쉰다.
- `a h3`의 링크를 순서대로 모아 google 도메인을 빼고, 같은 호스트는 한 번만 센다. weather.o2o.kr이 몇 번째 사이트인지, 어느 주소·제목으로 잡혔는지 적는다.
- '날씨각' 결과는 사이트 이름(링크 위 이름)도 적는다. 지금은 '에이아이오투오'로 나온다.
- `site:weather.o2o.kr` 결과의 주소 목록도 적는다.
- 끝나면 연 탭을 닫는다.
## 3. 네이버 (curl)
- 브라우저 UA로 `https://search.naver.com/search.naver?query=…`를 받는다. 요청 사이 3초 이상 쉰다.
- 응답이 30KB 안팎이고 본문이 비어 있으면 네이버가 막은 것이다. 그 검색어는 "차단"으로 적고 다시 시도하지 않는다.
- 외부 링크 호스트를 순서대로 중복 없이 세서 weather.o2o.kr 순서를 적는다(http/https 같은 사이트는 하나로).
- `query=site:weather.o2o.kr&where=web`으로 색인된 주소 목록을 적는다.
## 4. 기록
- `docs/검색노출_기록.md` 표 맨 아래에 오늘 날짜 행을 더한다. 형식은 파일 안 표를 따른다.
- 어제 행과 비교해 바뀐 것(새로 잡힘·빠짐·순위 변화·색인 주소 수)을 뽑는다.
## 5. 다음 할 일 제안
- 근거는 공식 문서만 쓴다: `docs/구글_검색_정책_리서치.md`, 구글 Search Central, 네이버 서치어드바이저 가이드. 문서에 없는 건 "문서에 없음"이라 쓰고, 판단·추정은 따로 표시한다.
- 같은 페이지를 매일 수집 요청하지 않는다(네이버: 반영에 1일~몇 주, 매일 반복 불필요).
- 바꾼 뒤 결과는 몇 주 단위로 본다(구글: 변경 반영에 몇 시간~몇 달). 하루 변화로 원인을 단정하지 않는다.
- 코드·문구 수정이 필요하면 고치지 말고 제안만 하고, 결정이 필요한 건 `TODO.md`에 적는다.
## 6. 보고 (채팅, 짧게)
- 바뀐 것 3줄 이내
- 검색어별 구글/네이버 순서 (없음·차단 포함)
- 다음 할 일 1~3개 (근거 출처 포함)
+14
View File
@@ -0,0 +1,14 @@
# 저장소 루트를 빌드 대상으로 쓰는 건 frontend 이미지뿐이라 frontend·shared·루트 package 파일만 넘긴다
*
!package.json
!package-lock.json
!frontend
!shared
!mobile/package.json
**/node_modules
**/dist
**/*.log
**/.DS_Store
**/dist-toss
**/*.ait
**/.env.toss
+12
View File
@@ -13,6 +13,11 @@ INSTAGRAM_USER_ID=
# 인스타가 카드 이미지를 받아 갈 공개 주소
PUBLIC_BASE_URL=https://weather.o2o.kr
IMAGE_PROXY_HOSTS=tong.visitkorea.or.kr,www.culture.go.kr,culture.seoul.go.kr
# 오늘 화면 쇼츠 줄 (YouTube Data API v3 키, console.cloud.google.com/apis/credentials 에서 발급·YouTube Data API v3 만 허용).
# 비우면 채널 쇼츠를 자동으로 못 받고 YOUTUBE_SHORTS(영상 ID, 쉼표로 구분, 최신순)만 보여 준다. 둘 다 비우면 기본값(영상 3개)
YOUTUBE_API_KEY=
YOUTUBE_CHANNEL_ID=UCWdesmwvHFsnjMUWNcDaA9w
YOUTUBE_SHORTS=
# ── 백엔드: DB·Redis (네이티브 실행 기준. compose 안에서는 compose.yaml 이 host·port 를 덮어쓴다)
DB_HOST=localhost
@@ -32,6 +37,13 @@ GOOGLE_CLIENT_ID=
JWT_ACCESS_SECRET=
JWT_REFRESH_SECRET=
# ── 백엔드: 앱인토스 토스 로그인. 인증서·키는 저장소 최상위 secrets/toss/ 에 두고(커밋 안 함) 컨테이너 안 경로를 적는다
# compose 는 secrets/toss 를 backend 의 /run/secrets/toss 에 읽기 전용으로 붙인다
TOSS_MTLS_CERT=/run/secrets/toss/nalssigak_public.crt
TOSS_MTLS_KEY=/run/secrets/toss/nalssigak_private.key
# 연결 끊기 콜백 Basic Auth "아이디:비밀번호" — 콘솔에 넣은 값과 같게. 비우면 콜백을 모두 거절한다
TOSS_UNLINK_AUTH=
# ── 배포(compose): 비우면 로컬 기본값. 킹서버 예: FRONT_PORT=30040, API_BIND=127.0.0.1:9810, PG_BIND=127.0.0.1:5440, REDIS_BIND=127.0.0.1:6390
FRONT_PORT=
API_BIND=
+9 -1
View File
@@ -4,6 +4,9 @@
.env.*
!.env.example
# npm workspaces 의존성 (frontend·mobile·shared 가 루트 하나를 같이 쓴다)
node_modules/
# Python 바이트코드/캐시
__pycache__/
*.py[cod]
@@ -23,4 +26,9 @@ backend/uploads/
# 디자인 도구(impeccable) 캐시
.impeccable/
/zzz
/zzz
# 인증서·키: 서버와 각자 PC 에만 둔다 (토스 mTLS 등)
secrets/
*.pem
*.key
*.crt
+34
View File
@@ -0,0 +1,34 @@
# 날씨각
날씨를 보면 오늘 할 일을 알려 주는 서비스. https://weather.o2o.kr
| 폴더 | 내용 | 문서 |
|---|---|---|
| `backend/` | FastAPI 백엔드 (날씨·각 점수·피드·카드 API) | `backend/docs/README.md` |
| `frontend/` | React 서비스 화면 | `frontend/README.md` |
| `admin/` | 관리자: 인스타 카드(날씨 타로·오늘의 코디) 제작 | `admin/AGENTS.md` |
| `docs/` | 기획·설계·운영 문서 | 아래 |
## 인스타 카드 올리기
Claude Code에서 한 줄:
```
/daily-tarot 건강 운동 ← 날씨 타로 5장
/daily-ootd minimal ← 오늘의 코디 4장
```
만들고 검수하고 날씨각 피드·인스타까지 올린 뒤 링크를 보고한다. 자세한 건 [docs/인스타_카드_사용법.md](docs/인스타_카드_사용법.md).
## 주요 문서
- [서비스 동작 안내](docs/서비스_동작_안내.md) — 날씨를 언제 받고 점수를 어떻게 매기나
- [각 계산 기준](docs/각_계산기준.md) · [점수 계산식](docs/점수_계산식.md)
- [피드 동작 방식](docs/피드_동작방식.md) · [콘텐츠 설계서](docs/콘텐츠_설계서.md)
- [인스타 카드 사용법](docs/인스타_카드_사용법.md)
- [TODO](TODO.md) — 결정 필요·미해결 항목
- 회의록: `docs/meetings/`
## 배포
킹서버에서 `./deploy.sh` (init.sql 재실행, docker compose). 운영 `.env`는 서버에 따로 있다.
+75
View File
@@ -59,6 +59,10 @@
| [ ] | 단풍 지도 '첫 단풍'은 절정 14일 전부터로 추정(발표에 시작일 없음). 예측 지점이 아닌 명소 32곳은 가장 가까운 예측 지점 날짜를 빌림(예: 남산공원·창덕궁 ← 수리산). 실제 관측과 다를 수 있음 | 사용자 결정 10/21 | `frontend/seo/foliage_2026.json` |
| [ ] | 토스 미니앱 최신 버전 재등록 — 웹이 바뀌면 자동 반영 안 됨 | 10/21 회의 | |
| [ ] | 유튜브 숏폼 자동화 진행 방안 협의 (김성경, 10/22) | 10/21 회의 | |
| [ ] | 오늘 화면 쇼츠 줄 — YouTube Data API 키(`YOUTUBE_API_KEY`) 발급해 운영 .env 에 넣기. 없으면 `youtube_shorts`(영상 ID 3개 고정)만 나와 새 쇼츠가 자동으로 안 붙음 (https://console.cloud.google.com/apis/library/youtube.googleapis.com) | 채널 RSS가 404라 키 없이 채널 목록을 못 받음 | `backend/config/settings.py`, `backend/services/shorts_service.py` |
| [ ] | **[결정 필요]** 쇼츠 문구 검토: '소리 켜기'/'소리 끄기' (줄 제목은 없앰) | 화면 문구 규칙 | `frontend/src/b/Shorts.tsx` |
| [ ] | 쇼츠를 올린 직후 목록 갱신(`ShortsService.refresh`) 부르기 — 지금은 워커가 07·12·18시 10분에만 받아 18시 넘어 올리면 다음 날 아침에 뜸. 자동 업로드면 끝난 뒤 호출, 손으로 올리면 관리자 갱신 API | 올리는 방식 확인 필요 | `backend/services/shorts_service.py`, `backend/worker_main.py` |
| [ ] | 쇼츠 자동재생 아이폰 사파리 실기기 확인 — 소리 꺼도 자동재생을 막는다는 보고 있음 | 헤드리스 크롬에서만 확인 | `frontend/src/b/Shorts.tsx` |
| [ ] | 인스타 운영 관리자 페이지(자동 게시 전 승인 메일) + 초기 이야기형 피드(각 100개·빨래각·소맥각·점수 산정법) | 10/21 회의 | |
| [ ] | 레이어 공유 아이디어 — 사용자 사진 위에 날씨각 정보를 얹어 공유(캐시워크식), 앱 기능으로 | 10/21 회의 (황 본부장 의견, 대표 방향) | |
| [ ] | iOS 개발자 계정 — 소장에게 기존 계정 확인, 어려우면 회사 계정 새로 만들기. 안드로이드 앱 계속 준비 | 10/21 회의 결정 | |
@@ -207,6 +211,15 @@
| [x] | 좋아요·댓글이 전국 공통 — 포스트가 (날짜, 자리) 하나로 전국에 하나뿐이라, 구마다 내용이 다른 카드(오늘 날씨·각 1~3위·노을·미세먼지·행사)도 댓글·좋아요를 전국이 같이 씀. 예: 강남의 "1위 산책각"과 부산의 "1위 빨래각"이 같은 댓글창. 안: 지역 데이터 카드만 시도(17) 단위로 나누고 계절·상식·명언은 전국 공통 유지 | 사용자 질문 (10/8) | `backend/postgres-init/init.sql` (`uq_post_feed`), `backend/services/feed_service.py` (`build_day`, `_gak`) |
| [ ] | **[결정 필요]** 포스트 시도 단위가 17이 아니라 16 — `region.code` 앞 2자리에서 광주·전남이 둘 다 `12`(전남광주통합특별시)라 같은 댓글창을 씀. 그대로 둘지, 이름 앞머리로 광주·전남을 나눌지 | 포스트 시도 나누기 (10/8) | `backend/services/feed_service.py` (`sido_of`), `backend/seed/region.csv` |
| [ ] | 광주·전남 구는 행사가 안 잡힐 수 있음 — 구 코드 시도는 `12`인데 행사 수집·`event.sido_code`는 `29`(광주)·`46`(전남). 좌표 없는 행사는 `is_nearby`·`nearby_sidos`에서 빠짐 | 포스트 시도 나누기 중 발견 (10/8) | `backend/services/week_service.py:125,144`, `backend/services/external/culture_api.py:28` |
| [ ] | **[결정 필요]** 앱인토스 입점 여부 — 검토안은 "웹 출시 후 보기 전용 토스판으로 시험, 첫 달 포인트·알림 20~30만 원, 5주차에 포인트 없는 주의 7일 재방문율 20%를 기준으로 계속/중단" (https://claude.ai/artifact/QgA7iq3CCesTRYcFyZck71) | 앱인토스 검토 | |
| [ ] | **[결정 필요]** 토스판 광고 — 앱인토스 수익은 토스 광고·인앱결제뿐인데 웹은 '광고 없음'으로 정함. 안 붙이면 토스판은 비용만 드는 홍보 채널 | 앱인토스 검토 | |
| [ ] | 앱인토스 사전 확인 — 시간대별 밤 배경이 '라이트 모드' 규칙에 걸리는지, 네이버 지도 링크가 '단순 정보 확인' 예외인지 채널톡 문의 | 앱인토스 검토 | `frontend/src/b/BLayout.tsx`, `frontend/src/b/ui.tsx` |
| [ ] | **[결정 필요]** 각 34개 정리 — 계절 밖 각(10월 물놀이·냉면) 노출 막기(각별 '보여 줄 달'), 나쁜 일 예고 각(택시대란·배달폭주·김서림·화장붕괴)을 순위에서 빼고 '조심' 카드로, 날씨 관계 약한 재미 각(공부·넷플릭스·짬뽕·막걸리·뜨아·군밤·집콕) 축소 또는 '재미' 표시 (https://claude.ai/artifact/4WgpUjdNqdSNnMN4ASB4BB) | 토스판 전략 검토 | `backend/seed/index_definition.json`, `backend/services/index_service.py` |
| [ ] | 글 재고 부족 — 25편(한 문장 8·시 3·상식 4·계절 9)이라 매일 보면 1~2주 안에 반복, 계절 글은 10월분뿐. 기획의 'AI 주 1회 생성'이 스케줄러에 없음. 8주치 재고 또는 생성·검토 파이프라인 | 토스판 전략 검토 | `backend/seed/article.json`, `backend/scheduler/jobs.py` |
| [ ] | **[결정 필요]** 노을 알림 재검토 — 10/2에 제외했지만 토스 알림은 정보성만 허용돼 "오늘 노을 좋음"이 가장 맞는 알림. 토스판 핵심 후보 | 토스판 전략 검토 | |
| [ ] | **[결정 필요]** 히어로 숫자 5개(기온·체감·불쾌지수·날씨 점수·1위 각 점수) — 불쾌지수 여름만, 날씨 점수 유지 여부 | 토스판 전략 검토 | `frontend/src/b/TodayPage.tsx` |
| [x] | 토스판 방식 — WebView로 결정(10/12). 별도 프로젝트 없이 `frontend/`에 토스 빌드 모드 추가, RN은 독립 앱만 | 토스판 전략 검토 | `frontend/` |
| [x] | 앱인토스 appName 정식 이름으로 교체 — 콘솔 앱 `nalssigak`으로 맞춤(10/13). 정식 앱 등록 후 두 곳을 같이 바꾸고 `npm run build:toss` 다시 실행 | 콘솔 테스트 앱으로 먼저 등록 | `frontend/apps-in-toss.config.ts`, `frontend/src/lib/platform.ts` |
| [x] | 전체 날씨 점수 기준 강화 — 100점은 '1년에 하루' 수준으로만 → 각과 같은 계산에 기준만 좁힘(체감 21±0.5°·습도 45~55%·해 90%↑·바람 1m/s↓·초미세먼지 10↓, 사용자 결정 '기준만 좁히기'). 실제 연 몇 번 나오는지는 미확인 (`docs/점수_계산식.md` 3) | 10/8 회의 결정 | `backend/services/index_service.py:203` |
| [x] | 각 점수를 아침·낮·저녁·밤 시간대별로 → 지금 구간 점수로 순위, 안 겹치는 각은 순위·피드에서 빼고 스토리·전체엔 '지금 아님'. 히어로는 '지금 날씨 점수'(지금 구간). 운영 DB에 `index_score.slots` 칸 추가 필요(배포 때 `init.sql`의 ALTER) | 10/8 회의 결정 | `backend/services/calc/index_calc.py:297` |
| [x] | 히어로에 습도·불쾌지수 항상 표시 → 4칸(지금·습도·불쾌지수·상황 1칸, 사용자 결정). 불쾌지수 75 이상이면 경고 색, 상황 칸 후보에서 불쾌지수 뺌 | 10/8 회의 결정 | `frontend/src/b/TodayPage.tsx` (`HeroStat`) |
@@ -218,6 +231,13 @@
| [ ] | **[결정 필요]** 각 순위가 점수 순이 아니라 보임 — 순위가 점수 × 중요도라 환기각 92점(하)이 5위, 골프각 89점이 3위, 빨래각 83점이 2위. 각 탭 받침대·스토리에서 높은 점수가 뒤에 있어 어색함. 점수를 순위대로 보여줄지, 중요도 가중을 줄일지 | 화면 직접 확인 중 발견 (10/12) | `backend/services/calc/index_calc.py` (`PRIORITY_WEIGHT`), `frontend/src/b/GakPage.tsx` |
| [x] | 노을 점수 29점(잿빛)인데 결론 '나가 볼 만해요' — 결론이 구름 분포만 보고 공기 보정(가시거리·습도)을 안 봤음 → 공기 보정 0.7배 미만이면 결론 한 단계 낮추고 이유에 공기 표시, '해 질 무렵(N시) 예보 기준' 표시. 운영 DB에 `sky_score.air` 칸 추가 필요(배포 때 `init.sql`의 ALTER) | 사용자 지적 (10/12, 분당구) | `backend/services/sky_service.py` (`day_verdict`, `build_plan`), `backend/services/calc/sky_score.py` (`air_note`) |
| [x] | 노을 탭 다시 짜기 → 시안 A(사용자 선택): 히어로 '오늘은 애매해요 / 18:10쯤 가장 붉어요 / 쉬운 이유', 내일 안내 바로 아래, 숫자는 '자세히', 시간표에 가장 붉을 때 — 처음 보면 '그래서 가?'에서 멈춤: 히어로 18:00이 무슨 시각인지 없음, 결론 카드가 좋은 말·나쁜 말을 섞음, 구름 %·예보 모델 수 같은 전문 용어, '가장 붉을 때'가 시간표에 없음, '내일이 더 나아요'가 맨 아래. 시안 먼저 보고 결정 | 사용자 지적 (10/12) | `frontend/src/b/SkyPage.tsx`, `backend/services/calc/sky_score.py` (`reason`) |
| [ ] | 토스 로그인 운영 설정 — 서버 `secrets/toss/` 인증서·키, `.env` `TOSS_*` 세 줄은 넣음(10/14). 남은 것: 정산정보 등록(대표님), 배포, 콘솔 약관 링크·콜백, `4050 인증서버에 등록된 미니앱이 아닙니다` 재확인 | 토스 로그인 구현(10/14) | `compose.yaml`, `.env.example`, `backend/config/settings.py` |
| [ ] | 토스 번들 다시 만들기 — 로그인(4050) 풀린 뒤 `npm run build:toss`로 한 번에. 지금 콘솔 번들엔 로그인·GA `platform` 값이 없음. 로그인 실패 상태로 검수 올리면 반려 위험 | 로그인 미완성이라 미룸(10/14) | `frontend/` |
| [ ] | **[결정 필요]** 토스 연결 끊기 처리 — 지금은 UNLINK·탈퇴 모두 토큰만 무효로 함. 토스 탈퇴(`WITHDRAWAL_TOSS`·`WITHDRAWAL_TERMS`) 때 계정·댓글을 지울지 | 토스 로그인 구현(10/14) | `backend/services/auth_service.py` |
| [ ] | 토스 로그인 문구 검토 — '토스로 로그인', '토스로 로그인했어요', '토스 로그인을 마치지 못했어요. 한 번 더 눌러 주세요.', 기본 닉네임 '토스1234'(userKey 끝 4자리), 로그인 창 '날씨각 로그인'·'로그인하면 동네 이야기를 쓰고 내 각을 저장할 수 있어요', 인트로 '오늘 날씨에 맞는 일을 점수로 알려 줘요'·'세차·빨래·러닝 각 점수'·'오늘 노을이 예쁜 시간'·'이번 주말 가까운 행사'·'시작하기'(10/24) | 토스 로그인 구현(10/14) | `frontend/src/b/Sheets.tsx`, `backend/services/auth_service.py` |
| [ ] | 토스판 첫 실행에 인트로와 위치 권한 창이 같이 뜸 — 위치 권한은 앱이 뜨자마자 물어서 인트로 위에 겹칠 수 있음. '시작하기' 뒤로 미룰지 토스 앱에서 확인 | 인트로 추가 (10/24) | `frontend/src/b/region.tsx`, `frontend/src/b/tossIntro.tsx` |
| [ ] | 메뉴의 '로그인하면 좋아요·댓글을 쓸 수 있어요' — 좋아요·댓글은 로그인 없이 됨(10/21 결정)이라 문구가 틀림 | 인트로 추가 중 발견 (10/24) | `frontend/src/b/Sheets.tsx:1117` |
| [ ] | 댓글 신고·차단 — 앱인토스 필수 아님(신고·차단 필수는 채팅·만남·중고거래만, 서비스 오픈 정책·서비스별 주의사항). 만들지 않기로 함(10/14). 검수에서 요청이 오면 만든다 | 토스 로그인 구현(10/14) | |
| [x] | 각 늘리기 53→68 — 리서치로 고른 8개(한강·놀이공원·데이트·곱슬머리·보일러·선크림·모기·테니스) + 감성 7개(효도·감사·선물·파티·게임·셀카·센치), 아이콘 15개(Codex) | 사용자 요청 (10/20, 리서치 https://claude.ai/artifact/3ZQbtGKRLVZViRRC5voBzY) | `backend/seed/index_definition.json`, `frontend/public/icons/`, `frontend/src/b/lib.ts` |
| [ ] | **[결정 필요]** 한강각·놀이공원각이 강·놀이공원 없는 동네에도 나옴 — 각을 지역별로 가려 보여 주는 기능이 없음(한강밤바람각도 같음). 서울·한강 인접 구만 보일지 | 새 각 추가 중 발견 (10/20) | `backend/seed/index_definition.json`, `backend/services/index_service.py` |
| [ ] | **[결정 필요]** 기존 각과 겹침 — 센치↔감성노래, 게임↔넷플릭스·집콕, 곱슬머리↔화장붕괴, 효도↔트로트, 셀카↔사진산책. 둘 다 둘지 합칠지 | 새 각 추가 중 발견 (10/20) | `backend/seed/index_definition.json` |
@@ -266,4 +286,59 @@
| [x] | 10/24 나들이 타로(등산각·드라이브각·한강각, 질문 "어느 곳으로 나들이를 가면 좋을까요?") 킹서버 카드 2 → 포스트 3648, 인스타 https://www.instagram.com/p/De3N7LnIJyZ/ 게시. 같은 날 오늘의 코디(캐주얼, mild 구간 그림 재사용) 킹서버 카드 3 → 포스트 3649, 인스타 https://www.instagram.com/p/De3OVz6oC9e/. 그림 생성 모델: `gpt-6-luna`는 그림을 파일로 저장 못 해 실패, `gpt-6-sol`·low로 바꿔 성공(장당 ~28k 토큰) | 사용자 요청 (10/24) | `admin/scripts/gen-image.mjs` |
| [x] | 10/24 날씨각 소개 카드(인스타 전용, 8장, `intro` 템플릿 — Codex gpt-6-sol이 설계) 인스타 https://www.instagram.com/p/De3SUTtoDGR/ 게시. 킹서버엔 카드 4로 저장만(승인 대기, 피드엔 안 나감). 해시태그는 `card_set.hashtags`로 인스타 캡션에만 붙음(타로·코디 템플릿도 적용) | 사용자 요청 (10/24) | `admin/src/cards/templates.tsx`, `backend/router/v1/card/card.py` |
| [ ] | 인스타 릴스(20초, 2.5D: Codex 3D 렌더풍 배경 + 카메라 패럴랙스, 무료 BGM, API로 업로드) — 백엔드에 mp4 공개 주소 + REELS 게시 추가 필요 | 사용자 요청 (10/24) | `backend/services/external/instagram.py` |
| [ ] | 인스타에 올라간 불량 게시물 삭제(앱에서만 가능): 소개 카드 De3SUTtoDGR·De3ycbAIPVw(스샷 잘림)·De31G7VIBEc(7·8번 장 치우침), 릴스 18152745022535272(폰 잘림), 10/25 꾸안꾸 코디 De58VfXINy0(20-30대와 40대~ 옷이 같음)·De5-8gboL-c(40대 여자 롱가디건·여름 옷)·De6B2gwIMXF(이름표 자리 어긋남) — 킹서버 포스트 3961·3962·3963은 deleted=true로 숨김 | 10/24·10/25 검수 실패 | — |
| [ ] | 소개 카드 최종본(`admin/out/2026-10-24/소개카드_1~8.jpg`, 10/24 21:54 — 8장 1:1 검수 완료, 모서리 캐릭터는 1번만·4·6·8번은 3D 스틸 안 캐릭터)과 3D 릴스(`admin/out/2026-10-24/릴스_3D.mp4`·표지 `릴스_3D_표지.jpg`, 21프레임 검수 완료) — 사용자가 "올려"라고 할 때만 올림. 릴스 음악은 HeyGen 로그인(`~/.local/bin/heygen auth login --oauth`) 뒤 `npx hyperframes media-use resolve --type bgm` | 10/24 | `admin/reels/intro3d/` |
| [x] | 코디 옷 데이터 — 세미정장·정장·스트릿·꾸안꾸 4스타일은 7개 기온 구간 전부 20-30대와 40대~ 옷이 같음(캐주얼만 다름, warm·꾸안꾸는 10/25 고침). 40대~ 여/남 옷 목록 54개를 새로 써서 검토받고 반영 — 10/26 그날 코디(--daily)로 대체해 고정 데이터는 예비용만 | 10/25 발견 | `admin/image-prompts/ootd.json` |
| [x] | 코디 카드 매일 다르게 — 고정 옷 데이터 대신 무신사 스냅 공개 API에서 오늘 구간 인기 코디를 사람별(40대~ 단정 태그 우선)로 골라 Claude가 옷 목록 추출, Codex가 참고 사진 첨부로 플랫레이 생성(`npm run card -- ootd --daily`, `/daily-cards`). 10/26 4장 검수 통과. 에이블리는 공개 API 없음(앱 전용)이라 미사용 | 사용자 요청 (10/26) | `admin/scripts/daily-ootd.mjs`, `snap.mjs`, `outfit.mjs`, `codex-image.mjs` |
| [x] | 10/26 세미정장 코디(그날 코디 첫 게시) — 킹서버 카드 12→포스트 4275, 인스타 https://www.instagram.com/p/De8O2kqATrl/. 무신사 스냅 4개 참고, 4장 1:1 검수 | 사용자 요청 (10/26) | `admin/scripts/daily-ootd.mjs` |
| [x] | 10/26 몸 컨디션 타로(건강: 등산각·자전거각·산책각) — 킹서버 카드 13→포스트 4276, 인스타 https://www.instagram.com/p/De8Zw7MIEVW/. 기획에서 3번 산책각 비 시점 틀린 것 피드백으로 고침. card.mjs --post-wait 가 ECONNRESET 으로 두 번 실패해 post-king.py 로 저장 | 사용자 요청 (10/26) | `admin/scripts/card.mjs` |
| [x] | 각 카드 그림 미리 생성 — 가을에 나올 만한 28장(피크닉·캠핑·놀이공원·빨래·단풍·억새·테니스·골프·군고구마·붕어빵·군밤·사진산책·별보기·환기·세차·이불빨래·데이트·치맥·막걸리·파전·우산·넷플릭스·집콕·한강밤바람·멍뭉산책·센치·감성노래·낚시) + 기존 8 = 36/68. 여름·한겨울 전용 32장은 철 되면 생성 | 사용자 요청 (10/26) | `admin/src/assets/gak-card/` |
| [ ] | 카드 자동화 다음 단계 — ① 생성 직후 자동 검사(Claude 비전: 옷 개수·사람·글자·추가 옷, 불합격 1회 재생성) ② 승인 대기 카드 메일/Teams 알림 + 서명 토큰 승인 링크(`GET /v1/card/{id}/approve`) ③ 맥 launchd 매일 06:30 `claude -p "/daily-cards"` ④ 그림 세트가 차면 킹서버로 이전 | 사용자 요청 (10/26) | `backend/router/v1/card/card.py`, `admin/scripts/` |
| [ ] | 앱 헤더가 400~448px 폭에서 컨테이너를 넘쳐 로그인 버튼이 잘림(`frontend/src/b/BLayout.tsx` TopBar). 캡처는 456px로 찍어 피했지만 실제 폰(430·440px)에서도 잘릴 수 있음 | 10/24 캡처 중 발견 | `frontend/src/b/BLayout.tsx` |
| [ ] | `npm run card`가 크롬 멈춤에 시간 제한이 없음 — 10/24 소개 카드 7번 장에서 헤드리스 크롬이 75분 멈춰 있었음(`--virtual-time-budget`만으론 안 끝남). `execFileSync`에 `timeout`(예: 60초) 주고 실패 시 그 장만 재시도 | 10/24 렌더 중 발견 | `admin/scripts/card.mjs` |
| [x] | 10/25 건강·운동 타로(킹서버 카드 7→포스트 3960, 인스타 https://www.instagram.com/p/De5iLg4AS_M/)·꾸안꾸 코디는 처음 올린 카드 8→포스트 3961(인스타 De58VfXINy0)이 40대~ 옷이 20-30대와 같아 숨기고, 40대~ 옷을 새로 써서 카드 9→포스트 3962(인스타 De5-8gboL-c)로 재게시했으나 40대 여자 그림에 롱가디건이 끼고 전체가 여름 옷으로 보여 다시 숨김. 일교차 8도 이상이면 겉옷을 5번째 옷으로 넣게 고쳐 카드 10→포스트 3963(인스타 De6B2gwIMXF)으로 올렸으나 그림 배치와 이름표 자리가 어긋나 숨김. 프롬프트에 옷 자리를 적고 다시 그려 카드 11→포스트 3964, 인스타 https://www.instagram.com/p/De6JRIkoKbT/ 로 최종 게시. 07:52 예약(세션 크론)이 세션 종료로 안 돌아 09:46 수동 실행. 코디는 사용자 결정으로 사람 구분을 20-30대·40대~ 4장으로 바꿈(f30·m30 그림 파일 8장은 남아 있으나 미사용). 새 그림 8장(러닝각·자전거각·warm 꾸안꾸 6) | 사용자 요청 (10/24) | `admin/image-prompts/ootd.json`, `admin/scripts/card.mjs` |
## 앱(React Native) 마이그레이션
| 상태 | 할 일 | 이유 | 관련 파일 |
|---|---|---|---|
| [x] | 1단계: 웹·앱 공통 코드 `shared/`(`@nalssigak/shared`) 분리, 루트 npm workspaces, 웹 Docker 빌드 대상을 루트로 | 앱과 API 클라이언트·로직 공유 | `package.json`, `shared/`, `frontend/Dockerfile`, `compose.yaml`, `.dockerignore` |
| [x] | 2단계: 앱에 react-query·Uniwind 설정 + Metro가 `react`를 `mobile/node_modules`(19.2.3) 것만 쓰게 설정 — 루트에는 웹용 react 19.3.0이 있고 RN 렌더러는 19.2.3에서만 돌아감 | 앱 시작 준비 | `mobile/metro.config.js`, `mobile/src/app/_layout.tsx`, `mobile/src/lib/query-client.ts` |
| [x] | 앱 토큰 저장소 `expo-secure-store`로 `configureApi` 연결, API 주소는 `EXPO_PUBLIC_API_BASE_URL` | 웹은 localStorage | `mobile/src/lib/api.ts`, `mobile/.env.example` |
| [x] | 안드로이드 에뮬레이터(Expo Go)에서 확인: 오늘 화면 실데이터, 위치 권한 창, 탭 이동, 각 근거 시트 | | `mobile/` |
| [x] | 안드로이드 개발 빌드에서 가입·로그인(아바타 표시)·좋아요·이미지 공유·위치로 지역 찾기 확인 | | `mobile/` |
| [ ] | 안드로이드 댓글 쓰기·내 정보 바꾸기·로그아웃 확인 | 아직 안 눌러 봄 | `mobile/src/components/sheets/` |
| [x] | 출시 빌드 설정: `eas.json`(production 은 운영 API·사이트 주소, 빌드 번호 자동 증가), iOS 수출 규정 암호화 없음, 안드로이드 권한은 대략 위치만(정밀 위치·저장소·다른 앱 위에 그리기 뺌) | | `mobile/eas.json`, `mobile/app.json` |
| [ ] | 출시 빌드 전 준비(사용자): Apple Developer·Google Play Console·Expo 계정, 스토어 스크린샷·설명·데이터 안전 양식 | 서명·제출에 필요 | |
| [x] | 회원 탈퇴(스토어 심사 필수): `DELETE /v1/auth/me` — 계정·댓글·좋아요·저장 모두 삭제, 게시물·댓글 수 맞춤. 웹·앱 내 정보 시트 '탈퇴하기'(한 번 더 확인) | Apple 5.1.1(v), Google Play 계정 삭제 정책 | `backend/crud/user_crud.py`, `backend/services/auth_service.py`, `frontend/src/b/Sheets.tsx`, `mobile/src/components/sheets/me.tsx` |
| [ ] | 운영 배포 때 탈퇴 API 같이 나감 — 배포 전 웹 내 정보 시트 '탈퇴하기' 화면 확인 (앱은 안드로이드에서 확인, 웹은 빌드·린트만) | | `frontend/src/b/Sheets.tsx` |
| [ ] | 백엔드 테스트 3개가 날짜 때문에 실패 (10/19): `test_feed`(제철 각 수 42≠40), `test_watch`, `test_weather_today`(10월 하순 18시가 일몰 뒤라 'sunset' 아이콘 아님) — 탈퇴 작업과 무관 | 기대값을 날짜에 안 묶이게 고쳐야 함 | `backend/tests/` |
| [ ] | Xcode 설치 후 iOS 시뮬레이터에서 전체 확인 | | `mobile/` |
| [x] | 안드로이드 개발 빌드(`expo run:android`) 설치 확인: 홈 화면 해 아이콘·'날씨각' 이름, 실데이터 화면 | | `mobile/` |
| [x] | 앱 ID: 안드로이드 패키지 `kr.o2o.nalssigak` — Play Console 기존 '날씨각'(Wear OS 트랙에 워치 앱 있음)에 휴대전화 앱으로 추가하려면 패키지명이 같아야 함. iOS 번들 ID는 미정 | 스토어에 올리면 못 바꿈 | `mobile/app.json` |
| [x] | Play 제출: 휴대전화 versionCode 1000부터 (10/23 `app.json` versionCode 1000, 로컬 빌드)(워치가 1 사용) — `eas login` 후 `eas build:version:set -p android` | 같은 앱 안에서 versionCode 겹치면 안 됨 | `mobile/eas.json` |
| [x] | Play 제출: 워치 앱과 같은 업로드 키 (10/23 로컬 빌드로 서명 확인, SHA-1 D3:51…44:79. 비밀번호는 ~/.gradle/gradle.properties `NALSSIGAK_UPLOAD_*`)(.jks)를 `eas credentials -p android`로 등록 (사용자: 키 파일·비밀번호 준비, 분실 시 Play Console에서 업로드 키 재설정) | EAS는 안 넣으면 새 키를 만듦 | |
| [ ] | 출시 aab 서명 설정이 생성 폴더 `mobile/android/app/build.gradle`에만 있음 — `expo prebuild --clean` 하면 지워지니 다시 넣거나 config plugin으로 옮기기 | `android/`는 gitignore·재생성 | `mobile/android/app/build.gradle` |
| [ ] | 앱 구글 로그인 기기 확인: 네이티브 다시 빌드 → 구글 계정 로그인된 에뮬레이터(Play 서비스 이미지)에서 구글로 계속하기 | 새 네이티브 모듈이라 지금 설치된 개발 빌드엔 없음. Android 클라이언트(개발·Play SHA-1)는 콘솔에 등록됨 | `mobile/src/components/sheets/google.tsx` |
| [ ] | 운영 서버 `.env`에 `GOOGLE_CLIENT_ID`(웹 클라이언트 ID) 넣고 구글 로그인 백엔드 배포 | 비어 있으면 `/v1/auth/config`가 ID를 안 줘서 앱·웹 구글 버튼이 숨음 | `backend/config/settings.py` |
| [ ] | Play 제출(사용자): 휴대전화 스크린샷 2장+, 개인정보처리방침 URL, 계정 삭제 URL(웹 '탈퇴하기' 운영 배포 후), 데이터 보안 양식(대략 위치·계정 정보·댓글), 콘텐츠 등급, 앱 액세스용 심사 테스트 계정. 개인 계정(2023.11 이후)이면 비공개 테스트 12명·14일 | | |
| [x] | Play UGC 정책(댓글): 처음 댓글 쓸 때 이용약관 동의(`POST /v1/auth/terms`), 남의 댓글 ⋯ → 신고(이유 4가지, 신고한 사람에겐 바로 숨김, 3건이면 모두에게 숨김) / 이 사람 차단, 내 정보 '차단한 사람'·풀기, 운영 조치 `scripts/moderate.py`(숨김·되살림·정지), 탈퇴 때 신고·차단도 삭제 | Play 'User Generated Content' 정책 | `backend/`, `frontend/src/b/Sheets.tsx`, `frontend/public/terms.html`, `mobile/src/components/sheets/` |
| [ ] | 운영 DB 반영: `init.sql`의 `users.terms_agreed_at`, `comment.report_count`·`is_hidden`, `comment_report`, `user_block` (ALTER·CREATE IF NOT EXISTS) — 코드 배포 전에 먼저 | 새 코드가 이 칼럼을 읽음 | `backend/postgres-init/init.sql` |
| [ ] | **[검토 필요]** 이용약관 초안 문구 검토 | 법무 문구라 확인 필요 | `frontend/public/terms.html` |
| [ ] | 개인정보처리방침에 휴대전화 앱·댓글·신고·차단 기록 추가 (지금은 웹·워치 앱만 적혀 있음) | Play 데이터 보안 양식과 맞아야 함 | `frontend/public/privacy.html` |
| [x] | 앱 신고·차단·약관 화면 안드로이드 확인: ⋯ 메뉴, 차단 확인·안내·목록에서 빠짐, 약관 동의 후 바로 게시, 내 정보 '차단한 사람' 풀기 (신고 흐름은 백엔드 테스트로만). 새 패키지 `kr.o2o.nalssigak` 개발 빌드로 다시 설치함 | | `mobile/` |
| [ ] | 오늘 날씨 칸(3시·6시 등)이 '?' — 백엔드가 며칠 꺼져 있다 켜지면 최신 발표(예: 8시, 9시부터 예보)만 받아 새벽 칸 행이 없음. 0시 재수신(`_midnight_missing`)은 0시에 묵은 값이 있으면 안 돎. 운영은 늘 켜져 있어 드묾 — 고칠 땐 오늘 칸 중 비거나 묵은 칸이 있으면 다시 받기 | 10/19 로컬(9811)에서 확인, 앱·웹 버그 아님 | `backend/services/weather_service.py` (`today`, `ensure_vilage`, `_midnight_missing`) |
| [x] | 앱 아이콘 3D 해 그림(600px 원본)으로: iOS 1024, 안드로이드 적응형(앞·뒤·단색), 스플래시. Expo Go 에선 안 보이고 개발 빌드부터 보임. 스토어용으로는 1024px 이상 원본이 있으면 더 선명 | | `mobile/assets/images/` |
| [x] | 3단계-1: 탭 5개 구조·위 막대·하늘 배경·밤 테마(Uniwind dark), Today 히어로·각 순위·행사/TOP5/계절 띠 | | `mobile/src/app/`, `mobile/src/components/` |
| [x] | Today 게시물 카드(슬라이드 7종·넘기기·좋아요·댓글·텍스트 공유), 3·6·9번째 글 뒤 띠 | | `mobile/src/components/post/`, `mobile/src/app/index.tsx` |
| [x] | 시트 7종(각 근거·읽을거리·댓글·이번 주 특집·로그인/가입·내 정보·지역 고르기)을 RN `Modal`로, 위 막대 로그인/아바타 | 새 패키지 없이 | `mobile/src/components/sheets/`, `mobile/src/components/top-bar.tsx` |
| [x] | 고른 지역 저장 (SecureStore) | | `mobile/src/lib/region.tsx` |
| [x] | 위치로 지역 찾기(`expo-location`): 처음 켠 사람은 가장 가까운 구로, 지역 시트 '지금 위치로 찾기' | 웹과 같게 | `mobile/src/lib/region.tsx`, `mobile/src/components/sheets/region.tsx` |
| [x] | 움직임: 해·구름 떨어지기/둥둥, 비·눈, 스켈레톤 깜빡임, 첫 로딩 덮개, 하늘색 서서히 바뀜, 밤 별 반짝임 ('동작 줄이기' 켜면 멈춤) | | `mobile/src/components/today/hero.tsx`, `first-load.tsx`, `sky-bg.tsx` |
| [x] | 나머지 탭(각·노을·주말·행사·계절·상식) 옮기기 | | `mobile/src/app/`, `mobile/src/components/{gak,sky,week,season}/` |
| [x] | 이미지로 공유(`react-native-view-shot` + `expo-sharing`): 게시물은 보고 있는 슬라이드, 주말은 고른 날 추천 카드 | 웹 스토리 이미지(머리말·주소 붙인 9:16)와는 다름 | `mobile/src/lib/share-image.ts` |
| [x] | 웹과 다른 작은 것들 맞춤: 좋아요 튀는 하트·토스트, 밤 별똥별, 단풍잎 떨어짐, 시 구절 고운바탕, 실패·빈 안내 높이 유지(hold), 시트 배경은 제자리 페이드 | | `mobile/src/` |
| [ ] | 공유 이미지를 웹처럼 9:16 스토리(머리말·사이트 주소)로 — 지금은 화면 그대로 찍음. 좋아요 효과는 카드 안에만 뜸(RN에 portal 없음) | 남은 차이 | `mobile/src/lib/share-image.ts`, `mobile/src/components/post/` |
| [x] | `mobile/` 템플릿 예제 화면·`.vscode`·`LICENSE`·README 지움, `AGENTS.md`·`.claude`는 둠 | 사용자 결정 | `mobile/` |
| [ ] | `frontend-dev` 개발 컨테이너 실제로 띄워 확인 (이미지 빌드만 확인, 5173이 사용 중이라 실행은 못 함) | 볼륨 경로 바뀜 | `compose.yaml` |
| [ ] | 운영 서버가 git pull 뒤 루트 `package-lock.json`으로 빌드되는지 배포 때 확인 | 빌드 대상이 `./frontend` → `.` | `deploy.sh`, `compose.yaml` |
+3
View File
@@ -25,3 +25,6 @@ dist-ssr
# npm run card 결과
out
# 그날 코디 그림 (scripts/daily-ootd.mjs 가 만들고 카드가 /daily/... 로 읽는다)
public/daily
+34
View File
@@ -33,6 +33,10 @@ VITE_API_BASE_URL=http://localhost:9810 npm run dev # http://localhost:5175
- **카드**: 날씨각 각 카드(`../backend/seed/index_definition.json`, 53장). 오늘 점수가 높은 각 중 질문과 엮이는 3장을 고르고, 각 카드로 질문을 리딩한다. 카드 그림은 그 각의 아이콘.
- 대주제·소주제·아이콘을 늘리려면 `topics.json`만 고친다. 새 꾸밈 모양은 CSS와 `image-prompts/tarot.json`에 같이 더한다.
## 매일 올리기 (슬래시 명령)
사용자용 안내는 `docs/인스타_카드_사용법.md`. Claude Code에서 `/daily-tarot <주제>`, `/daily-ootd <스타일>`, `/daily-cards <주제> <스타일>` 을 치면 만들기 → 장마다 검수 → 킹서버 피드·인스타 게시 → 링크 보고까지 한 번에 한다. 명령 정의는 `.claude/commands/`.
## 대화로 만들 때 (Claude·Codex)
사용자가 "오늘 주식 날씨 타로 만들어 줘"처럼 말하면 아래 명령을 실행한다. 관리자 화면(`npm run dev`)이 켜져 있어야 한다.
@@ -55,6 +59,25 @@ VITE_API_BASE_URL=http://localhost:9810 npm run card -- tarot --topic 주식 [--
- 관리자 서버가 비밀값을 `/api/post`·`/api/cards`에서만 붙인다. 브라우저엔 안 나간다. 킹서버 키는 킹서버 `.env`의 `ADMIN_API_KEY`와 같은 값.
- 켜는 예: `VITE_API_BASE_URL=http://localhost:9810 ADMIN_API_KEY=… KING_ADMIN_API_KEY=… npm run dev`
## 그날 코디 (무신사 인기 스냅 → 옷 추출 → 참고 사진대로 그림)
코디 카드는 고정 데이터(`image-prompts/ootd.json` 구간×스타일 옷) 대신 **그날 무신사 인기 스냅**으로 만든다. 같은 날씨라도 매일 다른 코디가 나온다.
```bash
VITE_API_BASE_URL=https://weather.o2o.kr npm run card -- ootd --daily --style minimal --color sky --post-wait
```
포스트 하나는 스타일 하나(`--style`, 기본 minimal=꾸안꾸): 네 사람 모두 그 스타일 태그(`scripts/snap.mjs STYLE_TAGS`)가 붙은 스냅에서 고르고 제목도 그 스타일로 통일한다.
흐름(`scripts/daily-ootd.mjs`):
1. 오늘 예보로 기온 구간을 정한다(`scripts/daily-ootd.mjs weatherToday`).
2. `scripts/snap.mjs`: 무신사 스냅 공개 API에서 구간에 맞는 태그(가을코디·간절기코디·겨울코디…)와 단정 키워드(오피스룩·댄디룩…)로 인기 스냅을 모으고, 상품 카테고리로 상의·하의·신발이 다 있는 것만 남긴 뒤 사람별(40대~ 먼저, 단정 태그 가산점)로 하나씩 고른다. 45일 지난 스냅, 구간에 안 맞는 아우터(패딩·코트 등)·반바지는 뺀다. 사진·상품 썸네일은 `out/<날짜>/snaps/<사람>/`에 참고용으로만 받고 어디에도 올리지 않는다.
3. `scripts/outfit.mjs`: Claude CLI(sonnet, Read 로 사진을 봄)가 자리별(top·outer·bottom·shoes·bag) 한글 이름표와 영어 그림 설명을 뽑는다.
4. `scripts/codex-image.mjs`: Codex 에 스냅 사진·상품 썸네일을 첨부(`-i`)해 같은 옷·색으로 우리 플랫레이 스타일 그림을 그린다 → `public/daily/<날짜>-<사람>.webp` (git 에 넣지 않음).
5. 카드는 `copy.outfits`(JSON 문자열)로 이름표·그림 주소를 받는다(`src/cards/ootd.ts dailyOutfits`). 제목은 Claude 가 정한 스타일 한 단어(꾸안꾸·오피스룩…).
에이블리는 공개 API가 없어 쓰지 않는다(앱 전용). 고정 데이터 방식(`--daily` 없이)은 그대로 남아 있다.
## 카드 그림 만들기 (Codex 이미지 생성)
**그림은 그날 만드는 카드에 필요한 것만 그때 만든다.** 조합(기온 구간 × 스타일 × 사람, 타로 78장)을 미리 일괄로 만들지 않는다. Codex 사용량이 한정돼 있다.
@@ -76,6 +99,17 @@ npm run gen-image -- ootd cool-f20-casual --force # 한 장 다시 그리기
- 유행: `styles.<스타일>.trends.<사람>`에 요즘 한국 유행(실루엣·색·소재)을, `bands.<구간>.layering`에 기온별 레이어링을 적어 프롬프트에 넣는다. 2026-10-23 조사(무신사·에이블리·29CM·W컨셉·지그재그·크림 기사·보그·엘르). 연령별 판매 자료는 거의 없어 플랫폼 주 고객층(에이블리·지그재그·W컨셉=2030 여성, 무신사·크림=2030 남성)으로 나눈 것이다. 철이 바뀌면 다시 조사해 고친다.
- 만든 그림은 직접 열어 사람·얼굴·글자가 없는지 확인한다.
## 올리기 전 검수 (예외 없음)
인스타·날씨각에 올리는 건 되돌릴 수 없다(인스타는 API로 삭제도 못 한다). 올리기 전에 반드시:
1. **장마다 1:1(원본 크기)로 본다.** 축소한 시안 시트(contact sheet)만 보고 판단하지 않는다. 스크린샷·그림이 들어간 장은 그 부분을 잘라 원본 크기로 본다.
2. **스크린샷은 찍힌 원본부터 확인한다.** 앱 화면은 뷰포트가 좁으면 오른쪽이 잘려 찍힌다(머리 줄의 로그인 버튼까지 다 보이려면 가로 470px 이상, `--force-device-scale-factor=2`). 카드 CSS를 고치기 전에 원본 파일이 온전한지 본다.
3. **고친 뒤에는 고친 부분을 다시 1:1로 본다.** "고쳤으니 됐다"로 올리지 않는다. 같은 포스트를 다시 올리면 예전 글은 사용자가 앱에서 지워야 하므로, 재게시는 확인된 뒤 한 번만.
4. 영상(릴스)은 렌더된 mp4에서 프레임을 뽑아 본다(`ffmpeg -vf fps=2,tile=…`). 스크린샷이 들어간 장면은 그 프레임을 원본 크기로.
2026-10-24 소개 카드를 축소 시트만 보고 두 번 올렸다가 두 번 다 폰 스크린샷 오른쪽이 잘린 채 나간 일에서 정한 규칙이다.
## 규칙
- 카드 모양은 `src/cards/templates.tsx`(템플릿)와 `src/cards/cards.css`(모양)에서만 정한다. 웹 화면과 `npm run card`가 같은 템플릿을 쓰므로, 한 번 바꾸면 둘 다 바뀐다. 포스트마다 따로 디자인하지 않는다.
File diff suppressed because it is too large. Load diff
+11
View File
@@ -0,0 +1,11 @@
{
"about": "인스타 릴스(9:16) 배경 그림. 2.5D — 한 장을 깊이별로 레이어처럼 보이게 그려 카메라 패럴랙스를 얹는다. 글자가 올라갈 위쪽 가운데는 비워 둔다. npm run gen-image -- reel-bg <id|missing>",
"style": "Use case: stylized-concept. Asset type: text-free VERTICAL 9:16 background illustration for a Korean weather app's Instagram Reel. Look: soft 3D clay render, rounded matte shapes, gentle studio lighting, pastel base with saturated accents (sky blue #4f97e3, orange #ff7a45), matching cute 3D fluent-emoji style icons. Composition: strong depth layering — foreground objects touching the bottom and side edges, a mid-ground subject, a far background; keep the upper-middle 40% of the frame calm and uncluttered so text can be overlaid. No people, no animals, no text, no letters, no numbers, no logos, no UI. Scene: {motif}. Output exactly one portrait image, ratio 9:16.",
"items": [
{ "id": "sky", "motif": "a dreamy daytime sky with fluffy 3D clouds at several depths, a soft sun upper right, a few floating leaves, and rolling green hills along the bottom edge" },
{ "id": "rain-city", "motif": "an overcast rainy city seen from above the rooftops: grey-blue clouds, soft rain streaks, wet rooftops and puddles reflecting lights, muted palette with a single orange accent roof" },
{ "id": "beach", "motif": "a sunny beach bay seen from a low grassy hill: turquoise water, pale sand, a striped parasol and a picnic mat in the near corner, big clear sky, Korean east-coast feel" },
{ "id": "mountain", "motif": "an autumn mountain trail: red and yellow maple trees, rounded rocks, a blank wooden signpost, misty ridgelines far away, clear blue sky above" },
{ "id": "hangang-sunset", "motif": "Seoul Han river at sunset: orange-pink sky, a long bridge silhouette with warm lights, river reflections, a grassy riverbank with a picnic mat in the foreground, Namsan tower silhouette far away" }
]
}
+4
View File
@@ -0,0 +1,4 @@
node_modules/
.hyperframes/
out/
*.mp4
+109
View File
@@ -0,0 +1,109 @@
# HyperFrames Composition Project
This folder is a [HyperFrames](https://hyperframes.heygen.com) video: HTML, CSS and seekable
animations (GSAP by default) that the `hyperframes` CLI previews in the browser and renders to
MP4.
## Skills — read these first
**Invoke the relevant skill before writing or modifying compositions.** Skills encode framework-specific patterns (e.g., `window.__timelines` registration, `data-*` attribute semantics, shader-compatible CSS rules) that generic web docs don't cover, so compositions written without them break.
**Doing anything with HyperFrames?** Start at `/hyperframes`. Make any video by asking for it; the `/hyperframes` skill carries the contract and the references (each kind of film, story, motion, look, sound, review, captions, overlays). Read it first, especially when there's no project context to orient you.
- `/hyperframes` — read first for any request to make, edit, animate or render a video, motion graphic, captions or overlays. Holds the render contract and the work loop.
- `/hyperframes-cli` — the CLI by job: scaffold, check, look at frames, edit the timeline, preview, render, publish, project history.
- `/hyperframes-registry` — ready-made blocks and components installed as editable source. Search it before hand-building any named visual.
- `/media-use` — get or make any media (music, sound effects, images, voiceover, avatar and generated video, transcripts, cutouts, colour grades) and mix placed audio.
- `/figma` — bring a Figma design, frame, logo or brand into a video.
- `/slideshow` — a presentation or pitch deck. Output is a navigable deck, not a rendered MP4.
- `/remotion-to-hyperframes` — bring existing video code or footage into HyperFrames (Remotion first; also Motion Canvas, Lottie, Three.js, canvas, or renders from other tools) and verify it frame by frame against the original.
**Changing how real footage or images look or reveal?** Load `/media-use` and read its `references/media-treatments.md` before editing, even when the request only says dark, flat, boring, retro, private, or “make the reveal cooler.” It governs how footage is treated, never whether media may be used. Use canonical media treatments and seek-safe motion; do not improvise equivalent CSS/SVG filters or overlays.
> **Tailwind v4 projects** (`hyperframes init --tailwind`): see `hyperframes-cli/references/init-and-scaffold.md` (Tailwind).
> **Using a HyperFrames plugin?** Load skills from that installed bundle and follow
> its `hyperframes/references/plugin-installation.md` execution rules. Update via
> the plugin manager, not the standalone commands below.
>
> **Standalone skill missing or stale?** Run `npx hyperframes skills update <name>` to install/refresh
> the specific skill you need, or bare `npx hyperframes skills update` to refresh the core set plus
> everything already installed — neither pulls the full set. Restart the agent session so
> newly installed skills load.
## Commands
```bash
npm run dev # human-operated foreground preview (blocks until stopped)
npx hyperframes preview --background # agent-safe persistent Studio preview
npx hyperframes preview --status # verify the persistent preview is listening
npx hyperframes preview --stop # stop it when review is finished
npm run check # lint + runtime + layout + motion + contrast (one command)
npx hyperframes snapshot --at 1,3,5 # PNG frames at those seconds, to look at before rendering
npm run render # render to MP4
npm run publish # publish and get a shareable link
npx hyperframes lint --verbose # include info-level findings
npx hyperframes lint --json # machine-readable output for CI
npx hyperframes docs <topic> # reference docs in terminal
```
> **Agents must use `npx hyperframes preview --background` for Studio handoff.** Do not rely
> on a shell/tool `run_in_background` wrapper around `npm run dev`: that foreground process
> remains owned by the invoking session and can disappear while the browser stays open,
> leaving refreshes at `ERR_CONNECTION_TIMED_OUT`. Verify with `preview --status`, keep it
> alive through review, and stop it explicitly with `preview --stop` afterward.
> **Back from the desktop app.** Once this project was opened in the HyperFrames desktop app, run `npx hyperframes catch-up` before your next change here: it lists what the person asked Framey in the app and which files changed since.
> **Pinned CLI version.** These scripts pin an exact `hyperframes@X.Y.Z` so this project re-renders identically over time. Weeks later that pin lags fixes shipped since. To move up: `npx hyperframes@latest upgrade --project . --check` (shows the delta), then `npx hyperframes@latest upgrade --project .` to rewrite the pins. Always unpinned — the pinned script re-runs the old version against itself.
## Documentation
**For quick reference**, use the local CLI docs command (no network required):
```bash
npx hyperframes docs <topic>
```
Topics: `data-attributes`, `gsap`, `compositions`, `rendering`, `examples`, `troubleshooting`
**For full documentation**, discover pages via the machine-readable index — do NOT guess URLs:
```
https://hyperframes.heygen.com/llms.txt
```
## Project Structure
- `index.html` — main composition (root timeline)
- `compositions/` — sub-compositions referenced via `data-composition-src`
- `meta.json` — project metadata (id, name)
- `transcript.json` — whisper word-level transcript (if generated)
## Linting — ALWAYS RUN AFTER CHANGES
After creating or editing any `.html` composition, **always** run the full check before considering the task complete:
```bash
npm run check
```
Fix all errors before presenting the result. Warnings should be reviewed before rendering.
Then look at what you changed: `npx hyperframes snapshot --at <seconds>` (or `--range START,END`, `--composition <id>`) at the moments you edited, and read the frames before you reply. A passing check does not show how it looks.
## Key Rules
1. Every timed element needs `data-start` and a duration. `data-start` is what marks it as timed; `data-track-index` is an optional Studio display lane the render never reads
2. Give timed visual elements `class="clip"`. The framework keys visibility off `data-start`, not the class, but the shared `.clip` CSS is what gives a scene its full-frame box, and `lint` warns without it
3. Register one paused root timeline per composition on `window.__timelines`:
```js
window.__timelines = window.__timelines || {};
window.__timelines["composition-id"] = gsap.timeline({ paused: true });
```
Scene timelines manually added to this root must not be paused. A paused
child does not advance when the root is seeked. The runtime activates
registered composition siblings, not arbitrary nested scene timelines.
4. A video with sound keeps it on the `<video>` (`data-has-audio="true"`, no `muted`). Use a separate `<audio>` for music, voiceover, replacement audio, J/L cuts, or audio detached in Studio. Silent footage and b-roll: `muted`.
5. Sub-compositions use `data-composition-src="compositions/file.html"` to reference other HTML files
6. Only deterministic logic — no `Date.now()`, no `Math.random()`, no network fetches
+24
View File
@@ -0,0 +1,24 @@
GOAL: 20~50대가 "날씨를 보면 오늘 할 일을 알려 주는 앱이구나"를 20초 안에 알고, 프로필 링크(또는 토스 검색)로 열어 본다.
OUTPUT: HyperFrames, 1080 x 1920, 30 fps
TIME: 20 s x 30 = 600 frames. 음악이 있으면 ~110 BPM(16.4 f/beat, 65 f/bar), 장면 전환은 마디에.
LOOK: 땅 = Codex 클레이 3D 렌더 배경(assets/bg/*.webp, 1024x1820 → 1080x1920 cover, 위쪽 40%가 하늘이라 글자 자리).
브랜드 땅(등장·보상·엔드카드) = 평면 #e3efff, 질감 없음. 잉크 #28304a. 강조 주황 #ff7a45: 한 장면에 한 단어·한 칩.
디스플레이 Jua 120 px(H의 6.25%) 흰색, 자간 -2 px, 잉크 그림자 0 6px 18px rgba(40,48,74,.38) — 배경 위에서만 흰색, 브랜드 땅 위에서는 잉크색.
본문 Pretendard 700 52 px, 칩 Pretendard 800 72 px(점수) + 48 px(이름). 글자 폭 최대 900 px(오른쪽 액션 레일 피함).
깊이: 배경 scale 1.08~1.14 드리프트, 중간층(아이콘) 이동 1.6배, 앞층(흐린 구름·잎) 2.2배 + blur 6 px. 그림자: 아이콘 아래 타원 contact shadow 0.35.
OBJECTS: 하늘·구름(assets/bg/sky), 비 오는 도시(rain-city), 해변(beach), 가을 산길(mountain), 한강 노을(hangang-sunset);
3D 아이콘: 해 sun.png, 구름 cloud.png, 비 rain.png, 드라이브 drive.png, 산책 walk.png, 한강 hangang.png, 피크닉 picnic.png, 토끼 rabbit.png, 곰 bear.png;
앱 아이콘 app-icon.png(실제 apple-touch-icon), 실제 홈 화면 shot-home.webp(390x844)을 폰 틀(검정 8 px, 반지름 44 px) 안에.
점수 칩: 흰 배경 둥근 사각(반지름 28 px) + 왼쪽 아이콘 96 px + 이름 + 주황 점수, 그림자 0 10px 30px rgba(40,48,74,.25).
MOTION: 등장 expo.out 0.5 s(글자 단어별 blur 8→0, 0.13 s, 0.07 s 간격) · 카메라 power2.inOut · 퇴장 power3.in 0.25 s · 칩 스프링 back.out(1.6) 0.45 s(위치·크기만) · 점수 카운트 0.6 s power2.out.
휩 전환 0.25 s(세로, blur 16 px) · 색 플러드 0.4 s power2.inOut · 줌스루 0.35 s power3.in(아이콘 8%→250%).
SHOTS: S1 f0–75 하늘. 배경 1.14→1.08 푸시. "오늘 뭐 하기 / 좋은 날이지?" 단어별 맺힘 f9~f30, 해 아이콘 우상단 드리프트, 앞층 구름 좌하단. 읽기창 f30–f70. 소리: 비트 시작. → 휩 업.
S2 f75–165 비 도시. 칩 "흐림" "19°" "습도 70%" 스프링 낙하 f81·f84·f87, 구름·비 아이콘 중간층. f114 "…그래서 / 오늘 뭐 하죠?" 맺힘. 읽기창 f120–f158. → 색 플러드(f158–f170) 하늘색.
S3 f165–240 브랜드 땅. 앱 아이콘 스프링 f168(0.2→1.0), "날씨각" 글자별 f180(0.1 s 간격), "날씨를 *할 일*로 바꿔 주는 앱" f198. 토끼·곰 아래서 고개 f186. 읽기창 f205–f232. → 아이콘 줌스루 f232–f242.
S4 f240–300 해변. 배경 1.15→1.05 안착 0.5 s. 칩 "드라이브각 82" 스프링 f246 + 점수 카운트, drive 아이콘 해안선 따라 x+70 px/2 s. 작은 글 "해안 드라이브 딱 좋은 날" f258. → 휩 업.
S5 f300–360 산길. 칩 "산책각 81" + walk 아이콘 걷기(y 흔들림 ±6 px, 0.4 s). "숲길 한 바퀴" f318. → 휩 업.
S6 f360–420 한강 노을. 칩 "한강각 85" + hangang·picnic 아이콘. "노을 보며 돗자리" f378. → 폰 캐리(폰이 아래서 올라오며 배경이 하늘색으로 플러드 f414–f426).
S7 f420–525 보상. 브랜드 땅. 폰(720 px 폭) 아래서 y 1900→470 power4.out 0.7 s, 실제 홈 화면. 위 "지금 내 동네 / 1위는?" f438. 칩 "68가지 각" f480 스프링. 작은 글 "10.24 서울 기준" 폰 아래. 읽기창 f450–f515. → 폰이 아래로 빠지며(0.3 s) 엔드카드.
S8 f525–600 엔드카드. 아이콘 스프링 f528 가운데 위(폭 260 px), "날씨각" f540, "설치 없이 바로, *무료*" f552, "weather.o2o.kr" f564, "토스에서 '날씨각' 검색" f576. f585–600 정지. 음악 페이드.
BANNED: 검은 보이드, 글로우·파티클·렌즈플레어, 유리 카드, 보라·파랑 그라데이션, 세 카드 나란히, 코너 로고, 전부 페이드+슬라이드 업, 착지 뒤 떠다니는 제목, 흐린 스크린샷 위 제목, 점수 숫자 지어내기(오늘 API 값만), 사용자 글 노출.
QA: f0(썸네일: 하늘+질문 첫 단어 보임), f60(질문 다 읽힘), f150("그래서 뭐 하죠?"), f225(아이콘·워드마크·부제), f270/f330/f390(세 세상 칩·아이콘), f480(폰 전체·칩), f598(엔드카드 네 줄). 360 px 폰 시트에서 모든 글 읽힘. 글자 y 168~1330, x ≤ 900.
+17
View File
@@ -0,0 +1,17 @@
# 날씨각 소개 릴스 — 스토리라인 세 개 (2026-10-24)
사용자 지시: 인스타 릴스 20초 안팎, 9:16, 2.5D(Codex 3D 렌더풍 배경 + 기존 3D 아이콘 레이어 + 카메라 패럴랙스), 무료 BGM, 20~50대, 토스 앱 검색 언급, 해시태그. "알아서" → 질문 없이 A를 만든다.
## A. 질문 하나, 세 세상 (추천) — 질문+입력 장치 × 세상을 나는 카메라
하늘 위 큰 글자 "오늘 뭐 하기 좋은 날이지?"로 시작해, 비 오는 도시에서 날씨 숫자만 떠다니다 "그래서 뭐 하죠?"가 막히고, 날씨각 아이콘이 튀어나오며 답이 시작된다. 카메라가 해변·산길·한강 노을 세 세상을 차례로 날아가고, 세상마다 오늘 진짜 점수(드라이브각 82 · 산책각 81 · 한강각 85)가 칩으로 떨어진다. 마지막에 진짜 앱 화면이 올라오고 "설치 없이 바로, 무료 · 토스에서 '날씨각' 검색"으로 닫는다.
- 첫 2초: 파란 하늘·구름 3D 배경이 천천히 밀려 들어오고, 흰 Jua 글자가 단어마다 블러로 맺힌다. 해 아이콘이 오른쪽 위에서 살짝 떠 있다.
- 비트: 훅(하늘 질문) → 막힘(비 도시, 숫자 칩, "그래서?") → 등장(색 플러드 → 아이콘·워드마크) → 증명(해변→산→한강, 점수 칩 3번) → 보상(진짜 홈 화면) → 한 줄(설치 없이 무료) → 엔드카드(아이콘·주소·토스).
- 룩: 배경은 Codex 클레이 3D 렌더, 글자는 흰 Jua + 잉크 그림자, 강조는 주황 한 단어, 브랜드 땅은 연한 하늘색 평면. 패럴랙스 3겹(배경 1.0 · 아이콘 1.6 · 앞 구름 2.2).
- 소리: 밝고 가벼운 팝 비트(~110 BPM), 등장 장면에서 음악이 열리고, 엔드카드 아래서 짧게 페이드.
- 전환: 휩(세상 사이) · 색 플러드(비→브랜드) · 아이콘 줌스루(브랜드→해변) · 폰이 아래서 올라오는 캐리.
## B. 토끼와 곰의 하루 — 캐릭터가 일한다 × 물건에서 물건으로
토끼가 창밖을 보고, 곰이 폰을 들고, 둘이 점수 칩을 들고 세상 사이를 뛰어다닌다. 귀엽지만 캐릭터가 정지 PNG라 연기가 얕다. (안 만듦)
## C. 숫자가 글자가 된다 — 타입이 논증 × 한 프레임이 계속 바뀐다
"19° 흐림 70%"가 큰 글자로 화면을 채우다 스스로 "한강각 85"로 재배열되는 키네틱 타이포. 배경 그림을 거의 안 써서 2.5D 지시와 어긋난다. (안 만듦)
Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

+22
View File
@@ -0,0 +1,22 @@
<template>
<style>
@font-face { font-family: 'Jua'; src: url('assets/fonts/Jua-Regular.ttf'); }
@font-face { font-family: 'Pretendard'; src: url('assets/fonts/PretendardVariable.woff2'); font-weight: 100 900; }
/* 릴스 표지. 프로필 격자는 4:5(세로 285~1635px)로 가운데만 보이므로 글자를 그 안에 둔다 */
#root { position: absolute; inset: 0; overflow: hidden; background: #cfe3fb; }
#cover-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
#cover-title { position: absolute; margin: 0; left: 90px; top: 560px; width: 900px; font: 400 124px/1.18 'Jua', sans-serif; letter-spacing: -2px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
#cover-sub { position: absolute; left: 90px; top: 920px; display: inline-flex; align-items: center; gap: 18px; padding: 18px 34px 18px 20px; border-radius: 30px; background: #fff; color: #28304a; font: 800 48px/1 'Pretendard', sans-serif; letter-spacing: -1px; box-shadow: 0 12px 34px rgba(40, 48, 74, 0.25); }
#cover-sub img { width: 72px; height: 72px; border-radius: 18px; }
#cover-sub b { color: #d4552a; }
#cover-rabbit { position: absolute; left: 110px; top: 1250px; width: 240px; }
#cover-bear { position: absolute; left: 730px; top: 1270px; width: 240px; }
</style>
<div id="root" data-composition-id="cover" data-width="1080" data-height="1920" data-no-timeline>
<img id="cover-bg" src="assets/bg/sky.webp" alt="" />
<h1 id="cover-title">오늘 뭐 하기<br />좋은 날이지?</h1>
<div id="cover-sub"><img src="assets/img/app-icon.png" alt="" />날씨각이 <b>점수</b>로 알려 줘요</div>
<img id="cover-rabbit" src="assets/icons/rabbit.png" alt="" />
<img id="cover-bear" src="assets/icons/bear.png" alt="" />
</div>
</template>
+33
View File
@@ -0,0 +1,33 @@
<template>
<style>
@font-face { font-family: 'Jua'; src: url('assets/fonts/Jua-Regular.ttf'); }
@font-face { font-family: 'Pretendard'; src: url('assets/fonts/PretendardVariable.woff2'); font-weight: 100 900; }
#root { position: absolute; inset: 0; overflow: hidden; background: #cfe3fb; color: #fff; }
#s1-world { position: absolute; inset: 0; }
#s1-cam { position: absolute; inset: 0; transform-origin: 50% 45%; }
#s1-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
#s1-fog { position: absolute; left: -120px; top: 1450px; width: 620px; filter: blur(6px); opacity: 0.9; }
#s1-title { position: absolute; left: 90px; top: 300px; width: 900px; font: 400 120px/1.18 'Jua', sans-serif; letter-spacing: -2px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
#s1-title .w { display: inline-block; margin-right: 0.22em; }
</style>
<div id="root" data-composition-id="s1" data-width="1080" data-height="1920">
<div id="s1-world" class="clip" data-start="0" data-duration="2.5">
<div id="s1-cam">
<img id="s1-bg" src="assets/bg/sky.webp" alt="" />
<h1 id="s1-title"><span class="w">오늘</span><span class="w">뭐</span><span class="w">하기</span><br /><span class="w">좋은</span><span class="w">날이지?</span></h1>
<img id="s1-fog" src="assets/icons/cloud.png" alt="" />
</div>
</div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
// 카메라: 천천히 밀어 들어감 (배경 1.0, 해 1.6배, 앞 구름 2.2배로 깊이)
tl.fromTo("#s1-cam", { scale: 1.14, y: 0, filter: "blur(0px)" }, { scale: 1.08, duration: 2.25, ease: "power2.inOut" }, 0);
tl.fromTo("#s1-fog", { x: 40 }, { x: -70, duration: 2.5, ease: "none" }, 0);
// 제목: 단어마다 블러로 맺힘, 착지 뒤엔 멈춤
tl.fromTo("#s1-title .w", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.13, ease: "power4.out", stagger: 0.07 }, 0.05);
// 휩 아웃: 다음 세상으로
tl.to("#s1-cam", { y: -420, filter: "blur(16px)", duration: 0.25, ease: "power3.in" }, 2.25);
window.__timelines["s1"] = tl;
</script>
</template>
+48
View File
@@ -0,0 +1,48 @@
<template>
<style>
@font-face { font-family: 'Jua'; src: url('assets/fonts/Jua-Regular.ttf'); }
@font-face { font-family: 'Pretendard'; src: url('assets/fonts/PretendardVariable.woff2'); font-weight: 100 900; }
#root { position: absolute; inset: 0; overflow: hidden; background: #8e9bb3; color: #fff; }
#s2-world { position: absolute; inset: 0; }
#s2-cam { position: absolute; inset: 0; transform-origin: 50% 50%; }
#s2-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
#s2-cloud { position: absolute; left: 640px; top: 250px; width: 300px; }
#s2-rain { position: absolute; left: 120px; top: 1420px; width: 220px; }
.s2-chip { position: absolute; padding: 18px 40px; border-radius: 28px; background: #fff; color: #28304a; font: 800 60px/1 'Pretendard', sans-serif; letter-spacing: -1px; box-shadow: 0 10px 30px rgba(40, 48, 74, 0.25); white-space: nowrap; }
#s2-c1 { left: 90px; top: 420px; }
#s2-c2 { left: 330px; top: 560px; }
#s2-c3 { left: 150px; top: 700px; }
#s2-ask { position: absolute; left: 90px; top: 960px; width: 900px; font: 400 112px/1.18 'Jua', sans-serif; letter-spacing: -2px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
#s2-ask .w { display: inline-block; margin-right: 0.22em; }
#s2-flood { position: absolute; inset: 0; background: #e3efff; }
</style>
<div id="root" data-composition-id="s2" data-width="1080" data-height="1920">
<div id="s2-world" class="clip" data-start="0" data-duration="3">
<div id="s2-cam">
<img id="s2-bg" src="assets/bg/rain-city.webp" alt="" />
<img id="s2-cloud" src="assets/icons/cloud.png" alt="" />
<img id="s2-rain" src="assets/icons/rain.png" alt="" />
<div id="s2-c1" class="s2-chip">흐림</div>
<div id="s2-c2" class="s2-chip">19°</div>
<div id="s2-c3" class="s2-chip">습도 70%</div>
<h1 id="s2-ask"><span class="w">…그래서</span><br /><span class="w">오늘</span><span class="w">뭐</span><span class="w">하죠?</span></h1>
</div>
<div id="s2-flood"></div>
</div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
// 휩 인: 아래서 올라와 맺힘, 그 뒤 느린 드리프트
tl.fromTo("#s2-cam", { y: 420, filter: "blur(16px)", scale: 1.1 }, { y: 0, filter: "blur(0px)", duration: 0.25, ease: "expo.out" }, 0);
tl.to("#s2-cam", { scale: 1.04, duration: 2.6, ease: "power2.inOut" }, 0.25);
tl.fromTo("#s2-cloud", { x: 30, y: 0 }, { x: -40, y: 12, duration: 3, ease: "none" }, 0);
tl.fromTo("#s2-rain", { y: -10 }, { y: 30, duration: 3, ease: "none" }, 0);
// 날씨 숫자 칩: 위에서 떨어져 튕김 (위치·크기만 튕기고 투명도는 안 튕김)
tl.fromTo(["#s2-c1", "#s2-c2", "#s2-c3"], { y: -220, scale: 0.6, opacity: 0 }, { y: 0, scale: 1, opacity: 1, duration: 0.45, ease: "back.out(1.6)", stagger: 0.1 }, 0.2);
// …그래서 뭐 하죠?
tl.fromTo("#s2-ask .w", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.13, ease: "power4.out", stagger: 0.07 }, 1.3);
// 색 플러드: 브랜드 땅이 가운데서 번져 다음 장면으로
tl.fromTo("#s2-flood", { clipPath: "circle(0% at 50% 62%)" }, { clipPath: "circle(120% at 50% 62%)", duration: 0.4, ease: "power2.inOut" }, 2.6);
window.__timelines["s2"] = tl;
</script>
</template>
+36
View File
@@ -0,0 +1,36 @@
<template>
<style>
@font-face { font-family: 'Jua'; src: url('assets/fonts/Jua-Regular.ttf'); }
@font-face { font-family: 'Pretendard'; src: url('assets/fonts/PretendardVariable.woff2'); font-weight: 100 900; }
#root { position: absolute; inset: 0; overflow: hidden; background: #e3efff; color: #28304a; }
#s3-world { position: absolute; inset: 0; }
#s3-icon { position: absolute; left: 390px; top: 560px; width: 300px; height: 300px; border-radius: 68px; box-shadow: 0 24px 60px rgba(40, 48, 74, 0.28); transform-origin: 50% 50%; }
#s3-name { position: absolute; left: 0; top: 920px; width: 1080px; text-align: center; font: 400 150px/1 'Jua', sans-serif; letter-spacing: -3px; }
#s3-name .l { display: inline-block; }
#s3-sub { position: absolute; left: 90px; top: 1120px; width: 900px; text-align: center; font: 700 56px/1.3 'Pretendard', sans-serif; letter-spacing: -1px; word-break: keep-all; }
#s3-sub b { color: #d4552a; font-weight: 800; }
#s3-rabbit { position: absolute; left: 90px; top: 1520px; width: 260px; }
#s3-bear { position: absolute; left: 730px; top: 1540px; width: 260px; }
</style>
<div id="root" data-composition-id="s3" data-width="1080" data-height="1920">
<div id="s3-world" class="clip" data-start="0" data-duration="3">
<h1 id="s3-name"><span class="l">날</span><span class="l">씨</span><span class="l">각</span></h1>
<p id="s3-sub">날씨를 <b>할 일</b>로 바꿔 주는 앱</p>
<img id="s3-rabbit" src="assets/icons/rabbit.png" alt="" />
<img id="s3-bear" src="assets/icons/bear.png" alt="" />
<img id="s3-icon" src="assets/img/app-icon.png" alt="" />
</div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
// 앱 아이콘이 튀어나오고(스프링), 이름이 글자별로, 부제가 맺힘
tl.fromTo("#s3-icon", { scale: 0.2, opacity: 0 }, { scale: 1, opacity: 1, duration: 0.5, ease: "back.out(1.7)" }, 0.1);
tl.fromTo("#s3-name .l", { opacity: 0.3, filter: "blur(6px)", y: 14 }, { opacity: 1, filter: "blur(0px)", y: 0, duration: 0.2, ease: "power4.out", stagger: 0.1 }, 0.5);
tl.fromTo("#s3-sub", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.8);
tl.fromTo(["#s3-rabbit", "#s3-bear"], { y: 240 }, { y: 0, duration: 0.6, ease: "expo.out", stagger: 0.08 }, 0.7);
// 줌 스루: 아이콘이 화면을 덮으며 다음 세상으로
tl.to("#s3-icon", { scale: 9, duration: 0.35, ease: "power3.in" }, 2.65);
tl.to(["#s3-name", "#s3-sub"], { opacity: 0, filter: "blur(8px)", duration: 0.2, ease: "power3.in" }, 2.75);
window.__timelines["s3"] = tl;
</script>
</template>
+40
View File
@@ -0,0 +1,40 @@
<template>
<style>
@font-face { font-family: 'Jua'; src: url('assets/fonts/Jua-Regular.ttf'); }
@font-face { font-family: 'Pretendard'; src: url('assets/fonts/PretendardVariable.woff2'); font-weight: 100 900; }
#root { position: absolute; inset: 0; overflow: hidden; background: #cfe3fb; color: #fff; }
#s4-world { position: absolute; inset: 0; }
#s4-cam { position: absolute; inset: 0; transform-origin: 50% 50%; }
#s4-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
#s4-drive { position: absolute; left: 120px; top: 1120px; width: 320px; }
#s4-chip { position: absolute; left: 90px; top: 560px; display: flex; align-items: center; gap: 22px; padding: 22px 40px 22px 24px; border-radius: 32px; background: #fff; color: #28304a; box-shadow: 0 12px 34px rgba(40, 48, 74, 0.28); transform-origin: 0% 50%; }
#s4-chip img { width: 110px; height: 110px; }
#s4-chip .n { font: 800 54px/1 'Pretendard', sans-serif; letter-spacing: -1px; white-space: nowrap; }
#s4-chip .v { font: 800 92px/1 'Pretendard', sans-serif; color: #d4552a; letter-spacing: -2px; min-width: 120px; text-align: right; }
#s4-line { position: absolute; left: 90px; top: 760px; width: 900px; font: 400 76px/1.2 'Jua', sans-serif; letter-spacing: -1px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
</style>
<div id="root" data-composition-id="s4" data-width="1080" data-height="1920">
<div id="s4-world" class="clip" data-start="0" data-duration="2">
<div id="s4-cam">
<img id="s4-bg" src="assets/bg/beach.webp" alt="" />
<img id="s4-drive" src="assets/icons/drive.png" alt="" />
<div id="s4-chip"><img src="assets/icons/drive.png" alt="" /><span class="n">드라이브각</span><span class="v" id="s4-score">0</span></div>
<p id="s4-line">해안 드라이브 딱 좋은 날</p>
</div>
</div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
// 줌 스루 끝에서 크게 들어와 안착, 그 뒤 살짝 드리프트
tl.fromTo("#s4-cam", { scale: 1.2, filter: "blur(6px)" }, { scale: 1.06, filter: "blur(0px)", duration: 0.55, ease: "power3.out" }, 0);
tl.to("#s4-cam", { scale: 1.09, duration: 1.2, ease: "power2.inOut" }, 0.55);
tl.fromTo("#s4-drive", { x: -40, y: 10 }, { x: 70, y: -6, duration: 2, ease: "none" }, 0);
// 오늘 점수 칩: 튕겨 들어오고 숫자가 올라감 (2026-10-24 서울 중구 API 값)
tl.fromTo("#s4-chip", { scale: 0.5, x: -80, opacity: 0 }, { scale: 1, x: 0, opacity: 1, duration: 0.45, ease: "back.out(1.6)" }, 0.15);
const score = { v: 0 };
tl.to(score, { v: 82, duration: 0.6, ease: "power2.out", onUpdate: () => { document.getElementById("s4-score").textContent = Math.round(score.v); } }, 0.25);
tl.fromTo("#s4-line", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.28);
tl.to("#s4-cam", { y: -420, filter: "blur(16px)", duration: 0.18, ease: "power3.in" }, 1.84);
window.__timelines["s4"] = tl;
</script>
</template>
+39
View File
@@ -0,0 +1,39 @@
<template>
<style>
@font-face { font-family: 'Jua'; src: url('assets/fonts/Jua-Regular.ttf'); }
@font-face { font-family: 'Pretendard'; src: url('assets/fonts/PretendardVariable.woff2'); font-weight: 100 900; }
#root { position: absolute; inset: 0; overflow: hidden; background: #cfe3fb; color: #fff; }
#s5-world { position: absolute; inset: 0; }
#s5-cam { position: absolute; inset: 0; transform-origin: 50% 50%; }
#s5-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
#s5-walk { position: absolute; left: 620px; top: 1140px; width: 300px; }
#s5-chip { position: absolute; left: 90px; top: 560px; display: flex; align-items: center; gap: 22px; padding: 22px 40px 22px 24px; border-radius: 32px; background: #fff; color: #28304a; box-shadow: 0 12px 34px rgba(40, 48, 74, 0.28); transform-origin: 0% 50%; }
#s5-chip img { width: 110px; height: 110px; }
#s5-chip .n { font: 800 54px/1 'Pretendard', sans-serif; letter-spacing: -1px; white-space: nowrap; }
#s5-chip .v { font: 800 92px/1 'Pretendard', sans-serif; color: #d4552a; letter-spacing: -2px; min-width: 120px; text-align: right; }
#s5-line { position: absolute; left: 90px; top: 760px; width: 900px; font: 400 76px/1.2 'Jua', sans-serif; letter-spacing: -1px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
</style>
<div id="root" data-composition-id="s5" data-width="1080" data-height="1920">
<div id="s5-world" class="clip" data-start="0" data-duration="2">
<div id="s5-cam">
<img id="s5-bg" src="assets/bg/mountain.webp" alt="" />
<img id="s5-walk" src="assets/icons/walk.png" alt="" />
<div id="s5-chip"><img src="assets/icons/walk.png" alt="" /><span class="n">산책각</span><span class="v" id="s5-score">0</span></div>
<p id="s5-line">숲길 산책 딱 좋은 날</p>
</div>
</div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
tl.fromTo("#s5-cam", { y: 420, filter: "blur(16px)", scale: 1.12 }, { y: 0, filter: "blur(0px)", duration: 0.25, ease: "expo.out" }, 0);
tl.to("#s5-cam", { scale: 1.06, duration: 1.5, ease: "power2.inOut" }, 0.25);
// 산책 아이콘: 걷는 듯 위아래 (유한 반복)
tl.fromTo("#s5-walk", { y: 0, x: 20 }, { y: -8, x: -30, duration: 0.4, ease: "sine.inOut", repeat: 4, yoyo: true }, 0);
tl.fromTo("#s5-chip", { scale: 0.5, x: -80, opacity: 0 }, { scale: 1, x: 0, opacity: 1, duration: 0.45, ease: "back.out(1.6)" }, 0.2);
const score = { v: 0 };
tl.to(score, { v: 81, duration: 0.6, ease: "power2.out", onUpdate: () => { document.getElementById("s5-score").textContent = Math.round(score.v); } }, 0.3);
tl.fromTo("#s5-line", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.28);
tl.to("#s5-cam", { y: -420, filter: "blur(16px)", duration: 0.18, ease: "power3.in" }, 1.84);
window.__timelines["s5"] = tl;
</script>
</template>
+44
View File
@@ -0,0 +1,44 @@
<template>
<style>
@font-face { font-family: 'Jua'; src: url('assets/fonts/Jua-Regular.ttf'); }
@font-face { font-family: 'Pretendard'; src: url('assets/fonts/PretendardVariable.woff2'); font-weight: 100 900; }
#root { position: absolute; inset: 0; overflow: hidden; background: #f7b27a; color: #fff; }
#s6-world { position: absolute; inset: 0; }
#s6-cam { position: absolute; inset: 0; transform-origin: 50% 50%; }
#s6-bg { position: absolute; left: 0; top: 0; width: 1080px; height: 1920px; object-fit: cover; }
#s6-hangang { position: absolute; left: 560px; top: 1080px; width: 340px; }
#s6-picnic { position: absolute; left: 110px; top: 1300px; width: 220px; }
#s6-chip { position: absolute; left: 90px; top: 560px; display: flex; align-items: center; gap: 22px; padding: 22px 40px 22px 24px; border-radius: 32px; background: #fff; color: #28304a; box-shadow: 0 12px 34px rgba(40, 48, 74, 0.28); transform-origin: 0% 50%; }
#s6-chip img { width: 110px; height: 110px; }
#s6-chip .n { font: 800 54px/1 'Pretendard', sans-serif; letter-spacing: -1px; white-space: nowrap; }
#s6-chip .v { font: 800 92px/1 'Pretendard', sans-serif; color: #d4552a; letter-spacing: -2px; min-width: 120px; text-align: right; }
#s6-line { position: absolute; left: 90px; top: 760px; width: 900px; font: 400 76px/1.2 'Jua', sans-serif; letter-spacing: -1px; color: #28304a; text-shadow: 0 0 22px rgba(255, 255, 255, 0.85), 0 4px 14px rgba(255, 255, 255, 0.6); word-break: keep-all; }
#s6-flood { position: absolute; inset: 0; background: #e3efff; }
</style>
<div id="root" data-composition-id="s6" data-width="1080" data-height="1920">
<div id="s6-world" class="clip" data-start="0" data-duration="2">
<div id="s6-cam">
<img id="s6-bg" src="assets/bg/hangang-sunset.webp" alt="" />
<img id="s6-hangang" src="assets/icons/hangang.png" alt="" />
<img id="s6-picnic" src="assets/icons/picnic.png" alt="" />
<div id="s6-chip"><img src="assets/icons/hangang.png" alt="" /><span class="n">한강각</span><span class="v" id="s6-score">0</span></div>
<p id="s6-line">노을 보며 돗자리 딱</p>
</div>
<div id="s6-flood"></div>
</div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
tl.fromTo("#s6-cam", { y: 420, filter: "blur(16px)", scale: 1.12 }, { y: 0, filter: "blur(0px)", duration: 0.25, ease: "expo.out" }, 0);
tl.to("#s6-cam", { scale: 1.06, duration: 1.5, ease: "power2.inOut" }, 0.25);
tl.fromTo("#s6-hangang", { x: 20, y: 6 }, { x: -30, y: -10, duration: 2, ease: "none" }, 0);
tl.fromTo("#s6-picnic", { x: -20 }, { x: 30, duration: 2, ease: "none" }, 0);
tl.fromTo("#s6-chip", { scale: 0.5, x: -80, opacity: 0 }, { scale: 1, x: 0, opacity: 1, duration: 0.45, ease: "back.out(1.6)" }, 0.2);
const score = { v: 0 };
tl.to(score, { v: 85, duration: 0.6, ease: "power2.out", onUpdate: () => { document.getElementById("s6-score").textContent = Math.round(score.v); } }, 0.3);
tl.fromTo("#s6-line", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.28);
// 브랜드 땅으로 플러드 (폰이 올라올 자리)
tl.fromTo("#s6-flood", { clipPath: "circle(0% at 50% 100%)" }, { clipPath: "circle(140% at 50% 100%)", duration: 0.3, ease: "power2.inOut" }, 1.74);
window.__timelines["s6"] = tl;
</script>
</template>
+34
View File
@@ -0,0 +1,34 @@
<template>
<style>
@font-face { font-family: 'Jua'; src: url('assets/fonts/Jua-Regular.ttf'); }
@font-face { font-family: 'Pretendard'; src: url('assets/fonts/PretendardVariable.woff2'); font-weight: 100 900; }
#root { position: absolute; inset: 0; overflow: hidden; background: #e3efff; color: #28304a; }
#s7-world { position: absolute; inset: 0; }
#s7-title { position: absolute; left: 90px; top: 230px; width: 900px; font: 400 112px/1.18 'Jua', sans-serif; letter-spacing: -2px; word-break: keep-all; }
#s7-title .w { display: inline-block; margin-right: 0.22em; }
#s7-phone { position: absolute; left: 180px; top: 560px; width: 720px; height: 1500px; box-sizing: border-box; padding: 22px; border: 12px solid #28304a; border-radius: 88px; background: #28304a; box-shadow: 0 30px 70px rgba(40, 48, 74, 0.3); overflow: hidden; }
#s7-phone img { display: block; width: 652px; height: auto; max-width: none; border-radius: 52px; }
#s7-chip { position: absolute; left: 560px; top: 480px; padding: 18px 36px; border-radius: 28px; background: #d4552a; color: #fff; font: 800 56px/1 'Pretendard', sans-serif; letter-spacing: -1px; box-shadow: 0 12px 34px rgba(212, 85, 42, 0.35); white-space: nowrap; transform-origin: 50% 50%; z-index: 2; }
#s7-note { position: absolute; left: 90px; top: 500px; font: 600 36px/1 'Pretendard', sans-serif; color: #546078; }
</style>
<div id="root" data-composition-id="s7" data-width="1080" data-height="1920">
<div id="s7-world" class="clip" data-start="0" data-duration="3" data-layout-allow-overlap>
<h1 id="s7-title"><span class="w">지금</span><span class="w">내</span><span class="w">동네</span><br /><span class="w">1위는?</span></h1>
<div id="s7-phone"><img src="assets/img/shot-home.webp" alt="날씨각 홈 화면" /></div>
<div id="s7-chip">68가지 각</div>
<p id="s7-note">실제 화면 · 10.24 마포구</p>
</div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
// 진짜 홈 화면이 아래서 올라오고, 제목이 맺히고, 68가지 칩이 튕김
tl.fromTo("#s7-phone", { y: 1400 }, { y: 0, duration: 0.7, ease: "power4.out" }, 0.05);
tl.fromTo("#s7-title .w", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.13, ease: "power4.out", stagger: 0.07 }, 0.4);
tl.fromTo("#s7-chip", { scale: 0.4, opacity: 0, rotate: -8 }, { scale: 1, opacity: 1, rotate: -6, duration: 0.45, ease: "back.out(1.6)" }, 1.2);
tl.fromTo("#s7-note", { opacity: 0 }, { opacity: 1, duration: 0.2, ease: "power2.out" }, 0.6);
// 폰이 아래로 빠지며 엔드카드로
tl.to("#s7-phone", { y: 1500, duration: 0.3, ease: "power3.in" }, 2.7);
tl.to(["#s7-title", "#s7-chip", "#s7-note"], { opacity: 0, filter: "blur(8px)", duration: 0.2, ease: "power3.in" }, 2.75);
window.__timelines["s7"] = tl;
</script>
</template>
+39
View File
@@ -0,0 +1,39 @@
<template>
<style>
@font-face { font-family: 'Jua'; src: url('assets/fonts/Jua-Regular.ttf'); }
@font-face { font-family: 'Pretendard'; src: url('assets/fonts/PretendardVariable.woff2'); font-weight: 100 900; }
#root { position: absolute; inset: 0; overflow: hidden; background: #e3efff; color: #28304a; }
#s8-world { position: absolute; inset: 0; }
#s8-icon { position: absolute; left: 410px; top: 520px; width: 260px; height: 260px; border-radius: 60px; box-shadow: 0 24px 60px rgba(40, 48, 74, 0.28); transform-origin: 50% 50%; }
#s8-name { position: absolute; left: 0; top: 830px; width: 1080px; text-align: center; font: 400 140px/1 'Jua', sans-serif; letter-spacing: -3px; }
#s8-claim { position: absolute; left: 90px; top: 1010px; width: 900px; text-align: center; font: 800 64px/1.2 'Pretendard', sans-serif; letter-spacing: -1px; word-break: keep-all; }
#s8-claim b { color: #d4552a; }
#s8-url { position: absolute; left: 90px; top: 1125px; width: 900px; text-align: center; font: 700 58px/1.2 'Pretendard', sans-serif; letter-spacing: -1px; color: #2b6cb8; }
#s8-toss { position: absolute; left: 90px; top: 1215px; width: 900px; text-align: center; font: 600 50px/1.2 'Pretendard', sans-serif; letter-spacing: -1px; color: #546078; word-break: keep-all; }
#s8-rabbit { position: absolute; left: 90px; top: 1520px; width: 260px; }
#s8-bear { position: absolute; left: 730px; top: 1540px; width: 260px; }
</style>
<div id="root" data-composition-id="s8" data-width="1080" data-height="1920">
<div id="s8-world" class="clip" data-start="0" data-duration="3.5">
<img id="s8-icon" src="assets/img/app-icon.png" alt="" />
<h1 id="s8-name">날씨각</h1>
<p id="s8-claim">설치 없이 바로, <b>무료</b></p>
<p id="s8-url">weather.o2o.kr</p>
<p id="s8-toss">토스 앱에서 '날씨각' 검색해도 열려요</p>
<img id="s8-rabbit" src="assets/icons/rabbit.png" alt="" />
<img id="s8-bear" src="assets/icons/bear.png" alt="" />
</div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
tl.fromTo("#s8-icon", { scale: 0.2, opacity: 0 }, { scale: 1, opacity: 1, duration: 0.5, ease: "back.out(1.7)" }, 0.1);
tl.fromTo("#s8-name", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.4);
tl.fromTo("#s8-claim", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 0.7);
tl.fromTo("#s8-url", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 1.0);
tl.fromTo("#s8-toss", { opacity: 0, filter: "blur(8px)" }, { opacity: 1, filter: "blur(0px)", duration: 0.2, ease: "power4.out" }, 1.3);
tl.fromTo(["#s8-rabbit", "#s8-bear"], { y: 240 }, { y: 0, duration: 0.6, ease: "expo.out", stagger: 0.08 }, 0.3);
// 마지막 0.6초는 정지 (마지막 프레임 유지)
tl.to({}, { duration: 0.2 }, 3.3);
window.__timelines["s8"] = tl;
</script>
</template>
+12
View File
@@ -0,0 +1,12 @@
{
"$schema": "https://hyperframes.heygen.com/schema/hyperframes.json",
"registry": "https://raw.githubusercontent.com/heygen-com/hyperframes/main/registry",
"paths": {
"blocks": "compositions",
"components": "compositions/components",
"assets": "assets"
},
"media": {
"autoProxy": true
}
}
+31
View File
@@ -0,0 +1,31 @@
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1080, height=1920" />
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14.2/dist/gsap.min.js"></script>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { margin: 0; width: 1080px; height: 1920px; overflow: hidden; background: #e3efff; }
#root { position: relative; width: 100%; height: 100%; }
</style>
</head>
<body>
<!-- 날씨각 소개 릴스 20초. 장면마다 sub-composition 하나 (SPEC.md의 S1~S8) -->
<div id="root" data-composition-id="main" data-start="0" data-duration="21" data-width="1080" data-height="1920">
<div id="s1" data-composition-id="s1" data-composition-src="compositions/s1.html" data-start="0" data-duration="2.5" data-track-index="1" data-track-kind="graphics" data-width="1080" data-height="1920"></div>
<div id="s2" data-composition-id="s2" data-composition-src="compositions/s2.html" data-start="2.5" data-duration="3" data-track-index="1" data-track-kind="graphics" data-width="1080" data-height="1920"></div>
<div id="s3" data-composition-id="s3" data-composition-src="compositions/s3.html" data-start="5.5" data-duration="3" data-track-index="1" data-track-kind="graphics" data-width="1080" data-height="1920"></div>
<div id="s4" data-composition-id="s4" data-composition-src="compositions/s4.html" data-start="8.5" data-duration="2" data-track-index="1" data-track-kind="graphics" data-width="1080" data-height="1920"></div>
<div id="s5" data-composition-id="s5" data-composition-src="compositions/s5.html" data-start="10.5" data-duration="2" data-track-index="1" data-track-kind="graphics" data-width="1080" data-height="1920"></div>
<div id="s6" data-composition-id="s6" data-composition-src="compositions/s6.html" data-start="12.5" data-duration="2" data-track-index="1" data-track-kind="graphics" data-width="1080" data-height="1920"></div>
<div id="s7" data-composition-id="s7" data-composition-src="compositions/s7.html" data-start="14.5" data-duration="3" data-track-index="1" data-track-kind="graphics" data-width="1080" data-height="1920"></div>
<div id="s8" data-composition-id="s8" data-composition-src="compositions/s8.html" data-start="17.5" data-duration="3.5" data-track-index="1" data-track-kind="graphics" data-width="1080" data-height="1920"></div>
</div>
<script>
const tl = gsap.timeline({ paused: true });
window.__timelines["main"] = tl;
tl.seek(0);
</script>
</body>
</html>
+5
View File
@@ -0,0 +1,5 @@
{
"id": "intro",
"name": "intro",
"createdAt": "2026-10-24T09:16:40.854Z"
}
+11
View File
@@ -0,0 +1,11 @@
{
"name": "intro",
"private": true,
"type": "module",
"scripts": {
"dev": "npx --yes hyperframes@0.8.191 preview",
"check": "npx --yes hyperframes@0.8.191 check",
"render": "npx --yes hyperframes@0.8.191 render",
"publish": "npx --yes hyperframes@0.8.191 publish"
}
}
+109
View File
@@ -0,0 +1,109 @@
# HyperFrames Composition Project
This folder is a [HyperFrames](https://hyperframes.heygen.com) video: HTML, CSS and seekable
animations (GSAP by default) that the `hyperframes` CLI previews in the browser and renders to
MP4.
## Skills — read these first
**Invoke the relevant skill before writing or modifying compositions.** Skills encode framework-specific patterns (e.g., `window.__timelines` registration, `data-*` attribute semantics, shader-compatible CSS rules) that generic web docs don't cover, so compositions written without them break.
**Doing anything with HyperFrames?** Start at `/hyperframes`. Make any video by asking for it; the `/hyperframes` skill carries the contract and the references (each kind of film, story, motion, look, sound, review, captions, overlays). Read it first, especially when there's no project context to orient you.
- `/hyperframes` — read first for any request to make, edit, animate or render a video, motion graphic, captions or overlays. Holds the render contract and the work loop.
- `/hyperframes-cli` — the CLI by job: scaffold, check, look at frames, edit the timeline, preview, render, publish, project history.
- `/hyperframes-registry` — ready-made blocks and components installed as editable source. Search it before hand-building any named visual.
- `/media-use` — get or make any media (music, sound effects, images, voiceover, avatar and generated video, transcripts, cutouts, colour grades) and mix placed audio.
- `/figma` — bring a Figma design, frame, logo or brand into a video.
- `/slideshow` — a presentation or pitch deck. Output is a navigable deck, not a rendered MP4.
- `/remotion-to-hyperframes` — bring existing video code or footage into HyperFrames (Remotion first; also Motion Canvas, Lottie, Three.js, canvas, or renders from other tools) and verify it frame by frame against the original.
**Changing how real footage or images look or reveal?** Load `/media-use` and read its `references/media-treatments.md` before editing, even when the request only says dark, flat, boring, retro, private, or “make the reveal cooler.” It governs how footage is treated, never whether media may be used. Use canonical media treatments and seek-safe motion; do not improvise equivalent CSS/SVG filters or overlays.
> **Tailwind v4 projects** (`hyperframes init --tailwind`): see `hyperframes-cli/references/init-and-scaffold.md` (Tailwind).
> **Using a HyperFrames plugin?** Load skills from that installed bundle and follow
> its `hyperframes/references/plugin-installation.md` execution rules. Update via
> the plugin manager, not the standalone commands below.
>
> **Standalone skill missing or stale?** Run `npx hyperframes skills update <name>` to install/refresh
> the specific skill you need, or bare `npx hyperframes skills update` to refresh the core set plus
> everything already installed — neither pulls the full set. Restart the agent session so
> newly installed skills load.
## Commands
```bash
npm run dev # human-operated foreground preview (blocks until stopped)
npx hyperframes preview --background # agent-safe persistent Studio preview
npx hyperframes preview --status # verify the persistent preview is listening
npx hyperframes preview --stop # stop it when review is finished
npm run check # lint + runtime + layout + motion + contrast (one command)
npx hyperframes snapshot --at 1,3,5 # PNG frames at those seconds, to look at before rendering
npm run render # render to MP4
npm run publish # publish and get a shareable link
npx hyperframes lint --verbose # include info-level findings
npx hyperframes lint --json # machine-readable output for CI
npx hyperframes docs <topic> # reference docs in terminal
```
> **Agents must use `npx hyperframes preview --background` for Studio handoff.** Do not rely
> on a shell/tool `run_in_background` wrapper around `npm run dev`: that foreground process
> remains owned by the invoking session and can disappear while the browser stays open,
> leaving refreshes at `ERR_CONNECTION_TIMED_OUT`. Verify with `preview --status`, keep it
> alive through review, and stop it explicitly with `preview --stop` afterward.
> **Back from the desktop app.** Once this project was opened in the HyperFrames desktop app, run `npx hyperframes catch-up` before your next change here: it lists what the person asked Framey in the app and which files changed since.
> **Pinned CLI version.** These scripts pin an exact `hyperframes@X.Y.Z` so this project re-renders identically over time. Weeks later that pin lags fixes shipped since. To move up: `npx hyperframes@latest upgrade --project . --check` (shows the delta), then `npx hyperframes@latest upgrade --project .` to rewrite the pins. Always unpinned — the pinned script re-runs the old version against itself.
## Documentation
**For quick reference**, use the local CLI docs command (no network required):
```bash
npx hyperframes docs <topic>
```
Topics: `data-attributes`, `gsap`, `compositions`, `rendering`, `examples`, `troubleshooting`
**For full documentation**, discover pages via the machine-readable index — do NOT guess URLs:
```
https://hyperframes.heygen.com/llms.txt
```
## Project Structure
- `index.html` — main composition (root timeline)
- `compositions/` — sub-compositions referenced via `data-composition-src`
- `meta.json` — project metadata (id, name)
- `transcript.json` — whisper word-level transcript (if generated)
## Linting — ALWAYS RUN AFTER CHANGES
After creating or editing any `.html` composition, **always** run the full check before considering the task complete:
```bash
npm run check
```
Fix all errors before presenting the result. Warnings should be reviewed before rendering.
Then look at what you changed: `npx hyperframes snapshot --at <seconds>` (or `--range START,END`, `--composition <id>`) at the moments you edited, and read the frames before you reply. A passing check does not show how it looks.
## Key Rules
1. Every timed element needs `data-start` and a duration. `data-start` is what marks it as timed; `data-track-index` is an optional Studio display lane the render never reads
2. Give timed visual elements `class="clip"`. The framework keys visibility off `data-start`, not the class, but the shared `.clip` CSS is what gives a scene its full-frame box, and `lint` warns without it
3. Register one paused root timeline per composition on `window.__timelines`:
```js
window.__timelines = window.__timelines || {};
window.__timelines["composition-id"] = gsap.timeline({ paused: true });
```
Scene timelines manually added to this root must not be paused. A paused
child does not advance when the root is seeked. The runtime activates
registered composition siblings, not arbitrary nested scene timelines.
4. A video with sound keeps it on the `<video>` (`data-has-audio="true"`, no `muted`). Use a separate `<audio>` for music, voiceover, replacement audio, J/L cuts, or audio detached in Studio. Silent footage and b-roll: `muted`.
5. Sub-compositions use `data-composition-src="compositions/file.html"` to reference other HTML files
6. Only deterministic logic — no `Date.now()`, no `Math.random()`, no network fetches
+15
View File
@@ -0,0 +1,15 @@
GOAL: 20~50대가 "날씨를 보면 오늘 할 일을 알려 주는 앱"을 20초 안에 알고 프로필 링크(또는 토스 검색)로 열어 본다. 진짜 3D(Three.js 섬·하늘·구름·아이콘)로.
OUTPUT: HyperFrames, 1080 x 1920, 30 fps, 21 s = 630 frames. 음악은 HeyGen 로그인 후 붙인다(지금 무음).
WORLD: index.html 의 Three.js 장면 하나가 21초 내내 돈다. test-design/weather 디오라마(Kenney Nature Kit CC0 모델 15개, Fluent 3D 아이콘 스프라이트, 구름 스프라이트)를 가져오고
하늘은 브랜드 색 그라데이션 돔(새벽 복숭아 → 낮 파랑 #3f8fe0 → 흐림 회색 → 노을 보라·주황 → 밤 남색) + 해 글로우. 섬은 가을 팔레트(잎 #ff7a2e, 잔디 #c8b25a), 섬 z=-118, scale 2.
결정적: 별·구름 자리는 mulberry32(20261024), 모든 움직임은 t 의 함수(hf-seek). 모델 로드는 window.__hf.buildReady.main.
LOOK: 글은 sub-composition(o1~o6)으로 얹음. 낮 장면 글자는 흰색+남색 그림자, 위쪽 980px 에 어둠 띠(0.5→0)로 가독성. 첫 제목만 잉크색+흰 후광. 칩은 흰 둥근 사각, 점수 주황 #d4552a.
글자 x ≤ 900(오른쪽 액션 레일), y 168~1330. 폰은 720px 폭, 테두리 12px, 스크린샷 696px(여백 0), 가운데(좌우 180).
SHOTS: 0–3 새벽→낮. 해가 뜨고(rise) 카메라가 구름 덩어리를 뚫고 전진(camZ 12→-20). 하늘 아이콘 해·우산·자전거·빨래가 둥둥. "오늘 뭐 하기 / 좋은 날이지?"
3–6 흐림. 하늘 회색, 비 아이콘 낙하, 칩 흐림·19°·습도 70%, "…그래서 오늘 뭐 하죠?"
6–8.5 맑아지며 섬으로 하강(camZ -34→-103, lookY 3.2). 앱 아이콘 스프링 + "날씨각" + "날씨를 할 일로 바꿔요".
8.5–14.5 섬 주위를 돌며(spin 1.6) 하늘이 황금→노을로. 산책각 79(걷기 아이콘) → 캠핑각 75(캠핑 아이콘·텐트) → 한강각 84(노을 아이콘). 2026-10-24 서울 중구 API 점수.
14.5–17.5 밤. 별이 켜지고 카메라가 위를 본다. 폰(실제 홈 화면, 밤 테마)이 아래서 올라옴, "지금 내 동네 1위는?", "68가지 각".
17.5–21 엔드카드: 아이콘·날씨각·설치 없이 바로 무료·weather.o2o.kr·토스 검색, 토끼·곰.
BANNED: 검은 보이드, 글로우 남발(해 글로우만), 유리 카드, 세 카드 나란히, 코너 로고, 착지 뒤 떠다니는 제목, 지어낸 점수, 사용자 글 노출, 잘린 폰 화면.
QA: 전체 프레임 1초 간격 21장을 본다(잘라서 보지 않는다). 16.5초 폰 테두리 좌우 180/180 을 픽셀로 잰다. 글자가 오른쪽 레일(x>900)에 걸리지 않는지. 썸네일(cover)은 4:5 가운데 영역(y 285~1635) 안에 글이 들어가는 프레임.
+141
View File
@@ -0,0 +1,141 @@
// 날씨각 캐릭터 (career/shorts/nalssigak-shorts 에서 가져옴): 구름 캐릭터 = 맑은 날파 초록 털뭉치(셸 텍스처 퍼), 물방울 캐릭터 = 비 오는 날파 반투명 파란 젤리
import * as THREE from 'three';
import { mergeGeometries } from 'three/addons/utils/BufferGeometryUtils.js';
const eyeWhite = new THREE.MeshStandardMaterial({ color: 0xffffff, roughness: 0.25 });
const pupilMat = new THREE.MeshStandardMaterial({ color: 0x1b2240, roughness: 0.15 });
function makeEyes(z, spread, size) {
const g = new THREE.Group();
const pupils = [];
for (const sx of [-1, 1]) {
const w = new THREE.Mesh(new THREE.SphereGeometry(size, 32, 24), eyeWhite);
w.scale.set(1, 1.15, 0.7);
w.position.set(sx * spread, 0, z);
const p = new THREE.Mesh(new THREE.SphereGeometry(size * 0.55, 24, 16), pupilMat);
p.position.set(sx * spread, 0, z + size * 0.62);
g.add(w, p);
pupils.push(p);
}
g.userData.pupils = pupils;
g.userData.base = pupils.map((p) => p.position.x);
return g;
}
// 털 노이즈는 고정 시드라 어느 프레임을 먼저 그려도 같다
let noiseTex = null;
function noise() {
if (noiseTex) return noiseTex;
const n = 128, data = new Uint8Array(n * n * 4);
let seed = 1234567;
const rnd = () => ((seed = (seed * 16807) % 2147483647) / 2147483647);
for (let i = 0; i < n * n; i++) { const v = Math.floor(rnd() * 255); data.set([v, v, v, 255], i * 4); }
noiseTex = new THREE.DataTexture(data, n, n, THREE.RGBAFormat);
noiseTex.wrapS = noiseTex.wrapT = THREE.RepeatWrapping;
noiseTex.magFilter = noiseTex.minFilter = THREE.NearestFilter;
noiseTex.needsUpdate = true;
return noiseTex;
}
const furVert = `
uniform float uLayer; varying vec2 vUv; varying vec3 vN; varying vec3 vView; varying float vL;
void main(){
vUv = uv; vL = uLayer;
vec3 p = position + normal * uLayer * 0.17;
p.y -= uLayer * uLayer * 0.04;
vN = normalize(normalMatrix * normal);
vec4 mv = modelViewMatrix * vec4(p, 1.0);
vView = -mv.xyz;
gl_Position = projectionMatrix * mv;
}`;
const furFrag = `
uniform sampler2D uNoise; uniform vec3 uRoot; uniform vec3 uTip; uniform vec3 uWarm;
uniform float uTint; uniform float uNight;
varying vec2 vUv; varying vec3 vN; varying vec3 vView; varying float vL;
void main(){
float n = texture2D(uNoise, vUv * vec2(70.0, 36.0)).r;
if (vL > 0.0 && n < vL * 0.98) discard;
vec3 N = normalize(vN);
float d = max(dot(N, normalize(vec3(0.4, 0.7, 0.6))), 0.0);
float rim = pow(1.0 - max(dot(N, normalize(vView)), 0.0), 2.2);
vec3 c = mix(uRoot, uTip, vL);
c = mix(c, uWarm * mix(0.7, 1.1, vL), uTint * 0.6);
vec3 col = c * (0.42 + 0.8 * d) * mix(0.45, 1.0, vL) + rim * 0.35 * mix(uTip, uWarm, uTint);
col *= mix(1.0, 0.62, uNight);
gl_FragColor = vec4(col, 1.0);
#include <colorspace_fragment>
}`;
let furGeo = null;
function fur() {
if (furGeo) return furGeo;
const parts = [new THREE.SphereGeometry(0.78, 64, 48)];
for (let k = 0; k < 8; k++) { const a = (k / 8) * Math.PI * 2 + Math.PI / 8; const g = new THREE.SphereGeometry(0.44, 48, 32); g.translate(Math.cos(a) * 0.8, Math.sin(a) * 0.8, 0); parts.push(g); }
for (let k = 0; k < 5; k++) { const a = (k / 5) * Math.PI * 2; const g = new THREE.SphereGeometry(0.36, 48, 32); g.translate(Math.cos(a) * 0.4, Math.sin(a) * 0.4, 0.48); parts.push(g); }
furGeo = mergeGeometries(parts);
return furGeo;
}
/** 구름 캐릭터. 돌려주는 값: { group, eyes, uniforms(uTint 0~1 노을, uNight 0~1 밤) } */
export function makeCloud(shells = 34) {
const uniforms = { uNoise: { value: noise() }, uRoot: { value: new THREE.Color(0x1f8a1a) }, uTip: { value: new THREE.Color(0x8ef06a) }, uWarm: { value: new THREE.Color(0xff9a4a) }, uTint: { value: 0 }, uNight: { value: 0 } };
const group = new THREE.Group();
const body = new THREE.Group();
for (let i = 0; i < shells; i++) {
const mat = new THREE.ShaderMaterial({ uniforms: { ...uniforms, uLayer: { value: i / (shells - 1) } }, vertexShader: furVert, fragmentShader: furFrag });
const m = new THREE.Mesh(fur(), mat);
m.renderOrder = i;
body.add(m);
}
group.add(body);
const eyes = makeEyes(1.05, 0.13, 0.1);
eyes.position.y = 0.06;
group.add(eyes);
return { group, eyes, uniforms };
}
/** 물방울 캐릭터. 돌려주는 값: { group, eyes, arms, front, back } — front.color 를 바꾸면 전체 색이 바뀐다 */
export function makeDrop(envMap) {
const group = new THREE.Group();
const body = new THREE.Group();
const front = new THREE.MeshPhysicalMaterial({ color: 0x7cbcff, transparent: true, opacity: 0.58, roughness: 0.06, metalness: 0, clearcoat: 1, clearcoatRoughness: 0.04, envMapIntensity: 1.6, iridescence: 0.25, depthWrite: false, envMap });
const back = front.clone();
back.side = THREE.BackSide;
back.opacity = 0.32;
const coreMat = new THREE.MeshPhysicalMaterial({ color: 0xbfe0ff, transparent: true, opacity: 0.45, roughness: 0.3, depthWrite: false, envMap });
const addJelly = (geo, parent) => { const b = new THREE.Mesh(geo, back); b.renderOrder = 1; const f = new THREE.Mesh(geo, front); f.renderOrder = 3; parent.add(b, f); };
const center = new THREE.SphereGeometry(0.72, 64, 48);
center.scale(1, 0.95, 0.72);
addJelly(center, body);
const core = new THREE.Mesh(new THREE.SphereGeometry(0.42, 40, 30), coreMat);
core.scale.set(1, 0.9, 0.6); core.position.set(0.12, -0.1, -0.1); core.renderOrder = 2;
body.add(core);
const arms = [];
for (let k = 0; k < 6; k++) {
const a = Math.PI / 2 + (k / 6) * Math.PI * 2 + (k % 2 ? 0.08 : -0.05);
const arm = new THREE.Group();
const stem = new THREE.CapsuleGeometry(0.2 + (k % 3) * 0.02, 0.62, 12, 24);
stem.rotateZ(-Math.PI / 2); stem.translate(0.78, 0, 0); stem.scale(1, 1, 0.8);
addJelly(stem, arm);
const tip = new THREE.SphereGeometry(0.27, 40, 30);
tip.scale(1, 1, 0.8); tip.translate(1.18, 0, 0);
addJelly(tip, arm);
arm.rotation.z = a; arm.userData.a = a;
arms.push(arm);
body.add(arm);
}
group.add(body);
const eyes = makeEyes(0.6, 0.15, 0.1);
eyes.position.set(0.05, -0.02, 0);
group.add(eyes);
return { group, eyes, arms, front, back };
}
export const JELLY = { blue: new THREE.Color(0x7cbcff), warm: new THREE.Color(0xffb27a), night: new THREE.Color(0x5b78c8) };
/** 숨쉬기·팔 흔들기: t 의 함수 */
export function animate(b, m, t, phase = 0) {
b.group.rotation.set(Math.sin(t * 1.3 + phase) * 0.06, Math.sin(t * 0.9 + phase) * 0.18, Math.sin(t * 1.7 + phase) * 0.03);
m.group.rotation.set(Math.sin(t * 1.3 + phase + 1.7) * 0.06, Math.sin(t * 0.9 + phase + 1.7) * 0.18, Math.sin(t * 1.7 + phase + 1.7) * 0.03);
m.arms.forEach((arm, i) => { arm.rotation.z = arm.userData.a + Math.sin(t * 2.6 + i * 1.1) * 0.07; arm.scale.setScalar(1 + Math.sin(t * 3.1 + i) * 0.04); });
}
Binary file not shown.
@@ -0,0 +1 @@
3D icons in this folder are from Microsoft Fluent Emoji (https://github.com/microsoft/fluentui-emoji), licensed under the MIT License. Copyright (c) Microsoft Corporation.
Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

@@ -0,0 +1,7 @@
# 3D 모델 출처
| 파일 | 출처 | 라이선스 |
|---|---|---|
| `*.glb` | Nature Kit 2.1 by Kenney, https://kenney.nl/assets/nature-kit | CC0 1.0 |
구름과 아이콘(`../icons`)은 Microsoft Fluent Emoji, MIT. `../icons/LICENSE-fluent-emoji.txt` 참고.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loaded 100 of 366 files, more files were not shown because too many files have changed in this diff. Show more