A CLI tool to help manage IPFS content in your local IPFS node. This app aims to be the alternative of ipfs-webui
(with less features, for now) in the terminal environment. It does not replace ipfs-kubo
but relies on it & compliments it.
It is a TypeScript app that requires either Bun or Node runtime to be installed on your machine. It interacts directly with the IPFS Kubo RPC commands via Bun.spawn
.
# Install globally on your local machine
npm install -g @kienngo/clipfs
# OR
bun install -g @kienngo/clipfs
# Show help
clipfs
# View IPFS MFS files in interactive table
clipfs pintable
# View peer table
clipfs peertable
# Pin management
clipfs pin
Navigate and manage your IPFS files with an interactive interface:
clipfs pintable
The interactive mode allows you to:
- Select files using arrow keys
- Press Enter to select a file
- Choose from options:
- 0: View file details
- 1: Unpin file
- 2: Copy CID to clipboard
- 3: Exit
- Bun runtime (https://bun.sh)
- IPFS daemon running locally (IPFS Kubo installed on your machine)
Make sure all the requirements above are met!
# Clone the repository
git clone https://github.com/kien-ngo/clipfs.git
cd clipfs
# Install dependencies
bun install
# Build
bun run build
# Run commands locally
bun pintable
bun peertable
bun pin <option>
Knowledge about IPFS Kubo RPC is required. If you have an idea or feature request then feel free to create a Github Issue. PRs are always welcomed.