add cargo
This commit is contained in:
73
README.md
73
README.md
@ -0,0 +1,73 @@
|
||||
# ai.log
|
||||
|
||||
A Rust-based static blog generator with AI integration capabilities.
|
||||
|
||||
## Overview
|
||||
|
||||
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.
|
||||
|
||||
## Features
|
||||
|
||||
- Static blog generation (inspired by Zola)
|
||||
- AI-powered article editing and enhancement
|
||||
- Automatic translation (ja → en)
|
||||
- AI comment system integrated with atproto
|
||||
- OAuth authentication via atproto accounts
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
cargo install ailog
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```bash
|
||||
# Initialize a new blog
|
||||
ailog init myblog
|
||||
|
||||
# Create a new post
|
||||
ailog new "My First Post"
|
||||
|
||||
# Build the blog
|
||||
ailog build
|
||||
|
||||
# Serve locally
|
||||
ailog serve
|
||||
|
||||
# Clean build files
|
||||
ailog clean
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
Configuration files are stored in `~/.config/syui/ai/log/`
|
||||
|
||||
## AI Integration (Planned)
|
||||
|
||||
- Automatic content suggestions and corrections
|
||||
- Multi-language support with AI translation
|
||||
- AI-generated comments linked to atproto accounts
|
||||
|
||||
## atproto Integration (Planned)
|
||||
|
||||
Implements OAuth 2.0 for user authentication:
|
||||
- Users can comment using their atproto accounts
|
||||
- Comments are stored in atproto collections
|
||||
- Full data sovereignty for users
|
||||
|
||||
## Build & Deploy
|
||||
|
||||
Designed for GitHub Actions and Cloudflare Pages deployment. Push to main branch triggers automatic build and deploy.
|
||||
|
||||
## Development Status
|
||||
|
||||
Currently implemented:
|
||||
- Basic static site generation
|
||||
- Markdown parsing and HTML generation
|
||||
- Template system
|
||||
- Development server
|
||||
|
||||
## License
|
||||
|
||||
© syui
|
||||
|
Reference in New Issue
Block a user