Skip to content

hundong2/techlee

Repository files navigation

techlee.github.io

Software Tech Blog with AI-Powered Daily News

πŸš€ μžλ™ λ‰΄μŠ€ 생성 μ‹œμŠ€ν…œ

이 λΈ”λ‘œκ·ΈλŠ” Gemini APIλ₯Ό μ‚¬μš©ν•˜μ—¬ 맀일 μžλ™μœΌλ‘œ 기술 λ‰΄μŠ€λ₯Ό μƒμ„±ν•˜λŠ” μ‹œμŠ€ν…œμ„ ν¬ν•¨ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€.

πŸ“‹ μ£Όμš” κΈ°λŠ₯

  • AI 기반 λ‰΄μŠ€ 생성: Gemini APIλ₯Ό μ‚¬μš©ν•œ μžλ™ λ‰΄μŠ€ μž‘μ„±
  • GitHub Actions μžλ™ν™”: 맀일 μ •ν•΄μ§„ μ‹œκ°„μ— μžλ™ μ‹€ν–‰
  • λ‹€μ–‘ν•œ 기술 주제: 15κ°€μ§€ 기술 κ΄€λ ¨ μ£Όμ œμ—μ„œ 랜덀 선택
  • Jekyll λΈ”λ‘œκ·Έ 톡합: μƒμ„±λœ λ‰΄μŠ€λ₯Ό μžλ™μœΌλ‘œ λΈ”λ‘œκ·Έ 포슀트둜 λ³€ν™˜

βš™οΈ μ„€μ • 방법

  1. Gemini API ν‚€ μ„€μ •

    • Google AI Studioμ—μ„œ API ν‚€ λ°œκΈ‰
    • GitHub μ €μž₯μ†Œ Settings > Secrets > Actionsμ—μ„œ GEMINI_API_KEY μ„€μ •
  2. μ‹€ν–‰ μ‹œκ°„ μ‘°μ •

    • .github/workflows/daily-news-generator.ymlμ—μ„œ cron μ„€μ • μˆ˜μ •
  3. λ‰΄μŠ€ 주제 μ»€μŠ€ν„°λ§ˆμ΄μ§•

    • scripts/config.pyμ—μ„œ λ‰΄μŠ€ 주제 μΆ”κ°€/μˆ˜μ •

πŸ”§ μˆ˜λ™ μ‹€ν–‰

GitHub Actions νƒ­μ—μ„œ "Daily News Generator" μ›Œν¬ν”Œλ‘œμš°λ₯Ό μ„ νƒν•˜κ³  "Run workflow" λ²„νŠΌμ„ ν΄λ¦­ν•˜μ—¬ μˆ˜λ™μœΌλ‘œ μ‹€ν–‰ν•  수 μžˆμŠ΅λ‹ˆλ‹€.

πŸ“ 파일 ꡬ쑰

β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ generate_news_post.py    # 메인 λ‰΄μŠ€ 생성 슀크립트
β”‚   β”œβ”€β”€ config.py               # μ„€μ • 파일
β”‚   β”œβ”€β”€ test_generator.py       # ν…ŒμŠ€νŠΈ 슀크립트
β”‚   └── README.md              # 상세 μ‚¬μš©λ²•
β”œβ”€β”€ .github/workflows/
β”‚   └── daily-news-generator.yml # GitHub Actions μ›Œν¬ν”Œλ‘œμš°
β”œβ”€β”€ requirements.txt            # Python μ˜μ‘΄μ„±
└── _posts/                    # μƒμ„±λœ λ‰΄μŠ€ 포슀트

μžμ„Έν•œ μ‚¬μš©λ²•μ€ scripts/README.mdλ₯Ό μ°Έμ‘°ν•˜μ„Έμš”.

πŸ“¦ Bundle GitHub Pages Update

bundle update github-pages
gem update github-pages

πŸ“ž 지원

λ¬Έμ œκ°€ λ°œμƒν•˜κ±°λ‚˜ κ°œμ„  사항이 있으면 GitHub Issuesλ₯Ό 톡해 λ¬Έμ˜ν•΄μ£Όμ„Έμš”.

About

software tech blog

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors