diff --git a/README.md b/README.md
index 324d87a9..ca7e94e9 100644
--- a/README.md
+++ b/README.md
@@ -116,10 +116,10 @@ Edit `config.json`:
```json
{
- "name": "My Photo Gallery",
- "title": "My Photo Gallery",
+ "name": "My Afilmory",
+ "title": "My Afilmory",
"description": "Capturing beautiful moments in life",
- "url": "https://gallery.example.com",
+ "url": "https://afilmory.example.com",
"accentColor": "#007bff", // Optional, set theme color
"author": {
"name": "Your Name", // Required, set author name
diff --git a/apps/web/public/site.webmanifest b/apps/web/public/site.webmanifest
index 0338d1d6..bcbc35c3 100644
--- a/apps/web/public/site.webmanifest
+++ b/apps/web/public/site.webmanifest
@@ -1,6 +1,6 @@
{
- "name": "Photo Gallery",
- "short_name": "Gallery",
+ "name": "Afilmory",
+ "short_name": "Afilmory",
"icons": [
{
"src": "/android-chrome-192x192.png",
diff --git a/config.example.json b/config.example.json
index daf20866..09dc40da 100644
--- a/config.example.json
+++ b/config.example.json
@@ -1,6 +1,6 @@
{
- "name": "Innei's Photo Gallery",
- "title": "Innei's Photo Gallery",
+ "name": "Innei's Afilmory",
+ "title": "Innei's Afilmory",
"description": "Capturing beautiful moments in life, documenting daily warmth and emotions through my lens.",
"url": "https://afilmory.innei.in/",
"accentColor": "#007bff",
diff --git a/packages/builder/README.md b/packages/builder/README.md
index 6329f2e5..a6982cc9 100644
--- a/packages/builder/README.md
+++ b/packages/builder/README.md
@@ -1,4 +1,4 @@
-# Photo Gallery Builder
+# Afilmory Builder
这是照片库构建系统的核心模块,采用模块化设计,将不同功能分离到各自的模块中。
diff --git a/plugins/og-image-plugin.ts b/plugins/og-image-plugin.ts
index 51f95068..4e44cebc 100644
--- a/plugins/og-image-plugin.ts
+++ b/plugins/og-image-plugin.ts
@@ -13,9 +13,9 @@ interface OGImagePluginOptions {
export function ogImagePlugin(options: OGImagePluginOptions = {}): Plugin {
const {
- title = 'Photo Gallery',
- description = 'Beautiful photo collection and gallery',
- siteName = 'Photo Gallery',
+ title = 'Afilmory',
+ description = 'Capturing beautiful moments in life, documenting daily warmth and emotions through my lens.',
+ siteName = 'Afilmory',
siteUrl,
} = options
diff --git a/scripts/generate-favicon.ts b/scripts/generate-favicon.ts
index 41643fe4..4f6a8274 100644
--- a/scripts/generate-favicon.ts
+++ b/scripts/generate-favicon.ts
@@ -111,8 +111,8 @@ export async function generateFavicons() {
// 生成 site.webmanifest
const manifest = {
- name: 'Photo Gallery',
- short_name: 'Gallery',
+ name: 'Afilmory',
+ short_name: 'Afilmory',
icons: [
{
src: '/android-chrome-192x192.png',
diff --git a/scripts/generate-og-image.ts b/scripts/generate-og-image.ts
index 50460fae..9d70d180 100644
--- a/scripts/generate-og-image.ts
+++ b/scripts/generate-og-image.ts
@@ -388,15 +388,3 @@ export async function generateOGImage(options: OGImageOptions) {
throw error
}
}
-
-// 如果直接运行此脚本
-if (import.meta.url === `file://${process.argv[1]}`) {
- const timestamp = Date.now()
- generateOGImage({
- title: 'Photo Gallery',
- description: 'Beautiful photo collection and gallery',
- outputPath: `og-image-${timestamp}.png`,
- includePhotos: true,
- photoCount: 4,
- }).catch(console.error)
-}
diff --git a/scripts/test-svg-text.ts b/scripts/test-svg-text.ts
index ea5d15ab..5aad9f5f 100644
--- a/scripts/test-svg-text.ts
+++ b/scripts/test-svg-text.ts
@@ -15,8 +15,8 @@ async function generateTestImages() {
// 测试文本
const testTexts = [
- 'Photo Gallery',
- 'Beautiful photo collection and gallery',
+ 'Afilmory',
+ 'Capturing beautiful moments in life, documenting daily warmth and emotions through my lens.',
'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
'abcdefghijklmnopqrstuvwxyz',
'0123456789',
@@ -82,7 +82,7 @@ async function generateTestImages() {
- Photo Gallery
+ Afilmory