Skip to main content

Advanced multi-channel file-sharing tool

Project description

General Information

See also:

Parrot-feeder is an all-in-one combination of the following tools:

When you use parrot-feeder, it starts sharing files from the current directory if no -d flas has been specified. It also exposes an HTML page for uploading files to the remote machine under the /api/upload path.

Finally, if you supply a telegram bot token via the --telegram-bot-token argument or via the TELEGRAM_BOT_TOKEN arguments, you will also activate a telegram bot that will /fetch or /tail files for you. Note: you also need to supply the --telegram-bot-whitelist or TELEGRAM_BOT_WHITELIST to specify the users allowed to interact with the bot. Note: you may need to sign up for Ngrok for tunneling HTML pages.

Installation

Build the Docker image:

docker build -t parrot-feeder -f ./Dockerfile .

Run the Docker image:

docker run --rm -it -p 4200:4200 parrot-feeder

Or install the package using PyPI:

pip3 install parrot-feeder

After starting the server, you can navigate to the following URLs:

  • / - for seeing the listing
  • /api/upload - for access the API for uploading files

Usage

Serve files and folder from the current working directory

parrot-feeder

Serve files and folders from the /tmp directory

parrot-feeder --directory /tmp

Print served files to the console on startup

parrot-feeder --directory /tmp -pf

Bind the server to a specific address

parrot-feeder --ip 10.10.10.10 --port 5050

Print help

parrot-feeder -h

On startup print the actual files being shared over Ngrok

parrot-feeder -pf

Use a telegram bot to serve you files from the remote server:

parrot-feeder --telegram-bot-token token --telegram-bot-whitelist username1,username2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parrot-feeder-0.7.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parrot_feeder-0.7.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file parrot-feeder-0.7.0.tar.gz.

File metadata

  • Download URL: parrot-feeder-0.7.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for parrot-feeder-0.7.0.tar.gz
Algorithm Hash digest
SHA256 13125e99e783b471d08a5d50e0e49bea541605c5ff0825314f383d1b81745a72
MD5 3f45083e578b13cc0445a9094962eae8
BLAKE2b-256 88e424bd3302920cf1ee06600763d1627cbe89f504cf17c8d66fea9be560be40

See more details on using hashes here.

File details

Details for the file parrot_feeder-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: parrot_feeder-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for parrot_feeder-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9b9df76fcb0556c1578bdb62fdf85e485d070b293f073ec18b66d25423a13a07
MD5 147480118060d9a3a5eaed66e86cf11e
BLAKE2b-256 57edfef06782ca75ec0c9eafacbe0e632f8c4593786c24bdb085c4e28c03df38

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page