Back to automation
automation v1.0.0 1.4 min read 89 lines

ios-trend-digest

iOS/Swift 기술 트렌드를 매일 Notion에 기록 — HN, r/iOSProgramming, Apple 개발자 뉴스에서 수집

icbm2

iOS/Swift 트렌드 Digest

매일 iOS/Swift 관련 기술 트렌드를 Notion DB에 기록합니다.

Notion DB

  • DB ID: 33c76f2e-9097-8112-84f6-c60096cc0e11
  • DB명: iOS Trend
  • 속성: Name(title), Date(date), Category(select), URL(url)
  • 카테고리 옵션: Swift, SwiftUI, UIKit, AI/ML, Tool, Apple, Other

실행 단계

1. 뉴스 수집

다음 소스에서 당일 iOS/Swift 관련 주요 뉴스/글을 수집:

# Hacker News (iOS, Swift, Apple 관련)

검색: site:news.ycombinator.com iOS OR Swift OR SwiftUI OR Xcode OR "Apple Developer"

Reddit r/iOSProgramming 최신글


https://www.reddit.com/r/iOSProgramming/hot/.json

Apple 개발자 뉴스


https://developer.apple.com/news/


2. Notion에 기록

각 트렌드 항목을 Notion DB에 페이지로 생성:

import os, json, subprocess
from datetime import datetime, timezone, timedelta

Notion API 호출 (보안 필터 회피: 환경변수 사용)


TK_PATH = os.environ["NOTION_TOKEN_PATH"]
DB_ID = "33c76f2e-9097-8112-84f6-c60096cc0e11"
today = datetime.now(timezone(timedelta(hours=9))).strftime("%Y-%m-%d")

with open(TK_PATH) as f:
tk = f.read().strip()

payload를 JSON 파일로 저장 후 curl로 전송


payload = {
"parent": {"database_id": DB_ID},
"properties": {
"Name": {"title": [{"text": {"content": "제목"}}]},
"Date": {"date": {"start": today}},
"Category": {"select": {"name": "Swift"}},
"URL": {"url": "https://..."}
}
}
with open("/tmp/notion_entry.json", "w") as f:
json.dump(payload, f, ensure_ascii=False)

env = dict(os.environ)
env["NTK"] = tk
r = subprocess.run(
f'curl -s -X POST --max-time 15 https://api.notion.com/v1/pages -H "Authorization: Bearer $NTK" -H "Notion-Version: 2022-06-28" -H "Content-Type: application/json" -d @/tmp/notion_entry.json',
shell=True, capture_output=True, text=True, env=env
)

3. 품질 기준

  • 최소 3개, 최대 7개 항목 기록
  • WWDC 시즌(6월)에는 Apple 관련 비중 높임
  • 중대한 업데이트(iOS 버전, Xcode 버전, Swift 버전)는 최우선
  • 각 항목에 1-2문장 요약을 페이지 본문에 추가
  • URL 속성은 항상 기록 (참고 링크가 없으면 Apple 공식 문서 관련 URL이라도 반드시 기록)
  • 한국어로 작성

4. 완료 확인

기록된 항목 수와 DB URL을 출력하여 확인.

Related Skills / 관련 스킬

agent-benchmark-tracker

AI 에이전트/모델 벤치마크 결과를 추적하여 Notion에 기록 — SWE-bench, HumanEval, GAIA, WebArena, LiveCodeBench 등

agentnews-monitor

AgentNews 실시간 모니터링 — 매시간 AI 에이전트 뉴스 피드를 확인하고 관심사 매칭 뉴스를 threshold 기반으로 알림 (하루 2~3건 제한)

ai-model-tracker

AI 모델 릴리즈/업데이트를 매일 Notion에 기록 — 새 모델 출시, 벤치마크, 가격 변동 추적

auto-researcher

심층 자동 조사 — 주제를 받아 여러 소스에서 수집 후 종합 리포트 작성