Skip to content

whispem/whisphub-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WhispHub CLI

Crates.io License: MIT

Push your code projects to WhispHub directly from your terminal.

WhispHub is a code-sharing platform with a social twist — projects, not repositories. The CLI lets you push folders without Git, branches, or "create a repo first" friction.

$ whisphub push
✓ Uploaded 4 files
✓ Whispered to whisphub.dev/yourname/your-project

Installation

cargo install whisphub

Requires Rust 1.70+.

Quick start

# Authenticate (opens browser for one-time login)
whisphub login

# Initialize a new project in current folder
whisphub init

# Push your code
whisphub push

That's it. Your project is now live at whisphub.dev/yourname/your-project.

Commands

Command Description
whisphub login Authenticate via browser (device flow)
whisphub logout Remove local credentials
whisphub whoami Show currently logged-in user
whisphub init Initialize a new project interactively
whisphub push Upload current folder to WhispHub

push options

whisphub push --yes          # Skip confirmation prompt
whisphub push --slug myproj  # Override project slug

Configuration

Credentials are stored at:

  • macOS / Linux: ~/.config/whisphub/auth.json
  • Windows: %APPDATA%\whisphub\auth.json

File permissions are set to 0600 on Unix systems.

What gets uploaded

The CLI uploads the current directory as a ZIP, excluding common build artifacts and metadata:

  • .git/
  • node_modules/
  • target/
  • dist/, build/
  • .DS_Store
  • Hidden files starting with . (except .gitignore, .env.example)

Maximum upload size: 100 MB.

About WhispHub

WhispHub treats your code as a project, not a repository. No branches to manage, no Git knowledge required. Just push and share.

  • Built solo in Rust
  • Fast HTTP uploads with multipart streaming
  • Token stored locally with restrictive permissions
  • Cross-platform: macOS, Linux, Windows

License

MIT — see LICENSE.

Links

About

Command-line client for WhispHub — push your code from terminal.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages