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
- Get a bookmark
- Show configuration
- 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.
Configuration
Tempesta's configuration file (tempesta.toml) is typically located at ~/.config/tempesta/tempesta.toml.
You can specify a custom configuration file path using the --config or -c global flag. This flag can be placed anywhere in the command line:
If the --config flag is not provided, Tempesta will check for the TEMPESTA_CONFIG environment variable. If set, its value will be used as the configuration file path.
The --config flag takes precedence over the TEMPESTA_CONFIG environment variable. If neither is provided, Tempesta defaults to ~/.config/tempesta/tempesta.toml.
Add a bookmark
Edit a bookmark in your editor (it check $EDITOR variable)
Get a bookmark
It prints the URL of the bookmark
Show configuration
It prints the current configuration
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)
NixOS/Nix (NUR)
# Direct install (requires NUR)
# Home Manager (requires NUR input/overlay)
;
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:
| |
rofi
If you are using rofi you can pipe the result of tempesta list to it:
| |