This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
한글(/content/blog/ko) 포스팅을 커밋하면 husky pre-commit 훅이 실행되어 OpenAI로 영어 번역본을 /content/blog/en에 자동 생성합니다. 같은 경로의 영문 파일이 이미 있으면 번역을 건너뛰고 기존 내용을 유지합니다.
.env.local(또는.env)에OPENAI_API_KEY설정 (.env.example참고)yarn install후yarn prepare(husky 초기화)
content/blog/ko/*.mdx파일을 수정/추가 후git commit- pre-commit에서 스테이징된 ko 파일 중 대응하는 영문 파일이 없는 경우에만
scripts/translate-post.ts로 en MDX 생성 - 생성된 en 파일은 자동으로
git add되어 해당 커밋에 포함
- 번역 품질은 GPT-4o에 의존하므로 생성 후 검토 권장
- 코드 블록, 이미지 경로, MDX 컴포넌트는 보존됨
.env*는.gitignore에 의해 무시됨- Node 20 환경에서는 lint-staged v13 사용