π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Merge docs
Manav Rathi1266648562ea
diff --git a/desktop/docs/dependencies.md b/desktop/docs/dependencies.mdindex 15faf28349..0581adff05 100644--- a/desktop/docs/dependencies.md+++ b/desktop/docs/dependencies.md@@ -1,11 +1,31 @@# Dependencies-See [web/docs/dependencies.md](../../web/docs/dependencies.md) for general web-specific dependencies. See [electron.md](electron.md) for our main dependency,-Electron. The rest of this document describes the remaining, desktop specific-dependencies that are used by the Photos desktop app.+## Electron-## Electron related+[Electron](https://www.electronjs.org) is a cross-platform (Linux, Windows,+macOS) way for creating desktop apps using TypeScript.++Electron embeds Chromium and Node.js in the generated app's binary. The+generated app thus consists of two separate processes - the _main_ process, and+a _renderer_ process.++- The _main_ process is runs the embedded node. This process can deal with the+ host OS - it is conceptually like a `node` repl running on your machine. In+ our case, the TypeScript code (in the `src/` directory) gets transpiled by+ `tsc` into JavaScript in the `build/app/` directory, which gets bundled in+ the generated app's binary and is loaded by the node (main) process when the+ app starts.++- The _renderer_ process is a regular web app that gets loaded into the+ embedded Chromium. When the main process starts, it creates a new "window"+ that shows this embedded Chromium. In our case, we build and bundle a static+ export of the [Photos web app](../web/README.md) in the generated app. This+ gets loaded by the embedded Chromium at runtime, acting as the app's UI.++### electron-builder++[Electron Builder](https://www.electron.build) is used for packaging the app for+distribution.### next-electron-serverdiff --git a/desktop/docs/electron.md b/desktop/docs/electron.mddeleted file mode 100644index 1d028c214b..0000000000--- a/desktop/docs/electron.md+++ /dev/null@@ -1,21 +0,0 @@-# Electron--[Electron](https://www.electronjs.org) is a cross-platform (Linux, Windows,-macOS) way for creating desktop apps using TypeScript.--Electron embeds Chromium and Node.js in the generated app's binary. The-generated app thus consists of two separate processes - the _main_ process, and-a _renderer_ process.--- The _main_ process is runs the embedded node. This process can deal with the- host OS - it is conceptually like a `node` repl running on your machine. In- our case, the TypeScript code (in the `src/` directory) gets transpiled by- `tsc` into JavaScript in the `build/app/` directory, which gets bundled in- the generated app's binary and is loaded by the node (main) process when the- app starts.--- The _renderer_ process is a regular web app that gets loaded into the- embedded Chromium. When the main process starts, it creates a new "window"- that shows this embedded Chromium. In our case, we build and bundle a static- export of the [Photos web app](../web/README.md) in the generated app. This- gets loaded by the embedded Chromium at runtime, acting as the app's UI.