Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.
TypeScript albumsexif-extractiongeocodinglive-photomotion-photophoto-galleryphoto-sharingwebgl-viewer
docs: update code block syntax from env to bash in configuration examples
Timothy Yin5716c6352462
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 18b9fa4d..3a76ee97 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -51,7 +51,7 @@ nano .env # Or use your preferred editor#### Minimal Development Configuration-```env+```bash# === Admin Account ===CFRAME_ADMIN_NAME=Developerdiff --git a/README.md b/README.mdindex e9e831fe..c5631e78 100644--- a/README.md+++ b/README.md@@ -46,7 +46,7 @@ Create a `.env` file and configure environment variables.Below is a **minimal configuration** example. For complete configuration options, see [.env.example](./.env.example):-```env+```bash# Admin email (required)CFRAME_ADMIN_EMAIL=# Admin username (optional, default Chronoframe)diff --git a/README_zh.md b/README_zh.mdindex bdf45caa..14cbce6b 100644--- a/README_zh.md+++ b/README_zh.md@@ -49,7 +49,7 @@下面是**最小化配置**示例,完整的配置项参考 [.env.example](./.env.example):-```env+```bash# 管理员邮箱(必须)CFRAME_ADMIN_EMAIL=# 管理员用户名(可选,默认 ChronoFrame)diff --git a/docs/guide/contributing.md b/docs/guide/contributing.mdindex be3629ef..796e527f 100644--- a/docs/guide/contributing.md+++ b/docs/guide/contributing.md@@ -51,7 +51,7 @@ nano .env # Or use your preferred editor#### Minimal Development Configuration-```env+```bash# === Admin Account ===CFRAME_ADMIN_NAME=Developerdiff --git a/docs/guide/getting-started.md b/docs/guide/getting-started.mdindex d716ceba..aa267222 100644--- a/docs/guide/getting-started.md+++ b/docs/guide/getting-started.md@@ -48,7 +48,7 @@ docker pull hoshinosuzumi/chronoframe:latestBelow is the minimal configuration for running with local storage. For the complete list, see the [Configuration Guide](/guide/configuration).-```env+```bash# Admin email (required)CFRAME_ADMIN_EMAIL=# Admin username (optional, default Chronoframe)@@ -77,7 +77,7 @@ NUXT_SESSION_PASSWORD=If you want to use S3 instead of local storage, replace the storage section with:-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=NUXT_PROVIDER_S3_BUCKET=chronoframe@@ -90,7 +90,7 @@ NUXT_PROVIDER_S3_CDN_URL=Optional GitHub OAuth variables:-```env+```bashNUXT_OAUTH_GITHUB_CLIENT_ID=NUXT_OAUTH_GITHUB_CLIENT_SECRET=```@@ -233,7 +233,7 @@ openssl rand -base64 32Make sure you are not accessing the site via raw IP:port. For security, cookies are set for the domain.If you must use IP + port (not recommended), add:-```env+```bashNUXT_ALLOW_INSECURE_COOKIE=true```:::\ No newline at end of filediff --git a/docs/guide/storage-providers.md b/docs/guide/storage-providers.mdindex af9c42ea..26528335 100644--- a/docs/guide/storage-providers.md+++ b/docs/guide/storage-providers.md@@ -14,7 +14,7 @@ S3 compatible storage is the most recommended production environment option, sup### Basic Configuration-```env+```bash# Set storage provider to S3NUXT_STORAGE_PROVIDER=s3@@ -34,7 +34,7 @@ NUXT_PROVIDER_S3_CDN_URL=https://cdn.example.com#### AWS S3-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=https://s3.amazonaws.comNUXT_PROVIDER_S3_BUCKET=my-chronoframe-bucket@@ -46,7 +46,7 @@ NUXT_PROVIDER_S3_CDN_URL=https://d1234567890.cloudfront.net#### Cloudflare R2-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=https://[account-id].r2.cloudflarestorage.comNUXT_PROVIDER_S3_BUCKET=chronoframe@@ -58,7 +58,7 @@ NUXT_PROVIDER_S3_CDN_URL=https://photos.example.com#### Alibaba Cloud OSS-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=https://oss-cn-hangzhou.aliyuncs.comNUXT_PROVIDER_S3_BUCKET=chronoframe-photos@@ -70,7 +70,7 @@ NUXT_PROVIDER_S3_CDN_URL=https://cdn.example.com#### Tencent Cloud COS-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=https://cos.ap-beijing.myqcloud.comNUXT_PROVIDER_S3_BUCKET=chronoframe-1234567890@@ -81,7 +81,7 @@ NUXT_PROVIDER_S3_SECRET_ACCESS_KEY=...#### MinIO Self-hosted-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=https://minio.example.comNUXT_PROVIDER_S3_BUCKET=chronoframe@@ -112,7 +112,7 @@ Recommended CORS configuration:GitHub storage stores photos in Git repositories, suitable for small-scale use.-```env+```bash# Set storage provider to GitHub (not yet implemented)NUXT_STORAGE_PROVIDER=github@@ -128,7 +128,7 @@ NUXT_PROVIDER_GITHUB_TOKEN=ghp_...Local storage saves files in the server filesystem.-```env+```bash# Set storage provider to local (not yet implemented)NUXT_STORAGE_PROVIDER=localdiff --git a/docs/zh/guide/contributing.md b/docs/zh/guide/contributing.mdindex 5a68c57e..8429695e 100644--- a/docs/zh/guide/contributing.md+++ b/docs/zh/guide/contributing.md@@ -51,7 +51,7 @@ nano .env # 或使用您喜欢的编辑器#### 最小开发配置-```env+```bash# === 管理员账户 ===CFRAME_ADMIN_NAME=Developerdiff --git a/docs/zh/guide/getting-started.md b/docs/zh/guide/getting-started.mdindex c5f9494d..eb09001f 100644--- a/docs/zh/guide/getting-started.md+++ b/docs/zh/guide/getting-started.md@@ -244,7 +244,7 @@ openssl rand -base64 32首先请确保不是直接通过 IP 地址和端口号访问。出于安全考虑,请通过配置的域名访问。如果出于某些原因,您执意要通过 IP 端口访问,请在配置项中添加:-```env+```bashNUXT_ALLOW_INSECURE_COOKIE=true```:::diff --git a/docs/zh/guide/storage-providers.md b/docs/zh/guide/storage-providers.mdindex fd406cbf..4d0d2d8c 100644--- a/docs/zh/guide/storage-providers.md+++ b/docs/zh/guide/storage-providers.md@@ -14,7 +14,7 @@ S3 兼容存储是最推荐的生产环境选项,支持所有主流云服务### 基础配置-```env+```bash# 设置存储提供器为 S3NUXT_STORAGE_PROVIDER=s3@@ -34,7 +34,7 @@ NUXT_PROVIDER_S3_CDN_URL=https://cdn.example.com#### AWS S3-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=https://s3.amazonaws.comNUXT_PROVIDER_S3_BUCKET=my-chronoframe-bucket@@ -46,7 +46,7 @@ NUXT_PROVIDER_S3_CDN_URL=https://d1234567890.cloudfront.net#### Cloudflare R2-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=https://[account-id].r2.cloudflarestorage.comNUXT_PROVIDER_S3_BUCKET=chronoframe@@ -58,7 +58,7 @@ NUXT_PROVIDER_S3_CDN_URL=https://photos.example.com#### 阿里云 OSS-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=https://oss-cn-hangzhou.aliyuncs.comNUXT_PROVIDER_S3_BUCKET=chronoframe-photos@@ -70,7 +70,7 @@ NUXT_PROVIDER_S3_CDN_URL=https://cdn.example.com#### 腾讯云 COS-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=https://cos.ap-beijing.myqcloud.comNUXT_PROVIDER_S3_BUCKET=chronoframe-1234567890@@ -81,7 +81,7 @@ NUXT_PROVIDER_S3_SECRET_ACCESS_KEY=...#### MinIO 自托管-```env+```bashNUXT_STORAGE_PROVIDER=s3NUXT_PROVIDER_S3_ENDPOINT=https://minio.example.comNUXT_PROVIDER_S3_BUCKET=chronoframe@@ -112,7 +112,7 @@ NUXT_PROVIDER_S3_SECRET_ACCESS_KEY=minioadminGitHub 存储将照片存储在 Git 仓库中,适合小规模使用。-```env+```bash# 设置存储提供器为 GitHub(暂未实现)NUXT_STORAGE_PROVIDER=github@@ -128,7 +128,7 @@ NUXT_PROVIDER_GITHUB_TOKEN=ghp_...本地存储将文件保存在服务器文件系统中。-```env+```bash# 设置存储提供器为本地(暂未实现)NUXT_STORAGE_PROVIDER=local