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

54 Likes

so should we replace pcurses with it ?
:enos_flag:

7 Likes

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

12 Likes

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:

9 Likes

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

4 Likes

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!

4 Likes

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.

4 Likes

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

3 Likes

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

2 Likes

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

4 Likes

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

1 Like

a black pacman icon with with teeth?
:slight_smile:

3 Likes

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

8 Likes

Paging @SGS :grin:

3 Likes

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)

9 Likes

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

2 Likes

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.

2 Likes