Simple, private file sharing. Forked from https://gitlab.com/timvisee/send https://send.tjo.space
Find a file
Cullen Walsh 02e8cb264f Add detect_base_url config
This diff adds the detect_base_url config, controlled by the
DETECT_BASE_URL env variable. When set to true, the BASE_URL setting is
ignored, and the base_url is derived from the request protocol and host
header.

Test Plan: Started up a local instance in my homelab, running docker
node:15 image with a nginx reverse proxy. Configured nginx to use the
same backend with multiple hostnames on https. Opened in browser and
confirmed og:url meta tag uses correct url.
2021-05-05 22:19:11 -07:00
.circleci updated node to 12 2020-04-29 17:38:55 -07:00
android Remove metrics #4 2021-03-15 19:56:51 +01:00
app main.css: Use ::marker to avoid browser console warning 2021-05-03 00:13:24 +02:00
assets Replace public Mozilla related icons 2021-01-09 18:51:42 +01:00
assets_src Replace public Mozilla related icons 2021-01-09 18:51:42 +01:00
build Remove Firefox branding from app name in front-end 2020-10-15 18:48:54 +02:00
common refactored Dockerfile 2019-09-06 20:04:45 -07:00
docs Update localization.md 2021-04-02 06:58:32 +00:00
ios Remove Firefox branding from app name in front-end 2020-10-15 18:48:54 +02:00
public Add configurable donate, CLI and DMCA and source links in footer 2021-01-27 00:21:03 +01:00
scripts
server Add detect_base_url config 2021-05-05 22:19:11 -07:00
test Remove legal page, add no affiliation text in footer 2021-01-09 19:14:42 +01:00
.dockerignore refactored Dockerfile 2019-09-06 20:04:45 -07:00
.editorconfig
.eslintignore added qr code to copyDialog 2020-10-16 18:16:14 +02:00
.eslintrc.yml updated deps 2019-10-03 23:32:49 -07:00
.gitattributes Fix linguist documentation marker for locale files 2021-05-05 22:46:55 +02:00
.gitignore
.gitlab-ci.yml Use node 15 Docker image on GitLab CI 2021-02-16 15:12:23 +01:00
.htmllintrc
.prettierignore
.stylelintrc
browserslist support edge 18 maybe 2020-10-16 15:51:59 +02:00
CHANGELOG.md
CODE_OF_CONDUCT.md
CONTRIBUTORS Update CONTRIBUTORS 2020-10-21 18:26:12 +02:00
docker-compose.yml
Dockerfile Update Alpine images to current tag 2021-04-19 19:32:48 +00:00
l10n.toml
LICENSE
package-lock.json Bump version to 3.4.9 2021-04-21 21:52:18 +02:00
package.json Bump version to 3.4.9 2021-04-21 21:52:18 +02:00
postcss.config.js
README.md Update README.md 2021-04-02 06:55:18 +00:00
s3-lifecycle-example.xml Add S3 lifecycle policy example configuration 2021-01-26 20:14:09 +01:00
tailwind.config.js Dark theme 2019-10-03 23:10:11 -07:00
webpack.config.js support edge 18 maybe 2020-10-16 15:51:59 +02:00

Send Send

Build status on GitLab CI Latest release Docker image Project license

A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a community effort to keep the project up-to-date and alive.

  • Forked at Mozilla's last publicly hosted version
  • Mozilla & Firefox branding is removed so you can legally self-host
  • Kept compatible with ffsend (CLI for Send)
  • Dependencies have been updated
  • Mozilla's changes since the fork have been selectively merged
  • Mozilla's experimental report feature, download tokens, trust warnings and FxA changes are not included

Find an up-to-date Docker image here: docs/docker.md

The original project by Mozilla can be found here. The mozilla-master branch holds the master branch as left by Mozilla. The send-v3 branch holds the commit tree of Mozilla's last publicly hosted version, which this fork is based on. The send-v4 branch holds the commit tree of Mozilla's last experimental version which was still a work in progress (featuring file reporting, download tokens, trust warnings and FxA changes), this has selectively been merged into this fork. Please consider to donate to allow me to keep working on this.

Thanks Mozilla for building this amazing tool!


Docs: FAQ, Encryption, Build, Docker, More


Table of Contents


What it does

A file sharing experiment which allows you to send encrypted files to other users.


Requirements


Development

To start an ephemeral development server, run:

npm install
npm start

Then, browse to http://localhost:8080


Commands

Command Description
npm run format Formats the frontend and server code using prettier.
npm run lint Lints the CSS and JavaScript code.
npm test Runs the suite of mocha tests.
npm start Runs the server in development configuration.
npm run build Builds the production assets.
npm run prod Runs the server in production configuration.

Configuration

The server is configured with environment variables. See server/config.js for all options and docs/docker.md for examples.


Localization

see docs/localization.md


Contributing

Pull requests are always welcome! Feel free to check out the list of "good first issues" (to be implemented).


Instances

Find a list of public instances here: https://github.com/timvisee/send-instances/


Deployment

See also docs/deployment.md


Clients

  • Web: this repository
  • Command-line: ffsend
  • Android: see Android section

Android

The android implementation is contained in the android directory, and can be viewed locally for easy testing and editing by running ANDROID=1 npm start and then visiting http://localhost:8080. CSS and image files are located in the android/app/src/main/assets directory.


License

Mozilla Public License Version 2.0

qrcode.js licensed under MIT