Easy-to-manage touch screens
Free, open-source touch screens. Guided USB setup, a drag-and-drop editor and local control. Made for Home Assistant.
하루 1개, 아주 작은 미션을 뽑아 해내고 도장을 모으는 그림일기 챌린지
Translation pending
LifestyleTypeScript · PLpgSQLGitHub @yjin982OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗하루 1개, 부담 없는 미션을 무작위로 뽑아 해내고 그 기록이 그림일기처럼 쌓이는 모바일 우선 웹앱입니다. 완료 인증은 사진 없이 자기신고(체크)만 하고, 완료하면 도장이 쾅 찍힙니다. 이름은 '내가 일으킬 수 있는 아주 작은 기적, 밍기적'이라는 인터넷 밈에서 따왔습니다.
| 경로 | 내용 |
|---|---|
/ | 홈. 오늘 상태에 따라 뽑기 전 → 도전중 → 완료 → 연속 달성 화면으로 바뀝니다 |
/welcome | 시작 화면. 세션이 없으면 여기로 옵니다(익명으로 시작하기, Google 계정으로 계속) |
/records | 기록. 월간 도장 달력, 누적·연속 칩, 날짜별 상세. ?month=YYYY-MM으로 지난달을 봅니다 |
/settings | 설정. 계정(Google 계정 연결, 로그아웃), 앱 정보, 계정 삭제(익명은 이 기기 기록 모두 지우기) |
/privacy, /terms | 개인정보처리방침, 서비스 이용약관 |
모바일은 하단 탭과 제목 줄의 계정 메뉴, 데스크톱(1024px 이상)은 상단 헤더(계정 메뉴 포함)와 2단 배치입니다.
app/globals.css의 @theme)@supabase/ssr@date-fns/tz (하루 기준은 Asia/Seoul)next/font/google)화면은 Route Handler(app/api/.../route.ts)를 부르고, Route Handler는 supabase.rpc()로 Postgres 함수를 호출합니다.
테이블에는 쓰기 정책이 없어 모든 쓰기는 security definer 함수가 맡고, service role 키는 쓰지 않습니다.
뽑기 규칙(최근 완료·넘긴 미션 제외 등)과 날짜 판단도 서버(DB 함수)에서만 처리합니다.
| API | 설명 |
|---|---|
GET /api/today | 오늘 상태(뽑기 전·도전중·완료, 미션, 남은 재뽑기, 연속·누적, 최근 기록) |
POST /api/today/draw | 오늘의 카드 뽑기 |
POST /api/today/reroll | 다시 뽑기(하루 3번) |
POST /api/today/complete | 완료하고 도장 찍기 |
GET /api/records?month=YYYY-MM | 그 달의 완료 기록 |
POST /api/account/delete | 계정 삭제(사용자와 모든 기록) |
package.json의 engines에 24.x로 지정되어 있고, Vercel도 이 값으로 Node 버전을 고릅니다packageManager에 [email protected]로 지정되어 있어, 설치된 pnpm이 이 버전으로 맞춰 실행합니다)pnpm install
http://localhost:3000/**와 배포 주소의 /**를 넣습니다(쿼리까지 비교하므로 **가 필요합니다).supabase/migrations/20261016000000_init.sql: 테이블, RLS, 함수supabase/seed.sql: 미션 200개(다시 실행해도 덮어씁니다)supabase/migrations/20261027000000_delete_my_account.sql: 계정 삭제 함수.env.example을 .env로 복사하고 값을 채웁니다.
| 변수 | 설명 |
|---|---|
NEXT_PUBLIC_SUPABASE_URL | Supabase 프로젝트 URL |
NEXT_PUBLIC_SUPABASE_KEY | Supabase publishable 키. 브라우저에서 익명 로그인을 하므로 공개되는 키입니다 |
HOLIDAY_API_KEY | 특일 정보 API 인증키(서버 전용) |
CRON_SECRET | (배포용) Vercel Cron이 /api/cron/keep-alive를 부를 때 쓰는 비밀 값 |
pnpm dev # 개발 서버 (http://localhost:3000)
pnpm build # 프로덕션 빌드
pnpm start # 빌드 결과 실행
pnpm lint # ESLint
pnpm gen:types # DB 구조가 바뀌면 types/database.ts 다시 생성(Supabase CLI 로그인 필요)
Supabase 무료 프로젝트는 7일 동안 요청이 없으면 일시 중지됩니다.
vercel.json의 Vercel Cron이 매일 03:00(한국 시간)에 /api/cron/keep-alive를 불러 미션 한 줄을 읽어 둡니다.
Vercel 환경변수에 CRON_SECRET(임의의 긴 문자열)을 넣어 두면, 그 값을 가진 요청만 처리합니다.
app/ 라우팅 파일만 둔다 (page, layout, route, loading, error, not-found)
api/ Route Handler 6개
components/
ui/ 손그림 테두리, 버튼, 칩·배지, 스켈레톤, 상태 카드 등 공통 요소
stamp/ 도장 6종 컴포넌트
home/ 홈 전용(카드 더미·미션 카드, 스와이프, 완료 연출, 연속 달성)
records/ 기록 전용(월간 달력, 날짜 상세)
nav/ 모바일 하단 탭, 데스크톱 헤더
auth/ 시작 화면, Google 로그인·연결, 계정 메뉴
settings/ 설정 화면
legal/ 처리방침·약관 문안과 화면
lib/ Supabase 클라이언트, API 호출·로그인 도우미, 날짜·공휴일
proxy.ts 세션 확인·갱신, 세션이 없으면 시작 화면으로
types/ API 응답 타입(api.ts), Supabase DB 타입(database.ts, 자동 생성)
supabase/ DB 스키마(migrations)와 미션 시드
public/images/ 마스코트, 도장 원본, 낙서 장식, 도화지 텍스처