perplexity-cli
🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀
A cross-shell customizable powerline-like prompt with icons
git clone https://github.com/reujab/silver.gitreujab/silverA cross-shell customizable powerline-like prompt heavily inspired by Agnoster. The faster rust port of bronze.

Unlike most shell prompts, silver is not written in shell script, but entirely in Rust.
When silver init is run, it outputs shell code that sets your left prompt to run silver lprompt and right prompt to silver rprompt, which output the actual prompt.
Since silver is not written in shell script, it should theoretically be compatible with any shell, but the supported shells are Powershell, Bash, Zsh, fish, Ion and Elvish.
To be able to use the custom icons (which are disabled by default), you must patch your font or install a pre-patched font from Nerd Fonts.
cargo install --git https://github.com/reujab/silverPATH environment variableOn macOS, you will have to do a bit more:
brew install coreutilsbrew install opensslalias date="gdate" to your shell configNow that you have silver installed, you need to create silver.toml and put it in the following path:
~/.config/silver/silver.toml or $XDG_CONFIG_HOME/silver/silver.toml~/Library/Preferences/rs.silver/silver.tomlTo have your prompt look like the screenshot at the top of the readme, configure silver.toml with:
[[left]] name = "dir" color.background = "blue" color.foreground = "black" [[left]] name = "git" color.background = "green" color.foreground = "black" [[right]] name = "status" color.background = "white" color.foreground = "black" [[right]] name = "cmdtime" color.background = "magenta" color.foreground = "black" [[right]] name = "shell" color.background = "green" color.foreground = "black"
Now that silver is configured, you need to evaluate its bootstrap code.
~/.bashrc:
source <(silver init)
~/.config/ion/initrc:
eval $(silver init)
Invoke-Expression -Command $(silver init | Out-String)
See zsh plugin
See fish plugin
See elvish plugin
Documentation is available on the wiki.
src/
modules/
cmdtime.rs
cmdtime moduledir.rs
dir moduleenv.rs
env modulegit.rs
git modulemod.rs
os.rs
os modulestatus.rs
status moduletime.rs
time moduleuser.rs
user modulevirtualenv.rs
virtualenv modulecli.rs
config.rs
icons.rs
init.bash
init.ion
init.ps1
main.rs
print.rs
sh.rs
more like this
🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀
A Light theme for both KDE and GTK based distros, pleasant to the eyes and perfect for your daily workload.
search projects, people, and tags