docs: update README and README.zh.md for multi-language support and feature descriptions

- Added a link to the Chinese version of the README in the English version.
- Updated feature descriptions in both English and Chinese, changing "Smart Tags" to "File System Tags" for clarity.
- Included a new image in the Chinese README for better visual appeal.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-06-26 21:29:58 +08:00
parent 9e0b584ca3
commit 19f4202656
3 changed files with 28 additions and 4 deletions

View File

@@ -15,6 +15,8 @@ Live Photo Galleries:
- https://photography.pseudoyu.com
- https://afilmory.magren.cc
[简体中文](./README.zh.md)
## 🌟 Features
### Core Functionality
@@ -24,7 +26,7 @@ Live Photo Galleries:
- 🎨 **Modern UI Design** - Built with Tailwind CSS and Radix UI component library
-**Incremental Sync** - Smart change detection, processes only new or modified photos
- 🌐 **i18n** - Multi-language support
- 🌐 **OpenGraph** - OpenGraph metadata for social media sharing
- 🔗 **OpenGraph** - OpenGraph metadata for social media sharing
### Image Processing
@@ -38,7 +40,7 @@ Live Photo Galleries:
- 🎛️ **Fujifilm Simulation** - Read and display Fujifilm camera film simulation settings
- 🔍 **Fullscreen Viewer** - Image viewer with gesture support
- 🏷️ **Smart Tags** - Auto-generated tags based on EXIF data
- 🏷️ **File System Tags** - Auto-generated tags based on file system
-**Concurrent Processing** - Multi-process/multi-thread concurrent processing support
- 🗂️ **Multi-Storage Support** - S3, GitHub, and other storage backends

View File

@@ -1,4 +1,8 @@
# Afilmory
<p align="center">
<img src="https://github.com/Afilmory/assets/blob/main/afilmory-readme.webp?raw=true" alt="Afilmory" width="100%" />
</p>
# <p align="center">Afilmory</p>
Afilmory (/əˈfɪlməri/, "uh-FIL-muh-ree") 是一个为个人摄影网站创造的术语,融合了对焦 (AF)、光圈(光线控制)、胶片(复古媒介)和记忆(捕捉的瞬间)。
@@ -9,6 +13,7 @@ Afilmory (/əˈfɪlməri/, "uh-FIL-muh-ree") 是一个为个人摄影网站创
- https://gallery.innei.in
- https://gallery.mxte.cc
- https://photography.pseudoyu.com
- https://afilmory.magren.cc
## 🌟 特性
@@ -19,6 +24,7 @@ Afilmory (/əˈfɪlməri/, "uh-FIL-muh-ree") 是一个为个人摄影网站创
- 🎨 **现代化 UI 设计** - 基于 Tailwind CSS 和 Radix UI 组件库
-**增量同步** - 智能检测文件变化,仅处理新增或修改的照片
- 🌐 **i18n** - 支持多语言
- 🔗 **OpenGraph** - OpenGraph 元数据,用于社交媒体分享
### 图像处理
@@ -32,7 +38,7 @@ Afilmory (/əˈfɪlməri/, "uh-FIL-muh-ree") 是一个为个人摄影网站创
- 🎛️ **富士胶片模拟** - 读取和展示富士相机的胶片模拟设置
- 🔍 **全屏查看器** - 支持手势操作的图片查看器
- 🏷️ **智能标签** - 基于 EXIF 数据自动生成标签
- 🏷️ **文件系统标签** - 基于文件系统自动生成标签
-**并发处理** - 支持多进程/多线程并发处理
- 🗂️ **多存储支持** - S3、GitHub 等多种存储后端

View File

@@ -1,5 +1,6 @@
import 'dotenv-expand/config'
import { execSync } from 'node:child_process'
import cluster from 'node:cluster'
import { existsSync } from 'node:fs'
import path from 'node:path'
@@ -164,6 +165,8 @@ async function main() {
logger.main.info(`🔧 处理模式:${processingMode}`)
logger.main.info(`🏗️ 使用构建器PhotoGalleryBuilder (适配器模式)`)
environmentCheck()
// 启动构建过程
await defaultBuilder.buildManifest({
isForceMode,
@@ -180,3 +183,16 @@ main().catch((error) => {
logger.main.error('构建失败:', error)
throw error
})
function environmentCheck() {
try {
execSync('perl -v', { stdio: 'ignore' })
logger.main.info('Perl 已安装')
} catch (err) {
console.error(err)
logger.main.error('Perl 未安装,请安装 Perl 并重新运行')
// eslint-disable-next-line unicorn/no-process-exit
process.exit(1)
}
}