Tempesta
The fastest and lightest bookmark manager CLI written in Rust.
[Heavily inspired by pass]
Bookmark management should be simple and follow Unix philosophy.
With Tempesta all bookmarks live in ~/.bookmark-store, and tempesta provides
some intuitive commands for adding, updating, editing and open URLs.
It can also track all the changes using git.
Table of content
How to use it:
- Init
- Add a bookmark
- Edit a bookmark
- List bookmarks
- Move a bookmark
- Open the URL in the browser
- Remove a bookmark
- Update a bookmark
- Shortcut
Install
Alias
Combine
How to use it
Init
Before start using it, run:
This will prompt with questions about the set up.
Add a bookmark
Edit a bookmark in your editor (it check $EDITOR variable)
List bookmarks
Without arguments it lists all the bookmarks
List has a parameter that can be passed with the flag --divisor that divides
the path name to the actual url:
This prints:
Move a bookmark
Open the URL in the browser
Remove a bookmark
Update a bookmark
Shortcut
You can use the initial of the methods instead of their full identifier:
For example
Install
MacOS (Homebrew)
Arch Linux (AUR)
Download binaries
Download the latest compatible binaries for your system and architecture: https://github.com/x71c9/tempesta/releases/latest
Build from source
Install Rust
|
After installation, ensure your environment is updated (or restart your terminal) so that the cargo and rustc commands are in your PATH.
If you want to install the CLI tool so that it’s available in your PATH, you can use in the repo directory:
Shell completion
BASH
# set up autocomplete in bash into the current shell,
# bash-completion package should be installed first.
# add autocomplete permanently to your bash shell.
ZSH
# set up autocomplete in zsh into the current shell
# add autocomplete permanently to your zsh shell
FISH
&&
Alias
ZSH Alias
Most likely you will alias the command with
In order to make completion in bash to work with alias you can add the following:
where the final t is the name of the alias.
Bash Alias
Autocompletion do not work for bash alias but works when using functions, therefore is recommended to use a function instead, for example:
fzf
If you are using fzf you can pipe the result of tempesta list to it:
|
And you can use it in combination with tempesta open in order to fuzzy find a
bookmark and open it in the browser
# with AWK
| | |
# with SED
| | |
An alias like this might be useful to open bookmarks:
wofi
If you are using wofi you can pipe the result of tempesta list to it:
| |