⚡ Node.js & Python CLI v1.1.0 Released

Pasteport in Your Terminal

Pipe terminal logs, transfer files up to 600 MB, retrieve clips via 6-digit codes or web URLs, and navigate interactive menus with full back-navigation support from bash, PowerShell, zsh, or CI/CD pipelines.

Interactive CLI Simulator

Interactive Terminal Menu (Options 1 to 5 + Back Navigation)

Run pasteport with no arguments to enter the interactive menu. At any sub-prompt, type 0, b, or back to return to the main menu without exiting.

bash / powershell session
Pasteport CLI v1.1.0
$ pasteport

  ██████╗  █████╗ ███████╗████████╗███████╗██████╗  ██████╗ ██████╗ ████████╗
  ██╔══██╗██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔══██╗██╔═══██╗██╔══██╗╚══██╔══╝
  ██████╔╝███████║███████╗   ██║   █████╗  ██████╔╝██║   ██║██████╔╝   ██║   
  ██╔═══╝ ██╔══██║╚════██║   ██║   ██╔══╝  ██╔═══╝ ██║   ██║██╔══██╗   ██║   
  ██║     ██║  ██║███████║   ██║   ███████╗██║     ╚██████╔╝██║  ██║   ██║   
  ╚═╝     ╚═╝  ╚═╝╚══════╝   ╚═╝   ╚══════╝╚═╝      ╚═════╝ ╚═╝  ╚═╝   ╚═╝   
  Cross-device sharing + Developer Toolkit | v1.1.0
  📁 Default download path: ~/Downloads/pasteport-zisphere

Select an action by typing 1, 2, 3, 4, or 5:

  [1] Standard Share  — Send text snippet or file (up to 10 MB)
  [2] Secret Share    — Send large file (up to 600 MB via 8-digit Code)
  [3] Retrieve / Get  — View text or download file (Code or Web URL)
  [4] Delete / Wipe   — Permanently destroy a clip with Self-Destruct PIN
  [5] Exit / Quit

Choose option [1-5]: 1
── [Option 1] Standard Share (up to 10 MB) ──
  [1] Send File(s) (single or multiple from your computer)
  [2] Send Text Snippet
  [0] Back to Main Menu
Choose [1/2, 0 to go back, default: 1]: 1

Enter path to local file (or 0/back to cancel): ./notes.txt
✔ Added: notes.txt (14.2 KB) | Total: 1 file(s) (0.01 MB / 10.00 MB)
Add another file? [Enter path(s), 0 to cancel, or press Enter when done]: 

✔ Ready to upload 1 file(s) (0.01 MB total)
Optional accompanying note/description (press Enter to skip): Release notes
Optional 4-character PIN lock (press Enter to skip): 1234
Optional Self-Destruct PIN to wipe clip on demand (press Enter to skip): 
Lifespan [1h / 3h / 6h / 12h / 24h, default: 24h]: 12

✔ Clip Created Successfully!
──────────────────────────────────────────────
  Share Code:  591823
  Direct Link: https://pasteport.zain-imran.com/view/591823
  Type:        File (notes.txt)
  Expires:     2026-09-21 02:00:00 (+05:00) — in 12h
  Access PIN:  Locked with 4-character PIN
──────────────────────────────────────────────

💻 Complete Commands & Subcommands Directory

Every direct subcommand, interactive option, and workflow mode supported by both Node.js & Python CLIs.

Interactive

pasteport

Launches the interactive menu loop (Options 1 to 5). Supports typing 0, b, or back at any prompt to return to the main menu without exiting.

$ pasteport
Sharing

pasteport send

Uploads text snippets or single/multiple files (up to 10 MB total) with optional PIN lock, note, lifespan, and duress wipe key.

$ pasteport send <text|files...> [options]
Retrieval

pasteport get

Retrieves text or downloads files using a 6-digit code, 8-digit secret code, or full browser URL. Auto-extracts code and supports destination paths.

$ pasteport get <code|url> [-p pin] [-o path] [--raw] [--json]
Large Files

pasteport secret

Direct-to-R2 upload for large files (up to 600 MB) authorized with an 8-digit access code minted on the web (/secure).

$ pasteport secret <code> <filepath>
Security

pasteport delete

Instantly destroys clip metadata in Firestore and purges binary objects from Cloudflare R2 using the Access PIN or Self-Destruct key.

$ pasteport delete <code|url> [-p pin]
Automation

Piped stdin

Pipes command outputs, git diffs, build logs, or system diagnostics straight into Pasteport without writing temporary files to disk.

$ cat build.log | pasteport send [-e hours]
Utility

pasteport --version

Displays the currently installed Pasteport CLI version (v1.1.0).

$ pasteport -v / pasteport --version
Utility

pasteport --help

Displays the complete built-in command-line manual and option flags.

$ pasteport -h / pasteport --help

🚩 CLI Options & Flags Reference

Customize lifespan, attach PIN security locks, specify custom destinations, or format outputs for scripts.

-p, --pin <4-char>4-character PIN security lock for access protection.
-e, --expiry <hours>Expiration horizon in hours (1 to 72 hours, default: 24).
-d, --self-destruct <pin>Self-Destruct duress PIN for permanent on-demand wipe.
-n, --note <text>Accompanying text note/description attached to file uploads.
-o, --output <path>Destination filepath or directory for downloaded files/text.
--rawPrints raw content directly to stdout (ideal for Unix pipelines).
--jsonOutputs metadata and response as structured machine-readable JSON.
--server <url>Custom backend endpoint override for private/self-hosted instances.
Seamless Navigation Loop

↩ Back to Main Menu at Any Prompt

You never get locked in. If you enter a sub-option (e.g. Standard Share file upload, PIN entry, or Retrieve), simply type 0, b, or back at any prompt to return smoothly to the main numbered menu without terminating your terminal session.

Option 1: Standard Share

Sub-menu offers [0] Back to Menu. Enter 0 or back during file selection to cancel.

Option 2: Secret Share

Type 0 or back at the 8-digit access code prompt or file path to abort back to menu.

Options 3 & 4: Get & Delete

Type 0 or back at the Code, URL, or PIN prompt to return immediately to the menu.

📊 Storage Tiers: Standard vs Secret Share

Choose the right share method directly from your terminal or the interactive menu.

Option 1: Standard Share

  • Maximum File Size:Up to 10 MB
  • Authorization:No code required (100% free & open)
  • Storage Provider:Firestore + Cloudflare R2
  • Retention Horizon:1 to 24 hours (customizable)
  • CLI Syntax:pasteport send [text|file]

Option 2: Secret Share

  • Maximum File Size:Up to 600 MB
  • Authorization:Requires 8-digit Secret Access Code
  • Storage Provider:Direct-to-R2 Presigned Stream
  • Retention Horizon:6 hours (strict auto-purge)
  • CLI Syntax:pasteport secret <code> <file>
Clean Lifecycle Management

📁 Dedicated Downloads Directory Lifecycle

Automatic directory creation and smart uninstall cleanup across npm and pip installations.

1. Automatic Creation on Install

When installing via npm install -g or pip install, a dedicated folder is created at ~/Downloads/pasteport-zisphere with an informative README file.

2. Smart Non-Destructive Uninstall

When uninstalling via npm uninstall or pip uninstall, if your downloaded files are still inside the folder, they are preserved safely. If the folder is empty, it is cleaned up automatically.

🗑️ Uninstallation Commands (All Platforms)

Clean, complete uninstallation commands for npm, pnpm, bun, python, winget, and Linux package managers.

Uninstall from NPM

Removes globally installed npm package.

$ npm uninstall -g pasteport-zisphere

Uninstall from PNPM

Removes global pnpm binary.

$ pnpm remove -g pasteport-zisphere

Uninstall from Bun

Removes global bun package.

$ bun remove -g pasteport-zisphere

Uninstall from Python PIP

Removes python pip entry point.

$ pip uninstall -y pasteport-zisphere

Uninstall via Windows Winget

Removes Windows package manager installation.

$ winget uninstall pasteport-zisphere

Debian / Ubuntu Linux (APT)

Removes deb package from system.

$ sudo apt remove pasteport

Fedora / RHEL / Oracle Linux (DNF)

Removes rpm package on RedHat & Oracle Linux.

$ sudo dnf remove pasteport

openSUSE / SUSE Linux (Zypper)

Removes package via zypper manager.

$ sudo zypper remove pasteport

🌐 Generate on Web → Download in Terminal

Create a share on any browser, then retrieve or download files directly from your terminal.

Open Web Sender →
1

Create Clip on Web

Drop files or paste text on pasteport.zain-imran.com/send. Receive your 6-digit code or direct URL.

2

Copy Share Code or URL

Copy either the clean 6-digit code (e.g. 482193) or the full link (https://pasteport.zain-imran.com/view/482193).

3

Download in Terminal

Run pasteport get <code-or-url> -o ./file. The CLI auto-extracts the code, validates PIN, and streams the download!