This commit is contained in:
2025-06-06 02:14:35 +09:00
parent 02dd69840d
commit a9dca2fe38
33 changed files with 2141 additions and 9 deletions

21
test-blog/config.toml Normal file
View File

@ -0,0 +1,21 @@
[site]
title = "My Blog"
description = "A blog powered by ailog"
base_url = "https://example.com"
language = "ja"
[build]
highlight_code = true
minify = false
[ai]
enabled = true
auto_translate = true
comment_moderation = true
# api_key = "your-openai-api-key"
# gpt_endpoint = "https://api.openai.com/v1/chat/completions"
# [ai.atproto_config]
# client_id = "https://example.com/client-metadata.json"
# redirect_uri = "https://example.com/callback"
# handle_resolver = "https://bsky.social"

View File

@ -0,0 +1,39 @@
---
title: AI統合ブログシステムの紹介
date: 2025-06-06
tags: [AI, 技術, ブログ]
---
# AI統合ブログシステムの紹介
ai.logは、静的ブログジェネレーターにAI機能を統合した革新的なシステムです。このシステムは存在子理論に基づき、現実の個人の唯一性をデジタル世界で担保することを目指しています。
## 主な機能
### 1. AI記事編集・強化
- 文法エラーの自動修正
- 読みやすさの向上
- 関連情報の追加提案
### 2. 自動翻訳機能
日本語で書かれた記事を自動的に英語に翻訳し、グローバルな読者にリーチできます。Markdownフォーマットを保持したまま、自然な翻訳を提供します。
### 3. AIコメントシステム
AI存在子が各記事に対して独自の視点からコメントを追加します。これにより、読者に新たな洞察を提供します。
### 4. atproto統合
分散型SNSプロトコルであるatprotoと統合し、以下を実現します
- OAuth認証によるセキュアなログイン
- コメントデータの分散管理
- ユーザーデータ主権の確立
## 技術スタック
- **言語**: Rust
- **AI**: OpenAI GPT API
- **認証**: atproto OAuth 2.0
- **デプロイ**: GitHub Actions + Cloudflare Pages
## 今後の展望
ai.logは、単なるブログツールを超えて、AIと人間が共創する新しいコンテンツプラットフォームを目指しています。存在子理論に基づく唯一性の担保により、デジタル世界での個人のアイデンティティを守りながら、AIによる創造性の拡張を実現します。

View File

@ -0,0 +1,32 @@
---
title: "Welcome to ailog"
date: 2025-01-06
tags: ["welcome", "ailog"]
---
# Welcome to ailog
This is your first post powered by **ailog** - a static blog generator with AI features.
## Features
- Fast static site generation
- Markdown support with frontmatter
- AI-powered features (coming soon)
- atproto integration for comments
## Getting Started
Create new posts with:
```bash
ailog new "My New Post"
```
Build your blog with:
```bash
ailog build
```
Happy blogging!

View File

@ -0,0 +1,58 @@
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: #333;
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
header {
margin-bottom: 40px;
border-bottom: 1px solid #eee;
padding-bottom: 20px;
}
header h1 {
margin: 0;
}
header h1 a {
color: #333;
text-decoration: none;
}
.post-list {
list-style: none;
padding: 0;
}
.post-list li {
margin-bottom: 15px;
}
.post-list time {
color: #666;
font-size: 0.9em;
margin-left: 10px;
}
article time {
color: #666;
display: block;
margin-bottom: 20px;
}
pre {
background-color: #f4f4f4;
padding: 15px;
border-radius: 5px;
overflow-x: auto;
}
code {
background-color: #f4f4f4;
padding: 2px 5px;
border-radius: 3px;
font-family: 'Consolas', 'Monaco', monospace;
}

View File

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Blog</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<header>
<h1><a href="/">My Blog</a></h1>
<p>A blog powered by ailog</p>
</header>
<main>
<h2>Recent Posts</h2>
<ul class="post-list">
<li>
<a href="&#x2F;posts&#x2F;2025-06-06-ai統合ブログシステムの紹介.html">AI統合ブログシステムの紹介</a>
<time>2025-06-06</time>
</li>
<li>
<a href="&#x2F;posts&#x2F;welcome.html">Welcome to ailog</a>
<time>2025-01-06</time>
</li>
</ul>
</main>
<footer>
<p>&copy; 2025 My Blog</p>
</footer>
</body>
</html>

View File

@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI統合ブログシステムの紹介 - My Blog</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<header>
<h1><a href="/">My Blog</a></h1>
<p>A blog powered by ailog</p>
</header>
<main>
<article>
<h1>AI統合ブログシステムの紹介</h1>
<time>2025-06-06</time>
<div class="content">
<h1>AI統合ブログシステムの紹介</h1>
<p>ai.logは、静的ブログジェネレーターにAI機能を統合した革新的なシステムです。このシステムは存在子理論に基づき、現実の個人の唯一性をデジタル世界で担保することを目指しています。</p>
<h2>主な機能</h2>
<h3>1. AI記事編集・強化</h3>
<ul>
<li>文法エラーの自動修正</li>
<li>読みやすさの向上</li>
<li>関連情報の追加提案</li>
</ul>
<h3>2. 自動翻訳機能</h3>
<p>日本語で書かれた記事を自動的に英語に翻訳し、グローバルな読者にリーチできます。Markdownフォーマットを保持したまま、自然な翻訳を提供します。</p>
<h3>3. AIコメントシステム</h3>
<p>AI存在子が各記事に対して独自の視点からコメントを追加します。これにより、読者に新たな洞察を提供します。</p>
<h3>4. atproto統合</h3>
<p>分散型SNSプロトコルであるatprotoと統合し、以下を実現します</p>
<ul>
<li>OAuth認証によるセキュアなログイン</li>
<li>コメントデータの分散管理</li>
<li>ユーザーデータ主権の確立</li>
</ul>
<h2>技術スタック</h2>
<ul>
<li><strong>言語</strong>: Rust</li>
<li><strong>AI</strong>: OpenAI GPT API</li>
<li><strong>認証</strong>: atproto OAuth 2.0</li>
<li><strong>デプロイ</strong>: GitHub Actions + Cloudflare Pages</li>
</ul>
<h2>今後の展望</h2>
<p>ai.logは、単なるブログツールを超えて、AIと人間が共創する新しいコンテンツプラットフォームを目指しています。存在子理論に基づく唯一性の担保により、デジタル世界での個人のアイデンティティを守りながら、AIによる創造性の拡張を実現します。</p>
</div>
</article>
</main>
<footer>
<p>&copy; 2025 My Blog</p>
</footer>
</body>
</html>

View File

@ -0,0 +1,60 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI統合ブログシステムの紹介 - My Blog</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<header>
<h1><a href="/">My Blog</a></h1>
<p>A blog powered by ailog</p>
</header>
<main>
<article>
<h1>AI統合ブログシステムの紹介</h1>
<time>2025-06-06</time>
<div class="content">
<h1>AI統合ブログシステムの紹介</h1>
<p>ai.logは、静的ブログジェネレーターにAI機能を統合した革新的なシステムです。このシステムは存在子理論に基づき、現実の個人の唯一性をデジタル世界で担保することを目指しています。</p>
<h2>主な機能</h2>
<h3>1. AI記事編集・強化</h3>
<ul>
<li>文法エラーの自動修正</li>
<li>読みやすさの向上</li>
<li>関連情報の追加提案</li>
</ul>
<h3>2. 自動翻訳機能</h3>
<p>日本語で書かれた記事を自動的に英語に翻訳し、グローバルな読者にリーチできます。Markdownフォーマットを保持したまま、自然な翻訳を提供します。</p>
<h3>3. AIコメントシステム</h3>
<p>AI存在子が各記事に対して独自の視点からコメントを追加します。これにより、読者に新たな洞察を提供します。</p>
<h3>4. atproto統合</h3>
<p>分散型SNSプロトコルであるatprotoと統合し、以下を実現します</p>
<ul>
<li>OAuth認証によるセキュアなログイン</li>
<li>コメントデータの分散管理</li>
<li>ユーザーデータ主権の確立</li>
</ul>
<h2>技術スタック</h2>
<ul>
<li><strong>言語</strong>: Rust</li>
<li><strong>AI</strong>: OpenAI GPT API</li>
<li><strong>認証</strong>: atproto OAuth 2.0</li>
<li><strong>デプロイ</strong>: GitHub Actions + Cloudflare Pages</li>
</ul>
<h2>今後の展望</h2>
<p>ai.logは、単なるブログツールを超えて、AIと人間が共創する新しいコンテンツプラットフォームを目指しています。存在子理論に基づく唯一性の担保により、デジタル世界での個人のアイデンティティを守りながら、AIによる創造性の拡張を実現します。</p>
</div>
</article>
</main>
<footer>
<p>&copy; 2025 My Blog</p>
</footer>
</body>
</html>

View File

@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to ailog - My Blog</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<header>
<h1><a href="/">My Blog</a></h1>
<p>A blog powered by ailog</p>
</header>
<main>
<article>
<h1>Welcome to ailog</h1>
<time>2025-01-06</time>
<div class="content">
<h1>Welcome to ailog</h1>
<p>This is your first post powered by <strong>ailog</strong> - a static blog generator with AI features.</p>
<h2>Features</h2>
<ul>
<li>Fast static site generation</li>
<li>Markdown support with frontmatter</li>
<li>AI-powered features (coming soon)</li>
<li>atproto integration for comments</li>
</ul>
<h2>Getting Started</h2>
<p>Create new posts with:</p>
<pre><code><span style="color:#8fa1b3;">ailog</span><span style="color:#c0c5ce;"> new &quot;</span><span style="color:#a3be8c;">My New Post</span><span style="color:#c0c5ce;">&quot;</span>
</code></pre>
<p>Build your blog with:</p>
<pre><code><span style="color:#8fa1b3;">ailog</span><span style="color:#c0c5ce;"> build</span>
</code></pre>
<p>Happy blogging!</p>
</div>
</article>
</main>
<footer>
<p>&copy; 2025 My Blog</p>
</footer>
</body>
</html>

View File

@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to ailog - My Blog</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<header>
<h1><a href="/">My Blog</a></h1>
<p>A blog powered by ailog</p>
</header>
<main>
<article>
<h1>Welcome to ailog</h1>
<time>2025-01-06</time>
<div class="content">
<h1>Welcome to ailog</h1>
<p>This is your first post powered by <strong>ailog</strong> - a static blog generator with AI features.</p>
<h2>Features</h2>
<ul>
<li>Fast static site generation</li>
<li>Markdown support with frontmatter</li>
<li>AI-powered features (coming soon)</li>
<li>atproto integration for comments</li>
</ul>
<h2>Getting Started</h2>
<p>Create new posts with:</p>
<pre><code><span style="color:#8fa1b3;">ailog</span><span style="color:#c0c5ce;"> new &quot;</span><span style="color:#a3be8c;">My New Post</span><span style="color:#c0c5ce;">&quot;</span>
</code></pre>
<p>Build your blog with:</p>
<pre><code><span style="color:#8fa1b3;">ailog</span><span style="color:#c0c5ce;"> build</span>
</code></pre>
<p>Happy blogging!</p>
</div>
</article>
</main>
<footer>
<p>&copy; 2025 My Blog</p>
</footer>
</body>
</html>

View File

@ -0,0 +1,58 @@
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
color: #333;
max-width: 800px;
margin: 0 auto;
padding: 20px;
}
header {
margin-bottom: 40px;
border-bottom: 1px solid #eee;
padding-bottom: 20px;
}
header h1 {
margin: 0;
}
header h1 a {
color: #333;
text-decoration: none;
}
.post-list {
list-style: none;
padding: 0;
}
.post-list li {
margin-bottom: 15px;
}
.post-list time {
color: #666;
font-size: 0.9em;
margin-left: 10px;
}
article time {
color: #666;
display: block;
margin-bottom: 20px;
}
pre {
background-color: #f4f4f4;
padding: 15px;
border-radius: 5px;
overflow-x: auto;
}
code {
background-color: #f4f4f4;
padding: 2px 5px;
border-radius: 3px;
font-family: 'Consolas', 'Monaco', monospace;
}

View File

@ -0,0 +1,23 @@
<!DOCTYPE html>
<html lang="{{ config.language }}">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{{ config.title }}{% endblock %}</title>
<link rel="stylesheet" href="/css/style.css">
</head>
<body>
<header>
<h1><a href="/">{{ config.title }}</a></h1>
<p>{{ config.description }}</p>
</header>
<main>
{% block content %}{% endblock %}
</main>
<footer>
<p>&copy; 2025 {{ config.title }}</p>
</footer>
</body>
</html>

View File

@ -0,0 +1,13 @@
{% extends "base.html" %}
{% block content %}
<h2>Recent Posts</h2>
<ul class="post-list">
{% for post in posts %}
<li>
<a href="{{ post.url }}">{{ post.title }}</a>
<time>{{ post.date }}</time>
</li>
{% endfor %}
</ul>
{% endblock %}

View File

@ -0,0 +1,13 @@
{% extends "base.html" %}
{% block title %}{{ post.title }} - {{ config.title }}{% endblock %}
{% block content %}
<article>
<h1>{{ post.title }}</h1>
<time>{{ post.date }}</time>
<div class="content">
{{ post.content | safe }}
</div>
</article>
{% endblock %}