send/app
2022-08-09 09:12:32 +00:00
..
ui Fix style problems 2022-08-09 09:00:43 +00:00
.eslintrc.yml
api.js
archive.js
capabilities.js
controller.js
dragManager.js
ece.js
experiments.js Add ability to change the branding 2022-05-02 13:38:16 +02:00
fileReceiver.js fix: remove iOS saveFile workaround #20 2021-07-08 23:05:39 +02:00
fileSender.js
fxa.js
keychain.js
locale.js Update fluent 2022-07-26 11:03:10 +00:00
main.css Fix stylelint errors 2022-08-09 09:12:32 +00:00
main.js
ownedFile.js
pasteManager.js
qrcode.js Update qrcode snippet 2021-07-08 21:20:27 +02:00
readme.md
routes.js
serviceWorker.js
storage.js
streams.js
user.js
utils.js
zip.js Fix garbled filenames on Windows with ZIP files due to missing UTF-8 flag 2022-03-04 16:48:58 +01:00

Application Code

app/ contains the browser code that gets bundled into app.[hash].js. It's got all the logic, crypto, and UI. All of it gets used in the browser, and some of it by the server for server side rendering.

The main entrypoint for the browser is main.js and on the server routes.js is imported by /server/routes/pages.js

  • pages contains display logic an markup for pages
  • routes contains route definitions and logic
  • templates contains ui elements smaller than pages