Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

Restore docs prose wrapping

Manav Rathi4ec0a42b76d4
diff --git a/.github/docs/apple-signing.md b/.github/docs/apple-signing.md
index 73c9f4cec6..d74b0b9247 100644
--- a/.github/docs/apple-signing.md
+++ b/.github/docs/apple-signing.md
@@ -2,26 +2,27 @@
GitHub iOS builds are made using manual signing with the "-allowProvisioningUpdates" flag that makes xcodebuild pull any relevant provisioning profiles from the Apple Developer Portal.
-* The builds are signed using a manually created Apple Distribution certificate that is supplied to the workflow as a secret
-* The provisioning profiles are fetched automatically, but they do need to be precreated (one per bundle ID).
-* To fetch these, and for uploading the build, an App Store Connect API key needs to also be made available to the workflow.
-* The Apple Distribution cert has a one year expiry, and needs to be manually recreated and updated in the secrets. The provisioning profiles are tied to a certificate, and so they also need to be recreated.
+- The builds are signed using a manually created Apple Distribution certificate that is supplied to the workflow as a secret.
+- The provisioning profiles are fetched automatically, but they do need to be precreated (one per bundle ID).
+- To fetch these, and for uploading the build, an App Store Connect API key needs to also be made available to the workflow.
+- The Apple Distribution cert has a one year expiry, and needs to be manually recreated and updated in the secrets. The provisioning profiles are tied to a certificate, and so they also need to be recreated.
GitHub macOS builds are made by manually signing with an Apple Developer ID Application certificate and then notarized with Apple.
-* The Apple Developer ID Application certificate is also provided to the workflow as a secret. It has a longer expiry too.
-* For notarization, an Apple ID and an associated app-specific password are provided to the workflow.
+- The Apple Developer ID Application certificate is also provided to the workflow as a secret. It has a longer expiry too.
+
+- For notarization, an Apple ID and an associated app-specific password are provided to the workflow.
## What you need
-| Artifact | Scope | Where it lives |
-| --- | --- | --- |
-| Developer ID Application certificate | Team-wide | GitHub secret as a base64 `.p12`, plus its export password |
-| Apple Distribution certificate | Team-wide | GitHub secret as a base64 `.p12`, plus its export password |
-| App Store Connect API key | Team-wide | GitHub secrets for the `.p8`, key ID, and issuer ID |
-| App ID | Per iOS app | Apple Developer portal |
-| App Store Connect app | Per iOS app | App Store Connect |
-| App Store provisioning profile | Per iOS app | Apple Developer portal |
+| Artifact | Scope | Where it lives |
+| ------------------------------------ | ----------- | ---------------------------------------------------------- |
+| Developer ID Application certificate | Team-wide | GitHub secret as a base64 `.p12`, plus its export password |
+| Apple Distribution certificate | Team-wide | GitHub secret as a base64 `.p12`, plus its export password |
+| App Store Connect API key | Team-wide | GitHub secrets for the `.p8`, key ID, and issuer ID |
+| App ID | Per iOS app | Apple Developer portal |
+| App Store Connect app | Per iOS app | App Store Connect |
+| App Store provisioning profile | Per iOS app | Apple Developer portal |
The Developer ID certificate and Apple Distribution certificate are different certificates. Developer ID is for distributing notarized macOS apps outside the Mac App Store. Apple Distribution is for App Store/TestFlight distribution.
diff --git a/docs/.prettierrc.json b/docs/.prettierrc.json
index 06d5738f0e..0a02bcefda 100644
--- a/docs/.prettierrc.json
+++ b/docs/.prettierrc.json
@@ -1,4 +1,3 @@
{
- "tabWidth": 4,
- "proseWrap": "never"
+ "tabWidth": 4
}
diff --git a/docs/docs/ensu/index.md b/docs/docs/ensu/index.md
index d350c08275..2146296e1f 100644
--- a/docs/docs/ensu/index.md
+++ b/docs/docs/ensu/index.md
@@ -24,12 +24,12 @@ For the full backstory on why we built Ensu and where it is headed, read the lau
You can download Ensu from [ente.com/ensu](https://ente.com/ensu).
-| Platform | Where to get it |
-| --- | --- |
-| iOS | [App Store](https://apps.apple.com/app/ensu-entes-local-llm/id6758197006) |
-| Android | [Google Play](https://play.google.com/store/apps/details?id=io.ente.ensu) / [GitHub releases](https://github.com/ente-io/ente/releases?q=ensu) |
-| macOS / Windows / Linux | [GitHub releases](https://github.com/ente-io/ente/releases?q=ensu) |
-| Web | [ensu.ente.com](https://ensu.ente.com) (experimental) |
+| Platform | Where to get it |
+| ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
+| iOS | [App Store](https://apps.apple.com/app/ensu-entes-local-llm/id6758197006) |
+| Android | [Google Play](https://play.google.com/store/apps/details?id=io.ente.ensu) / [GitHub releases](https://github.com/ente-io/ente/releases?q=ensu) |
+| macOS / Windows / Linux | [GitHub releases](https://github.com/ente-io/ente/releases?q=ensu) |
+| Web | [ensu.ente.com](https://ensu.ente.com) (experimental) |
If you install the Android APK directly from GitHub releases, see [Verify the Ensu Android APK](/ensu/faq/android-apk-signature).
diff --git a/docs/docs/locker/features/sharing/index.md b/docs/docs/locker/features/sharing/index.md
index 14ba782e9b..5abb23a3ad 100644
--- a/docs/docs/locker/features/sharing/index.md
+++ b/docs/docs/locker/features/sharing/index.md
@@ -35,11 +35,11 @@ Learn more about [Ente Paste](/locker/features/sharing/ente-paste).
## What you can share
-| Content | Share with Ente users | Share via public link | Share via Ente Paste |
-| --- | --- | --- | --- |
-| Collections | Yes | Yes | No |
-| Items | No | Yes | No |
-| Text | No | No | Yes |
+| Content | Share with Ente users | Share via public link | Share via Ente Paste |
+| ----------- | --------------------- | --------------------- | -------------------- |
+| Collections | Yes | Yes | No |
+| Items | No | Yes | No |
+| Text | No | No | Yes |
To share with other Ente users, organize items into a collection and share the collection. To share items or collections with anyone (including non-Ente users), create a public link.
diff --git a/docs/docs/photos/features/sharing-and-collaboration/collaboration.md b/docs/docs/photos/features/sharing-and-collaboration/collaboration.md
index 5d4c2b1e6a..008908617a 100644
--- a/docs/docs/photos/features/sharing-and-collaboration/collaboration.md
+++ b/docs/docs/photos/features/sharing-and-collaboration/collaboration.md
@@ -196,14 +196,14 @@ When someone adds a photo via a collect link:
## Comparison
-| Feature | Collaborative Albums | Collect Links |
-| --- | --- | --- |
-| **Participants need Ente account** | Yes | No |
-| **Access method** | Email invitation | Link |
-| **Who pays for storage** | Each uploader | Album owner |
-| **Best for** | Ongoing collaboration with Ente users | One-time collection from large groups |
-| **Platform support** | Mobile (full), Web/Desktop (view only) | All platforms via web browser |
-| **Can set upload limits** | No (trust-based) | Yes (password, expiry, device limits) |
+| Feature | Collaborative Albums | Collect Links |
+| ---------------------------------- | -------------------------------------- | ------------------------------------- |
+| **Participants need Ente account** | Yes | No |
+| **Access method** | Email invitation | Link |
+| **Who pays for storage** | Each uploader | Album owner |
+| **Best for** | Ongoing collaboration with Ente users | One-time collection from large groups |
+| **Platform support** | Mobile (full), Web/Desktop (view only) | All platforms via web browser |
+| **Can set upload limits** | No (trust-based) | Yes (password, expiry, device limits) |
## Related topics
diff --git a/docs/docs/photos/getting-started/gallery-mode.md b/docs/docs/photos/getting-started/gallery-mode.md
index 3121f4417c..4b62fd7367 100644
--- a/docs/docs/photos/getting-started/gallery-mode.md
+++ b/docs/docs/photos/getting-started/gallery-mode.md
@@ -20,31 +20,31 @@ Ente scans your device for photos and videos and groups them by their native alb
## Feature comparison: gallery mode vs signed-in mode {#feature-comparison}
-| Feature | Gallery mode | Signed-in mode |
-| --- | :-: | :-: |
-| Browse device photos and videos | Yes | Yes |
-| Device folder browsing (Camera, Screenshots, etc.) | Yes | Yes |
-| Full-screen photo and video viewer | Yes | Yes |
-| Face recognition (on-device) | Yes | Yes |
-| Magic search / natural language search (on-device) | Yes | Yes |
-| Map view (requires location data in photos) | Yes | Yes |
-| Memories | Yes | Yes |
-| App lock | Yes | Yes |
-| Theme and appearance settings | Yes | Yes |
-| Cloud backup and sync | -- | Yes |
-| Cross-device sync | -- | Yes |
-| Ente albums (create, organize) | -- | Yes |
-| Favorites | -- | Yes |
-| Uncategorized album | -- | Yes |
-| Archive and Hide | -- | Yes |
-| Sharing and collaborative albums | -- | Yes |
-| Public links and embed | -- | Yes |
-| Comments and likes | -- | Yes |
-| Rituals | -- | Yes |
-| Free up device space | -- | Yes |
-| Storage plan management | -- | Yes |
-| Cross-device ML sync (face names, etc.) | -- | Yes |
-| Home widgets (albums, people) | -- | Yes |
+| Feature | Gallery mode | Signed-in mode |
+| -------------------------------------------------- | :----------: | :------------: |
+| Browse device photos and videos | Yes | Yes |
+| Device folder browsing (Camera, Screenshots, etc.) | Yes | Yes |
+| Full-screen photo and video viewer | Yes | Yes |
+| Face recognition (on-device) | Yes | Yes |
+| Magic search / natural language search (on-device) | Yes | Yes |
+| Map view (requires location data in photos) | Yes | Yes |
+| Memories | Yes | Yes |
+| App lock | Yes | Yes |
+| Theme and appearance settings | Yes | Yes |
+| Cloud backup and sync | -- | Yes |
+| Cross-device sync | -- | Yes |
+| Ente albums (create, organize) | -- | Yes |
+| Favorites | -- | Yes |
+| Uncategorized album | -- | Yes |
+| Archive and Hide | -- | Yes |
+| Sharing and collaborative albums | -- | Yes |
+| Public links and embed | -- | Yes |
+| Comments and likes | -- | Yes |
+| Rituals | -- | Yes |
+| Free up device space | -- | Yes |
+| Storage plan management | -- | Yes |
+| Cross-device ML sync (face names, etc.) | -- | Yes |
+| Home widgets (albums, people) | -- | Yes |
### What works in gallery mode
diff --git a/docs/docs/self-hosting/installation/config.md b/docs/docs/self-hosting/installation/config.md
index b1f94089e8..3effd2cb91 100644
--- a/docs/docs/self-hosting/installation/config.md
+++ b/docs/docs/self-hosting/installation/config.md
@@ -37,11 +37,11 @@ in `museum.yaml` is read as `s3.b2-eu-cen.endpoint` by Museum.
### General Settings
-| Variable | Description | Default |
-| --- | --- | --- |
-| `credentials-file` | Path to optional credentials override file | `credentials.yaml` |
-| `credentials-dir` | Directory to look for credentials (TLS, service accounts) | `credentials/` |
-| `log-file` | Log output path. Required in production. | `""` |
+| Variable | Description | Default |
+| ------------------ | --------------------------------------------------------- | ------------------ |
+| `credentials-file` | Path to optional credentials override file | `credentials.yaml` |
+| `credentials-dir` | Directory to look for credentials (TLS, service accounts) | `credentials/` |
+| `log-file` | Log output path. Required in production. | `""` |
### HTTP
@@ -57,15 +57,15 @@ These endpoints are configurable in `museum.yaml` under the apps.\* section.
Upon configuration, the application will start utilizing the specified endpoints instead of Ente's production instances or local endpoints (overridden values used for Compose and quickstart for ease of use.)
-| Variable | Description | Default |
-| --- | --- | --- |
-| `apps.public-albums` | Albums app base endpoint for public sharing | `https://albums.ente.com` |
-| `apps.public-locker` | Public Locker (share) app base endpoint | `https://share.ente.com` |
-| `apps.public-paste` | Ente Paste app base endpoint | `https://paste.ente.com` |
-| `apps.public-memories` | Memories app base endpoint for public memory shares | `https://memories.ente.com` |
-| `apps.cast` | Cast app base endpoint | `https://cast.ente.com` |
-| `apps.embed-albums` | Embed app base endpoint for embedded sharing | `https://embed.ente.com` |
-| `apps.accounts` | Accounts app base endpoint (used for passkey-based 2FA) | `https://accounts.ente.com` |
+| Variable | Description | Default |
+| ---------------------- | ------------------------------------------------------- | --------------------------- |
+| `apps.public-albums` | Albums app base endpoint for public sharing | `https://albums.ente.com` |
+| `apps.public-locker` | Public Locker (share) app base endpoint | `https://share.ente.com` |
+| `apps.public-paste` | Ente Paste app base endpoint | `https://paste.ente.com` |
+| `apps.public-memories` | Memories app base endpoint for public memory shares | `https://memories.ente.com` |
+| `apps.cast` | Cast app base endpoint | `https://cast.ente.com` |
+| `apps.embed-albums` | Embed app base endpoint for embedded sharing | `https://embed.ente.com` |
+| `apps.accounts` | Accounts app base endpoint (used for passkey-based 2FA) | `https://accounts.ente.com` |
### Database
@@ -93,14 +93,14 @@ For more information on object storage configuration, check our [documentation](
If you face any issues related to uploads then check out [CORS](/self-hosting/administration/object-storage#cors-cross-origin-resource-sharing) and [troubleshooting](/self-hosting/troubleshooting/uploads) sections.
-| Variable | Description | Default |
-| --- | --- | --- |
-| `s3.b2-eu-cen` | Primary hot storage bucket configuration | |
-| `s3.wasabi-eu-central-2-v3.compliance` | Whether to disable compliance lock on delete | `true` |
-| `s3.scw-eu-fr-v3` | Cold storage bucket configuration | |
-| `s3.wasabi-eu-central-2-v3` | Secondary hot storage configuration | |
-| `s3.are_local_buckets` | | `true` |
-| `s3.use_path_style_urls` | Enable path-style URLs for MinIO | `false` |
+| Variable | Description | Default |
+| -------------------------------------- | -------------------------------------------- | ------- |
+| `s3.b2-eu-cen` | Primary hot storage bucket configuration | |
+| `s3.wasabi-eu-central-2-v3.compliance` | Whether to disable compliance lock on delete | `true` |
+| `s3.scw-eu-fr-v3` | Cold storage bucket configuration | |
+| `s3.wasabi-eu-central-2-v3` | Secondary hot storage configuration | |
+| `s3.are_local_buckets` | | `true` |
+| `s3.use_path_style_urls` | Enable path-style URLs for MinIO | `false` |
### Encryption Keys
@@ -166,25 +166,25 @@ smtp:
### WebAuthn Passkey Support
-| Variable | Description | Default |
-| --- | --- | --- |
-| `webauthn.rpid` | Relying Party ID | `localhost` |
+| Variable | Description | Default |
+| -------------------- | ---------------------------- | --------------------------- |
+| `webauthn.rpid` | Relying Party ID | `localhost` |
| `webauthn.rporigins` | Allowed origins for WebAuthn | `["http://localhost:3001"]` |
### Internal
-| Variable | Description | Default |
-| --- | --- | --- |
-| `internal.silent` | Suppress external effects (e.g. email alerts) | `false` |
-| `internal.trusted-client-ip-header` | Request header trusted by gin’s `TrustedPlatform` when the server runs behind a proxy (leave empty to use gin’s default order: X-Forwarded-For, X-Real-IP, remote addr) | |
-| `internal.health-check-url` | External healthcheck URL | |
-| `internal.hardcoded-ott` | Predefined OTPs for testing | |
-| `internal.hardcoded-ott.emails` | E-mail addresses with hardcoded OTTs | `[]` |
-| `internal.hardcoded-ott.local-domain-suffix` | Suffix for which hardcoded OTT is to be used | |
-| `internal.hardcoded-ott.local-domain-value` | Hardcoded OTT value for the above suffix | |
-| `internal.admins` | List of admin user IDs | `[]` |
-| `internal.admin` | Single admin user ID | |
-| `internal.disable-registration` | Disable user registration | `false` |
+| Variable | Description | Default |
+| -------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
+| `internal.silent` | Suppress external effects (e.g. email alerts) | `false` |
+| `internal.trusted-client-ip-header` | Request header trusted by gin’s `TrustedPlatform` when the server runs behind a proxy (leave empty to use gin’s default order: X-Forwarded-For, X-Real-IP, remote addr) | |
+| `internal.health-check-url` | External healthcheck URL | |
+| `internal.hardcoded-ott` | Predefined OTPs for testing | |
+| `internal.hardcoded-ott.emails` | E-mail addresses with hardcoded OTTs | `[]` |
+| `internal.hardcoded-ott.local-domain-suffix` | Suffix for which hardcoded OTT is to be used | |
+| `internal.hardcoded-ott.local-domain-value` | Hardcoded OTT value for the above suffix | |
+| `internal.admins` | List of admin user IDs | `[]` |
+| `internal.admin` | Single admin user ID | |
+| `internal.disable-registration` | Disable user registration | `false` |
### Replication
@@ -192,20 +192,20 @@ By default, replication of objects (photos, thumbnails, videos) is disabled and
To enable replication, set `replication.enabled` to `true`. For this to work, 3 buckets have to be configured in total.
-| Variable | Description | Default |
-| --- | --- | --- |
-| `replication.enabled` | Enable replication across buckets | `false` |
-| `replication.worker-url` | Cloudflare Worker for replication | |
-| `replication.worker-count` | Number of goroutines for replication | `6` |
-| `replication.tmp-storage` | Temp directory for replication | `tmp/replication` |
+| Variable | Description | Default |
+| -------------------------- | ------------------------------------ | ----------------- |
+| `replication.enabled` | Enable replication across buckets | `false` |
+| `replication.worker-url` | Cloudflare Worker for replication | |
+| `replication.worker-count` | Number of goroutines for replication | `6` |
+| `replication.tmp-storage` | Temp directory for replication | `tmp/replication` |
### Background Jobs
This configuration is for enabling background cron jobs for tasks such as sending mails, removing unused objects (clean up) and worker configuration for the same.
-| Variable | Description | Default |
-| --- | --- | --- |
-| `jobs.cron.skip` | Skip all cron jobs | `false` |
-| `jobs.remove-unreported-objects.worker-count` | Workers for removing unreported objects | `1` |
-| `jobs.clear-orphan-objects.enabled` | Enable orphan cleanup | `false` |
-| `jobs.clear-orphan-objects.prefix` | Prefix filter for orphaned objects | |
+| Variable | Description | Default |
+| --------------------------------------------- | --------------------------------------- | ------- |
+| `jobs.cron.skip` | Skip all cron jobs | `false` |
+| `jobs.remove-unreported-objects.worker-count` | Workers for removing unreported objects | `1` |
+| `jobs.clear-orphan-objects.enabled` | Enable orphan cleanup | `false` |
+| `jobs.clear-orphan-objects.prefix` | Prefix filter for orphaned objects | |
diff --git a/docs/docs/self-hosting/installation/env-var.md b/docs/docs/self-hosting/installation/env-var.md
index 119353679a..e1f241457d 100644
--- a/docs/docs/self-hosting/installation/env-var.md
+++ b/docs/docs/self-hosting/installation/env-var.md
@@ -15,14 +15,14 @@ This document outlines the essential environment variables and port mappings of
Here's the list of environment variables that is used by the cluster:
-| Service | Environment Variable | Description | Default Value |
-| --- | --- | --- | --- |
-| `web` | `ENTE_API_ORIGIN` | Alias for `NEXT_PUBLIC_ENTE_ENDPOINT`. API Endpoint for Ente's API (Museum). | http://localhost:8080 |
-| `postgres` | `POSTGRES_USER` | Username for PostgreSQL database | `pguser` |
-| `postgres` | `POSTGRES_DB` | Name of database for use with Ente | `ente_db` |
-| `postgres` | `POSTGRES_PASSWORD` | Password for PostgreSQL database's user | Randomly generated (quickstart) |
-| `minio` | `MINIO_ROOT_USER` | Username for MinIO | Randomly generated (quickstart) |
-| `minio` | `MINIO_ROOT_PASSWORD` | Password for MinIO | Randomly generated (quickstart) |
+| Service | Environment Variable | Description | Default Value |
+| ---------- | --------------------- | ---------------------------------------------------------------------------- | ------------------------------- |
+| `web` | `ENTE_API_ORIGIN` | Alias for `NEXT_PUBLIC_ENTE_ENDPOINT`. API Endpoint for Ente's API (Museum). | http://localhost:8080 |
+| `postgres` | `POSTGRES_USER` | Username for PostgreSQL database | `pguser` |
+| `postgres` | `POSTGRES_DB` | Name of database for use with Ente | `ente_db` |
+| `postgres` | `POSTGRES_PASSWORD` | Password for PostgreSQL database's user | Randomly generated (quickstart) |
+| `minio` | `MINIO_ROOT_USER` | Username for MinIO | Randomly generated (quickstart) |
+| `minio` | `MINIO_ROOT_PASSWORD` | Password for MinIO | Randomly generated (quickstart) |
## Default Configuration
@@ -34,17 +34,17 @@ The table below lists the default host/container ports used by Ente's web contai
If you are using `quickstart.sh`, note that only `3000` (Photos) and `3002` (Albums) are exposed by default.
-| Service | Type | Host Port | Container Port |
-| --- | --- | --- | --- |
-| Museum | Server | 8080 | 8080 |
-| Ente Photos | Web | 3000 | 3000 |
-| Ente Accounts | Web | 3001 | 3001 |
-| Ente Albums | Web | 3002 | 3002 |
-| [Ente Auth](https://ente.com/auth/) | Web | 3003 | 3003 |
-| [Ente Cast](https://ente.com/help/photos/features/cast/) | Web | 3004 | 3004 |
-| Ente Public Locker | Web | 3005 | 3005 |
-| Ente Embed | Web | 3006 | 3006 |
-| Ente Paste (if deployed separately) | Web | 3008 | 3008 |
-| Ente Memories | Web | 3010 | 3010 |
-| MinIO | S3 | 3200 | 3200 |
-| PostgreSQL | Database | | 5432 |
+| Service | Type | Host Port | Container Port |
+| -------------------------------------------------------- | -------- | --------- | -------------- |
+| Museum | Server | 8080 | 8080 |
+| Ente Photos | Web | 3000 | 3000 |
+| Ente Accounts | Web | 3001 | 3001 |
+| Ente Albums | Web | 3002 | 3002 |
+| [Ente Auth](https://ente.com/auth/) | Web | 3003 | 3003 |
+| [Ente Cast](https://ente.com/help/photos/features/cast/) | Web | 3004 | 3004 |
+| Ente Public Locker | Web | 3005 | 3005 |
+| Ente Embed | Web | 3006 | 3006 |
+| Ente Paste (if deployed separately) | Web | 3008 | 3008 |
+| Ente Memories | Web | 3010 | 3010 |
+| MinIO | S3 | 3200 | 3200 |
+| PostgreSQL | Database | | 5432 |