Skip to content

antoniomika/ffswget

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ffswget

A wget-able interface for Firefox Send

This project makes use of the great ffsend-api by Tim Visée

How to run this project

The command takes one argument, which is the base for the host of the URLs it returns.

Docker

docker run -itd \
    -p 8000:8000 \
    --restart=always \
    antoniomika/ffswget:latest http://<yourhost>:8000

Docker compose service example

version: '3.7'

services:
  ffswget:
    image: antoniomika/ffswget:latest
    ports:
      - "8000:8000"
    command: http://<yourhost>:8000
    restart: always

How to use a running instance

  1. Upload files

    • curl --progress-bar --upload-file ~/Downloads/ubuntu-19.04-live-server-amd64.iso http://<yourhost>:8000
  2. Download files from a URL like https://send.firefox.com/download/file_id/#file_key

    • wget http://<yourhost>:8000/file_id/file_key -O file_name.iso
    • wget http://<yourhost>:8000/download?url=https%3A%2F%2Fsend.firefox.com%2Fdownload%2Ffile_id%2F%23file_key -O file_name.iso

About

A wget-able interface for Firefox Send

Resources

Stars

Watchers

Forks

Packages

No packages published