Firefox Send Link Generator
This project provide a command-line way to get Firefox Send file download link. Support to generate Firefox Send link with web URI.
中文文档
Usage
Require Node.js >= 10
With NPX:
$ FSLG_FILE_URI=your_file_original_uri FSLG_DOWNLOAD_PASSWORD=your_download_password npx firefox-send-link-generator
FSLG_FILE_URI environmet variable is file original URI that you want to download.
FSLG_DOWNLOAD_PASSWORD environmet variable is password for protecting your Firefox Send link, optional
Work with CI
With CI, we can create Firefox Send link for files that can't be downloaded well in your local network with original URI.
Travis CI
-
Fork this repo, and enable Travis CI for forked repo.
-
Add environment variables FSLG_FILE_URI and FSLG_DOWNLOAD_PASSWORD in travis project settings.
-
Trigger your travis CI job
-
Get Firefox Send link in job's log
Github Actions
-
Fork this repo, and enable Github Actions for forked repo.
-
Add environment variables FSLG_FILE_URI and FSLG_DOWNLOAD_PASSWORD in Github Actions settings.
-
Trigger Github Actions job
-
Get Firefox Send link in job's log