本仓库克隆自 mozilla/send.
把本仓库clone到本地, 使用命令docker方式在本地运行:
./scripts/docker-build.sh # 本地构建镜像
./scripts/docker-run.sh # 本地启动运行并监听 8090 端口号
或者直接使用已经Docker Hub中的镜像:
docker run -d -p 8090:1443 --name firefox-send-pod alanway/firefox-send
Mozilla discontinued the Firefox Send service in September 2021. For more information about this, please see the Mozilla Blog.
Please note that the Mozilla Public License 2.0 does not "grant any rights in the trademarks, service marks, or logos of any Contributor." You may fork and modify the source code for Firefox Send pursuant to the Mozilla Public License, but you may not create a version of the service that uses Mozilla trademarks or logos.
This repository is archived. In May 2021, Mozilla removed Mozilla trademarks from some of the files in this repository so that developers using this code are less likely to inadvertently infringe Mozilla's trademarks and confuse users. You are welcome to copy and modify this code under its open source license, but please ensure that all use complies with Mozilla's trademark policy. In other words, if you create a new version of Firefox Send you must remove all "Mozilla" and "Firefox" branding to ensure that users are not confused about who is providing the service.
Docs: FAQ, Encryption, Build, Docker, Metrics, More
- What it does
- Requirements
- Development
- Commands
- Configuration
- Localization
- Contributing
- Testing
- Deployment
- Android
- License
A file sharing experiment which allows you to send encrypted files to other users.
- Node.js 12.x
- Redis server (optional for development)
- AWS S3 or compatible service (optional)
To start an ephemeral development server, run:
npm install
npm start
Then, browse to http://localhost:8080
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. |
The server is configured with environment variables. See server/config.js for all options and docs/docker.md for examples.
Firefox Send localization is managed via Pontoon, not direct pull requests to the repository. If you want to fix a typo, add a new language, or simply know more about localization, please get in touch with the existing localization team for your language or Mozilla’s l10n-drivers for guidance.
see also docs/localization.md
Pull requests are always welcome! Feel free to check out the list of "good first issues".
ENVIRONMENT | URL |
---|---|
Production | https://send.firefox.com/ |
Stage | https://stage.send.nonprod.cloudops.mozgcp.net/ |
Development | https://send2.dev.lcip.org/ |
see also docs/deployment.md
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.
Mozilla Public License Version 2.0