Skip to main content

Send and receive data using human-readable codes

Project description

Clipipe

Pronunciation: Clip + Pipe

clipipe is a command-line tool that allows you to pipe the output of one command to another machine. It works behind NAT and is designed to be used in shell pipelines, where the output of one command is passed as input to another command.

How Does It Work?

clipipe reads data from standard input (stdin) and sends it to the server (also open source) via HTTPS. The server responds with a human-readable code, which you can share with others. The server stores the data on the server with an expiration time. On another machine, you can use clipipe to retrieve the data for the given code from the server and output it to standard output (stdout).

Installation

You can install the CLI tool from PyPI:

pipx install clipipe

Or use uv:

uvx install clipipe

User Guide

Sending Data

Pipe any data to the server and receive a retrieval code:

echo "Hello World" | clipipe send
cat file.txt | clipipe send
tar cz file.txt | clipipe send
clipipe send < data.json

The server will respond with a code, for example: bafilo42. You can share this code with anyone who needs to retrieve the data.

Retrieving Data

Use the code to fetch the data from the server:

clipipe receive bafilo42
clipipe receive bafilo42 > output.txt
clipipe receive bafilo42 | tar xz

Checking Server Status

Check if the server is online:

clipipe status

Custom Server

By default, clipipe connects to https://clipipe.io. To use a different server, set the CLIPIPE_SERVER environment variable or use the --server option:

export CLIPIPE_SERVER="https://your-clipipe-server.com"
clipipe send < file.txt

Or:

clipipe --server https://your-clipipe-server.com receive bafilo42

Features

  • Simple, human-readable codes for data retrieval.
  • Works behind NAT and firewalls.
  • Designed for shell pipelines to work with other tools.
  • Open source server and client.
  • Data stored temporarily with automatic expiration.

Roadmap

  • Built-in end-to-end encryption.
  • Add HTTP streaming.
  • Peer-to-peer support via WebRTC.

License

MIT

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

clipipe-0.1.1.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

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

clipipe-0.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file clipipe-0.1.1.tar.gz.

File metadata

  • Download URL: clipipe-0.1.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.11

File hashes

Hashes for clipipe-0.1.1.tar.gz
Algorithm Hash digest
SHA256 471bcdee61ca0642e8e45555bc7b8b20160becfce48d80fc9a00dea8038d5ee2
MD5 568435f0d5a117472d684e585d6163fa
BLAKE2b-256 6a54e1aab36b613aee158b29ed8439bc6c945e99717d8e6254a060e11910dc30

See more details on using hashes here.

File details

Details for the file clipipe-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: clipipe-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.11

File hashes

Hashes for clipipe-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4bfc64b30cd3fbc144da8bdc3799124543be3aad86792e85ddcd393c2b6c7ee3
MD5 409314c3293806c1155a07093f0a966b
BLAKE2b-256 4b552fe72ef5f997418b72b152bab800aca259e72ab6665a15eef8d1c9f37e3b

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