/puri.sh

Minimal CLI URL launcher written in shellscript

Primary LanguageShellGNU General Public License v3.0GPL-3.0

puri: Minimal CLI URL launcher

puri is a minimal TUI for searching and launching URLs from a given file.

puri is a ~100 line POSIX shellscript.

Features

  • Vim bindings
  • Scrollable list

Dependencies

  • grep, sed, sort, cut, head, seq, cat

Installation

git clone https://github.com/salman-abedin/puri.sh.git && cd puri.sh && sudo make install

Usage

Tmux ( Press prefix, 'u' )

bind u run 'tmux capture-pane -p > /tmp/tb' \; \
  split-window 'puri /tmp/tb && rm -f /tmp/tb'

Mutt/Neomutt ( Press 'o' )

macro index,pager o "<pipe-entry>tee /tmp/muttb<enter><shell-escape>puri /tmp/muttb<enter>"
macro index,pager o "<pipe-message>tee /tmp/muttb<enter><shell-escape>puri /tmp/muttb<enter>"

Shell

puri [FILE...]

Uninstallation

sudo make uninstall

Patches

  • 27/07/20:- Added scrolling support

Similar Projects


Repos you might be interested in

Name Description
bolt The launcher wrapper
uniblocks The status bar wrapper
tide Transmission CLI client
devour Terminal swallowing
crystal The transparent setup
Magpie The dotfiles
Alfred The scripts

Contact

SalmanAbedin@disroot.org