salman-abedin / puri.sh

Minimal CLI URL launcher written in shellscript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Minimal CLI URL launcher written in shellscript

License:GNU General Public License v3.0


Languages

Language:Shell 89.7%Language:Makefile 10.3%