A lightweight command-line tool to shorten URLs, store text snippets, and retrieve them using the TVault API. Built with TypeScript, Node.js, and Meow.
- Shorten URLs (tvault shorten )
- Store text with auto/custom keys (tvault store "text")
- Retrieve stored text/URLs (tvault get )
- Open shortened URLs in your browser (tvault open )
npm i -g tvault-cli
tvault <command> [options]
| Command | Description |
|---|---|
shorten <url> |
Shorten a URL |
store <text> |
Store text under a key |
get <key> |
Retrieve stored text/URL |
open <key> |
Open shortened URL in browser |
| Option | Description |
|---|---|
--key, -k |
Custom key (optional) |
tvault shorten https://google.com
tvault shorten https://github.com -k gh
tvault store "hello world"
tvault store "notes here" --key note1
tvault get note1
tvault open gh
MIT