Description(説明):
High-speed RESTful API server providing Japanese law and court case data with Redis caching, PostgreSQL storage, and optional AI features
日本語版:
日本の法令・判例データを提供する高速APIサーバー(Redis キャッシュ、PostgreSQL、AI 機能オプション)
Website:
https://clearclown.github.io/e-gov-api-fastAPI
(GitHub Pagesを有効化する場合)
以下のトピックを追加(Settings → General → Topics):
主要技術:
fastapipythonpostgresqlredisdockerpodmanuvicorn
用途・分野:
legal-techjapanese-lawcourt-casesapi-serverrestful-apilegal-datae-govjurisprudence
機能:
cachingdatabaseweb-scrapingapi-integrationmulti-language
AI関連(オプション機能):
vector-searchpgvectorragai-integrationsemantic-search
# 現在のバージョンにタグを付ける
git tag -a v0.2.0 -m "v0.2.0: Documentation Enhancement & Lite Version Support
- Comprehensive documentation in 7 languages
- Lite version with ~600MB memory usage
- AI features as optional dependencies
- Network and infrastructure guides
- Multi-language README support"
git push origin v0.2.0GitHub上で Releases → Create a new release で以下を設定:
Tag: v0.2.0
Title: 📚 v0.2.0 - Documentation Enhancement & Lite Version Support
Description:
## 🎉 Major Updates
### 📖 Documentation Enhancements
- **Multi-language Support**: 7 languages (Japanese, English, Chinese Simplified/Traditional, Russian, Persian, Arabic)
- **Comprehensive Guides**:
- Infrastructure setup (516 lines)
- Network configuration (522 lines)
- Screenshots and visual examples
- **Architecture Diagrams**: Complete system and data flow diagrams
### 🪶 Lite Version Support
- **Memory Optimization**: ~600MB (Lite) vs ~3-4GB (Full with AI)
- **Optional AI Features**: `pip install -e ".[ai]"` for AI capabilities
- **Improved Performance**: Faster startup and reduced resource usage
### 🛠️ Infrastructure Improvements
- Default Docker configuration optimized for Lite version
- Enhanced PostgreSQL healthcheck
- Reorganized dependency management
## 📸 Screenshots
- API Documentation (Swagger UI)
- Law Search Example ("表現の自由")
- Court Case Search Example
## 🚀 Installation
**Standard (Lite) Version:**
```bash
git clone https://github.com/clearclown/e-gov-api-fastAPI.git
cd e-gov-api-fastapi
podman compose up -dWith AI Features:
uv pip install -e ".[ai]"- @clearclown
- Generated with Claude Code
Full Changelog: https://github.com/clearclown/e-gov-api-fastAPI/compare/v0.1.0...v0.2.0
## 📌 GitHub Pages 設定(オプション)
### 有効化手順
1. Settings → Pages
2. Source: Deploy from a branch
3. Branch: `main` / `docs` (または `gh-pages` ブランチ作成)
4. Folder: `/ (root)` または `/docs`
### index.html 作成(docs/ に配置)
```html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>e-gov API FastAPI - 日本の法令・判例データAPI</title>
<meta http-equiv="refresh" content="0; url=https://github.com/clearclown/e-gov-api-fastAPI#readme">
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
}
.container {
text-align: center;
}
h1 { font-size: 2.5em; margin-bottom: 0.5em; }
p { font-size: 1.2em; }
a { color: #fff; text-decoration: underline; }
</style>
</head>
<body>
<div class="container">
<h1>📚 e-gov API FastAPI</h1>
<p>Redirecting to README...</p>
<p>If not redirected, <a href="https://github.com/clearclown/e-gov-api-fastAPI">click here</a>.</p>
</div>
</body>
</html>
すでに追加済みですが、今後追加できるバッジ:
<!-- CI/CD -->
[](https://github.com/clearclown/e-gov-api-fastAPI/actions)
<!-- Code Quality -->
[](https://codecov.io/gh/clearclown/e-gov-api-fastAPI)
[](https://github.com/psf/black)
<!-- Documentation -->
[](https://e-gov-api-fastapi.readthedocs.io/en/latest/?badge=latest)
<!-- Community -->
[](https://github.com/clearclown/e-gov-api-fastAPI/stargazers)
[](https://github.com/clearclown/e-gov-api-fastAPI/network/members)# Sponsor information
github: [clearclown]
custom: ["https://paypal.me/clearclown"]# Code owners
* @clearclown
/docs/ @clearclown
/app/ @clearclown
- Description
- README
- License (MIT + Apache 2.0)
- Code of Conduct (必要に応じて)
- Contributing guidelines (必要に応じて)
- Issue templates
- Pull request template
.github/ISSUE_TEMPLATE/bug_report.md:
---
name: Bug report
about: Create a report to help us improve
title: '[BUG] '
labels: bug
assignees: clearclown
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1.
2.
3.
**Expected behavior**
What you expected to happen.
**Environment:**
- OS: [e.g. Ubuntu 22.04]
- Python version: [e.g. 3.12]
- Installation method: [Docker/uv]
**Additional context**
Add any other context about the problem here.-
リポジトリ設定を確認
- Settings → General → Features で Issues, Discussions を有効化
- Wikis も有効化してドキュメント拡充
-
セキュリティ設定
- Settings → Security → Dependabot を有効化
- Code scanning alerts を有効化
-
Actions設定
- CI/CD ワークフローを追加(テスト自動化)
-
プロジェクトボード作成
- Projects タブで開発ロードマップを可視化
これらの設定により、プロジェクトの可視性と使いやすさが大幅に向上します!