pgx
PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘
Translation pending
9회 전국동시지방선거(6.3) 결과 — 광역단체장 민주 11·국힘 5·최종 투표율 61.0% · 22대 통과 법안 1,847건 · 정치인 약 780명 약력·표결 · 환율·코스피 실시간 · 한국 구글 트렌드. 무료.
Translation pending
DataHTML · CSSGitHub @minsoo500101-rgbOnlineOwner 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
Loading the full README. The saved excerpt is shown below.
한국의 모든 것을 데이터로 — 정치·법안·선거·인물·역사 종합 데이터 플랫폼. • 🗺 정치 분포 지도 — 17 시도 + 250 시군구 정당색 인터랙티브 • 📊 법안 상세 분석 — 정당별 표결·반란표·관련 판례·헌재 결정·법령 본문 • 📰 실시간 뉴스 — 네이버 검색 API로 인물·법안별 최신 보도 • 📈 관심도 추적 — 위키백과 페이지뷰 30일 추이 • 🌐 국제 비교 — 12개 민주국가 (의원수·여성비율·민주주의지수) • 🌓 다크·라이트 모드 — 시스템 설정 자동 감지Read the full README ↗
한국의 모든 것을 데이터로 — 정치·법안·선거·인물·역사 종합 데이터 플랫폼.
🔗 라이브 사이트: https://patchkr.com
| 영역 | 데이터 | 페이지 |
|---|---|---|
| 🏛 정치 | 대통령·총리·17부처 장관/차관·외청장·헌법기관 27명 + 대통령실 4명 | / /group/executive |
| 📜 법안 | 22대 국회 본회의 통과 1,595건 (발의자·정당·15분야·통과 속도) | /bills |
| 🗳 선거 | 9회 지방선거 후보자 697명 실시간 (5대 공약 포함) + 역대 7·8회 비교 | /election2026 /elections |
| 👥 인물 | 744명 종합 (22대 의원·단체장·사법부·검찰·역대 인물) | / |
| 📚 역사 | 1948~현재 정당사 45개, 역대 광역단체장·사법부 수장·정당 대표 | /history/parties |
/api/*)
api/nec.js — 중앙선거관리위원회 후보자 데이터api/law.js — 국가법령정보 (법령·판례·헌재 결정)api/naver.js — 네이버 검색 (뉴스)api/bill.js — 국회 법안 상세git clone https://github.com/minsoo500101-rgb/politik.git
cd politik
# 정적 서버 — 예: Python 내장
python -m http.server 8000
# 브라우저에서 http://localhost:8000
API 프록시 기능을 로컬에서 테스트하려면 Vercel CLI:
npm i -g vercel
vercel link
vercel env pull # .env.local 받기 (운영자만 가능)
vercel dev # http://localhost:3000
| Key | 용도 | 발급처 |
|---|---|---|
DATA_GO_KR_KEY | 중앙선관위 후보자·공약 | data.go.kr |
LAW_GO_KR_OC | 국가법령정보 (법령·판례) | open.law.go.kr |
NAVER_CLIENT_ID | 네이버 검색 | developers.naver.com |
NAVER_CLIENT_SECRET | 네이버 검색 (시크릿) | 동일 |
기여 환영합니다! 특히:
개발자·시민테크 프로젝트용 무료 REST API. CORS 열림, 24시간 CDN 캐시.
# Endpoint 목록
curl https://patchkr.com/api/data
# 정치인 전체 (학력·경력 포함)
curl https://patchkr.com/api/data?type=politicians
# 그룹별 (legislative/executive/judicial/local/historical)
curl https://patchkr.com/api/data?type=politicians&group=legislative
# 단일 정치인
curl https://patchkr.com/api/data?type=politicians&id=kr.min.보훈
# 정치 용어 사전 (136개)
curl https://patchkr.com/api/data?type=glossary
# 사이트 통계·요약
curl https://patchkr.com/api/data?type=info
라이선스: 공공누리 1유형 · CC BY-SA 4.0 (위키 인용분)
출처 표기 권장: Data: patchkr.com · https://github.com/minsoo500101-rgb/politik
광고·데이터 라이선싱·컨설팅:
서버 운영비·API 사용료에 사용됩니다:
| 항목 | 수치 |
|---|---|
| 등록 인물 | 744명 |
| career 데이터 | 141명 (27.6%) |
| 22대 통과 법안 | 1,595건 |
| 9회 지선 후보자 | 697명 |
| 통합 API | 11개 |
| 시군구 매핑 | 250 (100%) |
모든 git push에서 GitHub Actions가 자동 검증:
</script> 리터럴 검사 (HTML 파서 조기 종료 방지)로컬 검증:
node scripts/validate.js
# 또는
npm run validate
https://patchkr.com → Interval 5분index.html <head>에 추가:
<script src="https://browser.sentry-cdn.com/7/bundle.min.js"></script>
<script>Sentry.init({ dsn: 'YOUR_DSN', tracesSampleRate: 0.1 });</script>
<script defer data-domain="patchkr.com" src="https://plausible.io/js/script.js"></script>
GA4 대비 가벼움(1KB) + 쿠키 없음 + GDPR 친화.
https://patchkr.com 입력<meta name="google-site-verification"> 태그 방식 선택sitemap.xml.github/workflows/daily-sync.yml이 매일 09:00 KST에:
수동 트리거: Actions 탭 → Daily data sync → Run workflow
상업적 이용 가능. 출처 표기 권장.
https://patchkr.com 입력index.html의 <meta name="naver-site-verification"> content 교체sitemap.xml 입력주요 URL 10개 정도 수동 요청 (일 50회 가능)
| 도구 | 가격 | 개인정보 | 무게 |
|---|---|---|---|
| Plausible ⭐ | $9/월 (or 셀프호스팅 무료) | 100% 익명·쿠키 X | 1KB |
| Umami | 셀프호스팅 무료 | 익명 | 2KB |
| GA4 | 무료 | 추적·동의 필요 | 50KB+ |
추가 1줄로 적용:
<script defer data-domain="patchkr.com" src="https://plausible.io/js/script.js"></script>
🤖 Open source · Built with Claude Code