Zip and share files from the terminal — no browser needed.
Project description
shrip
Zip and share files from the terminal — no browser needed.
shrip bundles files and folders into a compressed archive and uploads it to gofile.io, giving you a temporary public download link instantly. No accounts, no configuration, no context-switching.
Installation
With pipx (recommended):
pipx install shrip
pipx installs
shripin an isolated environment and adds it to your PATH automatically. Install pipx withpip install pipxor see the pipx docs.
With pip:
pip install shrip
On Linux/macOS you may need
pip install --user shripif not using a virtual environment. Make sure~/.local/binis on your PATH.
From GitHub:
pip install git+https://github.com/nbfrodri/shrip.git
Requires Python 3.9 or higher. Works on Windows, macOS, and Linux.
Updating
# If installed with pipx
pipx upgrade shrip
# If installed with pip
pip install --upgrade shrip
Uninstalling
# If installed with pipx
pipx uninstall shrip
# If installed with pip
pip uninstall shrip
Usage
# Share a single file
shrip report.pdf
# Share multiple files and folders
shrip ./src/ README.md logo.png --name project-handover
# Custom archive name
shrip ./build/ -n release-v2
# Copy the link to clipboard
shrip file.txt --copy
# Open in browser after upload
shrip file.txt --open
# Combine flags
shrip ./dist/ -n release -c -o
Example output:
Compressing 3 items (4.8 MB) into project-handover.zip...
⠋ Compressing ████████████████████████████████████ 3/3 files
Compressed to 1.2 MB (75% smaller). Uploading...
⠋ Uploading ████████████████████████████████████ 1.2/1.2 MB 850.3 kB/s
╭──────────── Ready to share ────────────╮
│ │
│ https://gofile.io/d/AbCd123 │
│ │
╰──────── Link copied! ─────────────────╯
(Files are automatically deleted after a period of inactivity.)
Options
| Flag | Short | Description | Default |
|---|---|---|---|
--name |
-n |
Custom archive name (without .zip) |
shrip_archive |
--copy |
-c |
Copy the download link to clipboard | off |
--open |
-o |
Open the download link in your browser | off |
--version |
-v |
Show version and exit | |
--help |
Show usage help |
How It Works
- Validates that all provided paths exist.
- Compresses everything into a temporary
.ziparchive — directories are walked recursively, preserving folder structure. - Uploads the archive to gofile.io (anonymous, no account needed, no file size limit).
- Prints the download URL (and copies/opens it if requested).
- Deletes the temporary zip file automatically — even if the upload fails or you hit Ctrl+C.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file shrip-0.1.3.tar.gz.
File metadata
- Download URL: shrip-0.1.3.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d853c84c5656104650f8f84a0065af2705b4d68fd8755ae18a73ca766d5eba90
|
|
| MD5 |
ef0f4451a4128df78d0727d52e0841b4
|
|
| BLAKE2b-256 |
ffdfcb5fb1ab72bef7dbba0db66799f9a57e85ee1fb7694e6e8feb4cbbab0ba3
|
Provenance
The following attestation bundles were made for shrip-0.1.3.tar.gz:
Publisher:
publish.yml on nbfrodri/shrip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shrip-0.1.3.tar.gz -
Subject digest:
d853c84c5656104650f8f84a0065af2705b4d68fd8755ae18a73ca766d5eba90 - Sigstore transparency entry: 1067972366
- Sigstore integration time:
-
Permalink:
nbfrodri/shrip@6ab49ad94eec64d147d48a41a35145d025a01e4c -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/nbfrodri
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6ab49ad94eec64d147d48a41a35145d025a01e4c -
Trigger Event:
push
-
Statement type:
File details
Details for the file shrip-0.1.3-py3-none-any.whl.
File metadata
- Download URL: shrip-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffe9525f07fd4e6411a33289e6f2ce5c472b180310b1cf8e13ca073c8908b896
|
|
| MD5 |
b925d94caa5c695c4e9b5077ffc4e7db
|
|
| BLAKE2b-256 |
b1699de4afc49f1c7a6c32079f36d2ae33dd782bd8ad1c7ed11335eff3f52dbe
|
Provenance
The following attestation bundles were made for shrip-0.1.3-py3-none-any.whl:
Publisher:
publish.yml on nbfrodri/shrip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
shrip-0.1.3-py3-none-any.whl -
Subject digest:
ffe9525f07fd4e6411a33289e6f2ce5c472b180310b1cf8e13ca073c8908b896 - Sigstore transparency entry: 1067972429
- Sigstore integration time:
-
Permalink:
nbfrodri/shrip@6ab49ad94eec64d147d48a41a35145d025a01e4c -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/nbfrodri
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@6ab49ad94eec64d147d48a41a35145d025a01e4c -
Trigger Event:
push
-
Statement type: