FastFileLink CLI (ffl) APE
2.3K
This image packages the FastFileLink CLI (ffl). It can share a file (produces a link) and download a file from a link.
For the complete command usage, please see https://github.com/nuwainfo/ffl
docker build -t ffl .
docker run --rm --network host \
-v "$(pwd)/temp_docs:/data" \
ffl /data/myfile.txt
Notes:
--max-downloads 1 will stop after one download.--port <port>.--network host is not strictly required, but adding it can greatly improve the success rate of WebRTC connections. Otherwise, the transfer may fall back to Relay, which is slower.Example with max downloads:
docker run --rm --network host \
-v "$(pwd)/temp_docs:/data" \
ffl --max-downloads 1 /data/myfile.txt
docker run --rm --network host \
-v "$(pwd)/temp_docs:/out" \
ffl download "https://<link>" --output /out/downloaded.txt
This runs a share container, grabs the link, then downloads using another container.
# Create a sample file
echo "hello" > temp_docs/sample.txt
# Start sharing (prints link)
docker run --rm --network host -v "$(pwd)/temp_docs:/data" ffl --max-downloads 1 /data/sample.txt
# In another terminal, download via container:
docker run --rm --network host -v "$(pwd)/temp_docs:/out" ffl download "https://<link>" --output /out/sample_downloaded.txt
Content type
Image
Digest
sha256:06caaace3…
Size
27.1 MB
Last updated
4 days ago
docker pull fastfilelink/ffl:4.0.0