1
0
Fork
You've already forked Zap
0
forked from Bowuigi/Zap
A simple and lightning fast AUR searcher
  • Lua 100%
Find a file
2022年01月11日 14:09:14 -06:00
LICENSE Initial commit 2021年09月11日 01:26:02 -03:00
README.md Added the option to limit the entries on search, added a lot of comments 2021年10月23日 18:52:35 -03:00
rxi-json-license Rewrote it completely, added more info on the "info" command, now using a native JSON library, it doesn't need jq anymore 2021年10月16日 12:37:04 -03:00
rxi-json.lua Rewrote it completely, added more info on the "info" command, now using a native JSON library, it doesn't need jq anymore 2021年10月16日 12:37:04 -03:00
zap Fix clipboard tool check to actually work 2022年01月11日 14:09:14 -06:00

Zap

A lightning fast AUR searcher (might evolve into a helper)

Now rewritten!

Dependencies

  • Lua (anything above 5.1 should work, even LuaJIT, just change the shebang)
  • curl

Installation

Place the zap program somewhere on your PATH, I reccomend /usr/local/bin.

Run zap, it should give an error with a bunch of paths, choose one of those paths and put the rxi-json.lua file there, for example, place it on /usr/share/lua/5.3/

Usage

zap search [package]
zap search

The second one asks for a package too, but on stdin instead of arg

There is also a package info command, to use it do

zap info [package]

or, to read from stdin

zap info

To provide basic usage commands, use

zap help

Configuration

Since there is not much configuration to do, the way you configure zap is by editing the top of the zap source file

Information about each variable is included there