forked from Bowuigi/Zap
A simple and lightning fast AUR searcher
- Lua 100%
| LICENSE | Initial commit | |
| README.md | Added the option to limit the entries on search, added a lot of comments | |
| 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 | |
| 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 | |
| zap | Fix clipboard tool check to actually work | |
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