π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Use sh for shell snippets outside docs
Manav Rathi795ee643b6f9
diff --git a/.github/docs/apple-signing.md b/.github/docs/apple-signing.mdindex 464459ee09..73c9f4cec6 100644--- a/.github/docs/apple-signing.md+++ b/.github/docs/apple-signing.md@@ -27,7 +27,7 @@ The Developer ID certificate and Apple Distribution certificate are different ceOn macOS, copy a file's base64 value for a GitHub secret with:-```bash+```shbase64 -i path/to/file | pbcopy```diff --git a/.github/docs/ensu-release.md b/.github/docs/ensu-release.mdindex 2c020350e6..aed88d8841 100644--- a/.github/docs/ensu-release.md+++ b/.github/docs/ensu-release.md@@ -14,7 +14,7 @@ Nightly builds of `main` are automatically created every weekday morning (IST),## Start release-```bash+```shgh workflow run ensu-release.yml \-f action=start \-f version=0.1.16@@ -32,7 +32,7 @@ The workflow also opens a PR to move `main` to `0.1.17-beta`. Merge that PR afteCherry pick fixes to the release branch and push to replace the current RC.-```bash+```shgit switch release/ensu-v0.1.16git cherry-pick <fix-sha>git push@@ -40,7 +40,7 @@ git push## Finalize release-```bash+```shgh workflow run ensu-release.yml \-f action=finalize \-f version=0.1.16diff --git a/cli/README.md b/cli/README.mdindex 824e8f144d..d98dedaaf8 100644--- a/cli/README.md+++ b/cli/README.md@@ -11,13 +11,13 @@ releases](https://github.com/ente-io/ente/releases?q=tag%3Acli-v0).You can also build these binaries yourself-```shell+```sh./release.sh```Or you can build from source-```shell+```shgo build -o "bin/ente" main.go```@@ -30,7 +30,7 @@ There is also an option to use [Docker](#docker).Run the help command to see all available commands.-```shell+```shente --help```@@ -41,7 +41,7 @@ members) and export all data using this tool.#### Add an account-```shell+```shente account add```@@ -53,13 +53,13 @@ ente account add#### List accounts-```shell+```shente account list```#### Change export directory-```shell+```shente account update --app auth/photos --email [email protected] --dir ~/photos```@@ -67,7 +67,7 @@ ente account update --app auth/photos --email [email protected] --dir ~/photos#### Start export-```shell+```shente export```@@ -75,7 +75,7 @@ ente exportYou can view more cli documents at [docs](docs/generated/ente.md).To update the docs, run the following command:-```shell+```shgo run main.go docs```@@ -90,7 +90,7 @@ Modify the `docker-compose.yml` and add volume. ``cli-data`` volume ismandatory, you can add more volumes for your export directory.Build and run the container in detached mode-```shell+```shdocker-compose up -d --build```Note that [BuildKit](https://docs.docker.com/go/buildkit/) is needed to build@@ -98,7 +98,7 @@ this image. If you face this issue, a quick fix is to add `DOCKER_BUILDKIT=1` infront of the build command.`exec` into the container-```shell+```shdocker-compose exec ente-cli /bin/sh -c "./ente-cli version"docker-compose exec ente-cli /bin/sh -c "./ente-cli account add"```diff --git a/cli/docs/release.md b/cli/docs/release.mdindex dce097eafe..fcd13b7df8 100644--- a/cli/docs/release.md+++ b/cli/docs/release.md@@ -21,6 +21,6 @@ it (zipped up binaries for various OS and architecture combinations).Run the release script to build the binaries for the various OS and architecturecominations-```shell+```sh./release.sh```diff --git a/infra/experiments/logs-viewer/README.md b/infra/experiments/logs-viewer/README.mdindex 7a66238816..72692ad769 100644--- a/infra/experiments/logs-viewer/README.md+++ b/infra/experiments/logs-viewer/README.md@@ -40,7 +40,7 @@ A web-based log viewer for analyzing Ente application logs. This tool provides s### Starting the Application1. **Local Development**:- ```bash+ ```shcd infra/experiments/logs-viewerpython3 -m http.server 8080```diff --git a/infra/ml/test/README.md b/infra/ml/test/README.mdindex 995734bb3f..94798c93c8 100644--- a/infra/ml/test/README.md+++ b/infra/ml/test/README.md@@ -19,7 +19,7 @@ This directory contains the ML indexing parity framework for Android, iOS, deskt## Local Run (One Command)-```bash+```shbash infra/ml/test/run_ml_parity_tests.sh```@@ -53,7 +53,7 @@ Optional mobile reuse env vars:Render face detection overlays (box + score + landmarks) for each platform output:-```bash+```shuv run --project infra/ml --no-sync --with pillow-heif \python infra/ml/test/tools/render_face_detection_overlays.py \--parity-dir infra/ml/test/out/parity \@@ -75,7 +75,7 @@ Useful optional filters:Render the exact Python ground-truth decode output (including EXIF orientation handling)for every manifest fixture, then review the generated gallery.-```bash+```shuv run --project infra/ml --no-sync --with pillow-heif \python infra/ml/test/tools/visualize_ground_truth_decodes.py \--manifest infra/ml/test/ground_truth/manifest.json \@@ -100,7 +100,7 @@ Use this process when corpus/threshold/model behavior changes intentionally:1. Update corpus metadata or thresholds in `infra/ml/test/ground_truth/manifest.json` (and comparator logic if needed).2. Regenerate and compare with a real run:-```bash+```shbash infra/ml/test/run_ml_parity_tests.sh --platforms all --output-dir infra/ml/test/out/parity```diff --git a/infra/ml/test/ground_truth/README.md b/infra/ml/test/ground_truth/README.mdindex 1519419f97..19e859a547 100644--- a/infra/ml/test/ground_truth/README.md+++ b/infra/ml/test/ground_truth/README.md@@ -45,7 +45,7 @@ parity runs.## Generate Goldens-```bash+```shuv run --project infra/ml --no-sync --with pillow-heif python infra/ml/test/tools/generate_goldens.py \--manifest infra/ml/test/ground_truth/manifest.json \--output-dir infra/ml/test/out/parity/python@@ -57,7 +57,7 @@ downloading fixtures, and then calling the generator.## Compare Against Platforms-```bash+```shuv run --project infra/ml python infra/ml/test/tools/compare_parity_outputs.py \--ground-truth infra/ml/test/out/parity/python/results.json \--platform-result android=infra/ml/test/out/parity/android/results.json \diff --git a/mobile/apps/locker/CLAUDE.md b/mobile/apps/locker/CLAUDE.mdindex b8cbc3cb57..77161e3fb1 100644--- a/mobile/apps/locker/CLAUDE.md+++ b/mobile/apps/locker/CLAUDE.md@@ -20,7 +20,7 @@ Ente Locker is a Flutter application for securely storing important documents. I**CRITICAL: CI will fail if ANY of these checks fail. Run ALL commands and ensure they ALL pass.**-```bash+```sh# 1. Format Dart code for ente/mobile/app/lockerdart format .@@ -55,7 +55,7 @@ flutter analyze### Build & Run-```bash+```sh# From mobile/ directory - bootstrap all packagesmelos bootstrap@@ -75,7 +75,7 @@ flutter build linux # Linux### Code Quality-```bash+```sh# Run linterflutter analyze@@ -89,7 +89,7 @@ flutter analyze lib/path/to/file.dart### TestingThere are currently no tests in the `test/` directory. When adding tests:-```bash+```shflutter test # Run all testsflutter test test/path/to/file_test.dart # Run specific test```diff --git a/mobile/apps/photos/CLAUDE.md b/mobile/apps/photos/CLAUDE.mdindex 57e48c6ea3..fa4c981e62 100644--- a/mobile/apps/photos/CLAUDE.md+++ b/mobile/apps/photos/CLAUDE.md@@ -28,7 +28,7 @@ The Photos app uses two types of packages:**CRITICAL: CI will fail if ANY of these checks fail. Run ALL commands and ensure they ALL pass.**-```bash+```sh# 1. Format Dart codedart format .@@ -62,7 +62,7 @@ flutter analyze## Development Commands### Using Melos (Monorepo Management)-```bash+```sh# From mobile/ directory - bootstrap all packagesmelos bootstrap@@ -77,7 +77,7 @@ melos clean:photos```### Direct Flutter Commands-```bash+```sh# Development runflutter run --flavor independent@@ -90,7 +90,7 @@ flutter build ios```### Code Quality-```bash+```sh# Static analysis and lintingflutter analyze .diff --git a/rust/apps/cli/README.md b/rust/apps/cli/README.mdindex 064369288f..d5e51e68e9 100644--- a/rust/apps/cli/README.md+++ b/rust/apps/cli/README.md@@ -2,7 +2,7 @@ WIP Ente Rust CLI.## Development-```bash+```shcargo fmt # formatcargo clippy # lintcargo build # builddiff --git a/rust/apps/ensu/README.md b/rust/apps/ensu/README.mdindex 82dfea4a22..d3617255c3 100644--- a/rust/apps/ensu/README.md+++ b/rust/apps/ensu/README.md@@ -6,7 +6,7 @@ Requires cmake (e.g. `brew install cmake`).## Dev-```bash+```shcd rust/apps/ensu# runs the Ensu web dev server and launches Tauri (default port 3010)yarn dev@@ -14,14 +14,14 @@ yarn devTo change the dev port:-```bash+```shcd rust/apps/ensuENSU_TAURI_PORT=3020 yarn dev```## Build-```bash+```shcd rust/apps/ensu# builds the Ensu web app and exports a static build for Tauriyarn builddiff --git a/rust/crates/core/README.md b/rust/crates/core/README.mdindex d80286aa61..4a41056112 100644--- a/rust/crates/core/README.md+++ b/rust/crates/core/README.md@@ -53,7 +53,7 @@ let decrypted = crypto::secretbox::decrypt_box(&encrypted, &key).unwrap();## Development-```bash+```shcargo fmt # formatcargo clippy # lintcargo build # builddiff --git a/web/CLAUDE.md b/web/CLAUDE.mdindex 13ff01ca1d..f51e8dc152 100644--- a/web/CLAUDE.md+++ b/web/CLAUDE.md@@ -19,7 +19,7 @@ Format markdown files with Prettier for consistent styling## Commands-```bash+```sh# Install dependencies from the committed lockfile (uses Yarn classic 1.22.22)yarn install --frozen-lockfile