Skip to main content

A simple file streamer over websockets.

Project description

Firecrest Streamer

A simple command-line interface (CLI) tool to stream files over WebSocket connections.


✨ Features

  • Send and receive files securely via WebSocket.
  • Simple CLI interface for both client and server modes.
  • Shared secret based authentication.

🧰 Installation

(Optional) Create a virtual environment

python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip

Install Firecrest Streamer

pip install firecrest-streamer

🚀 Usage

Run as a Client

To send or receive files, you need the secret coordinates issued by the Firecrest Streamer server when a new transfer is initiated.

Receive a file:

streamer receive --coordinates [secret-coordinates] --path [destination-path]

Send a file:

streamer send --coordinates [secret-coordinates] --path [file-to-send]

Note: The --coordinates value must match the one provided by the server.


Run as a Server

You can also run your own Firecrest Streamer server to handle file transfers.

Start a server to send files:

streamer server --secret [your-secret-string] send --path [file-to-send]

Start a server to receive files:

streamer server --secret [your-secret-string] receive --path [destination-path]

Tip: Use a unique --secret string to protect your server session.


🧑‍💻 Development

Run from source

pip install -r requirements.txt
cd src
python -m streamer server --secret [your-secret-string] send --path [file-to-send]
python -m streamer receive --coordinates [secret-coordinates] --path [destination-path]

📦 Distribution

To build and publish a new version to PyPI:

python3 -m build --wheel
twine upload dist/*

Note: Your PyPI API token should be stored in the local .pypirc file.


📝 License

This project is licensed under the BSD-3-Clause license. See the LICENSE file for details.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

firecrest_streamer-0.0.16-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file firecrest_streamer-0.0.16-py3-none-any.whl.

File metadata

File hashes

Hashes for firecrest_streamer-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 a66885d5803e0a01f0dc8de5debfc2aadedb1160fc0d3cc192a07fb9875e6891
MD5 f5390d4cb093e29c5e61871f6138f43f
BLAKE2b-256 d53d76e6e88a52ef40a28c1f4dc8797a18272b7381c83ce76fe1d049234cbbd3

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