Pacseek - A terminal user interface for searching and installing Arch Linux packages

Dear EOS community,

On Friday I started a little project mainly just to get my hands dirty with TUI programming.
Since then it evolved quite quickly and I now take the opportunity to shamelessly advertise it on this forum :wink:
Maybe it’s useful for someone :person_shrugging:

The program is called pacseek.
It is a small TUI application that can help you finding and installing/removing packages.
It supports the regular Arch repositories as well as the AUR.

If you want to play around with it, you can install pacseek from the AUR:

pacseek
pacseek-bin
pacseek-bin

Have fun and let me know how things go :wink:,
MO

https://raw.githubusercontent.com/moson-mo/pacseek/main/assets/pacseek_animation.gif

so should we replace pcurses with it ?
:enos_flag:

Nice! But does functionality also extend to DDoS the AUR? :stuck_out_tongue_winking_eye:

Nope. What you are DDoSing is my own server :rofl: where I run my own implementation of the AUR /rpc endpoint. (the data is slightly less up-to-date than the AUR one, it’s being refreshed every 5 minutes…)

So Arch is not being harmed with this :wink:

Nice job moson, just tried it and it runs great!

While that is a little disappointing we’re only taking our your server and not the whole AUR, I’m going to give it a spin. It looks interesting, and useful if I don’t want to log onto the website like I usually do to search. Thanks!

Yeah. That was pretty much the intention. While the usual AUR helpers already have search capabilities, I thought, a little bit more interactivity can’t harm :slight_smile:


Update to 0.1.1 is out.
Changed the coloring a bit and package installation is now also done with the ENTER key rather than CTRL+Space.

is it also possible to add a .desktop ? pacseek.desktop you can easily find in your menu? :slight_smile: (i am lazy)

Is it possible to get it to search the whole name? Say if I don’t know what I’m looking for specifically? I REALLY like the simplicity of this though. Great job for a 1.1 release

Screenshot from 2022-03-27 05-47-01

I was just about going to add it :rofl:

Just wondering which icon to use. Any suggestions? “terminal” ?

It’s a “starts with” search basically. I guess you’d want “contains” instead ?
I pretty much did that because then I can utilize the “suggest” type /rpc call.
(Which is way less resource intensive then the “search” one)

I’ll think about it…
edit I’ll probably make that an option in the settings

I’m sure it’s more resource intensive. Either way - I like the layout/simplicity of it and how it’s setup. Great start!

a black pacman icon with with teeth?
:slight_smile:

Sounds great.

I don’t have icon design skills at all though. Someone here who could help with this?

i am worse lol idea was like

image

haha

Paging @SGS :grin:

yeah, just it fits closly to the avatar of moson :slight_smile:

only some things on, standard it want to install packages with yay -Syu ? but other side is nice you can change it in setting

if as you want to find pdf , you only find pdf that starts with pdf :slight_smile: there should be more pdf viewers
:slight_smile:

further is simple.

Voila. New search option added.
Will be released in a couple of minutes :wink:

Full search will only work with 3 or more characters for the search term though (that’s a limitation of the /rpc API; makes sense though)

BTW, can you set the AUR RPC URL to https instead of http? Or is there a reason why you use http?

Nope, besides that it’s faster and there is not really a reason to encrypt that traffic.
But I can set up that up as well.