fix
Some checks failed
Deploy ailog / build-and-deploy (push) Failing after 13m14s

This commit is contained in:
2025-06-11 12:34:24 +09:00
parent f1f179903d
commit f7c9e1085c
66 changed files with 9152 additions and 800 deletions

View File

@@ -1,10 +1,89 @@
# ai.log
A Rust-based static blog generator with AI integration capabilities.
AI-powered static blog generator with ATProto integration, part of the ai.ai ecosystem.
## Overview
## 🚀 Quick Start
ai.log is part of the ai ecosystem - a static site generator that creates blogs with built-in AI features for content enhancement and atproto integration. The system follows the yui system principles with dual-layer MCP architecture.
```bash
# Development
./run.zsh serve
# Production (with Cloudflare Tunnel)
./run.zsh tunnel
```
## 📋 Commands
| Command | Description |
|---------|-------------|
| `./run.zsh serve` | Start development server |
| `./run.zsh build` | Build blog only |
| `./run.zsh oauth` | Copy OAuth files to static/ |
| `./run.zsh all` | Build OAuth + blog |
| `./run.zsh clean` | Clean all build artifacts |
| `./run.zsh tunnel` | Production deployment |
## 🏗️ Architecture (Pure Rust + HTML + JS)
```
ai.log/
├── oauth/ # 🎯 OAuth files (protected)
│ ├── oauth-widget-simple.js # Self-contained OAuth widget
│ ├── oauth-simple.html # OAuth authentication page
│ ├── client-metadata.json # ATProto configuration
│ └── README.md # Usage guide
├── my-blog/ # Blog content and templates
│ ├── content/posts/ # Markdown blog posts
│ ├── templates/ # Tera templates
│ ├── static/ # Static assets (OAuth copied here)
│ └── public/ # Generated site (build output)
├── src/ # Rust blog generator
├── scripts/ # Build and deployment scripts
└── run.zsh # 🎯 Main build script
```
### ✅ Node.js Dependencies Eliminated
-`package.json` - Removed
-`node_modules/` - Removed
-`npm run build` - Not needed
- ✅ Pure JavaScript OAuth implementation
- ✅ CDN-free, self-contained code
- ✅ Rust-only build process
---
## 📖 Original Features
[![Rust](https://img.shields.io/badge/Rust-000000?style=for-the-badge&logo=rust&logoColor=white)](https://www.rust-lang.org/)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
## 概要
ai.logは、[Anthropic Docs](https://docs.anthropic.com/)にインスパイアされたモダンなインターフェースを持つ、次世代静的ブログジェネレーターです。ai.gptとの深い統合、ローカルAI機能、atproto OAuth連携により、従来のブログシステムを超えた体験を提供します。
## 主な特徴
### 🎨 モダンインターフェース
- **Anthropic Docs風デザイン**: プロフェッショナルで読みやすい
- **Timeline形式**: BlueskyライクなタイムラインUI
- **自動TOC**: 右サイドバーに目次を自動生成
- **レスポンシブ**: モバイル・デスクトップ対応
### 🤖 AI統合機能
- **Ask AI**: ローカルLLM(Ollama)による質問応答
- **自動翻訳**: 日本語↔英語の自動生成
- **AI記事強化**: コンテンツの自動改善
- **AIコメント**: 記事への一言コメント生成
### 🌐 分散SNS連携
- **atproto OAuth**: Blueskyアカウントでログイン
- **コメントシステム**: 分散SNSコメント
- **データ主権**: ユーザーがデータを所有
### 🔗 エコシステム統合
- **ai.gpt**: ドキュメント同期・AI機能連携
- **MCP Server**: ai.gptからの操作をサポート
- **ai.wiki**: 自動ドキュメント同期
## Architecture