https://github.com/egnrse/pacpak
manage your flatpaks with this pacman wrapper
https://github.com/egnrse/pacpak
flatpak pacman wrapper-script
Last synced: 15 days ago
JSON representation
manage your flatpaks with this pacman wrapper
- Host: GitHub
- URL: https://github.com/egnrse/pacpak
- Owner: egnrse
- License: mit
- Created: 2025-04-22T15:07:06.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-05-27T23:06:27.000Z (about 1 month ago)
- Last Synced: 2025-05-28T00:18:58.097Z (about 1 month ago)
- Topics: flatpak, pacman, wrapper-script
- Language: Shell
- Homepage:
- Size: 95.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pacpak
[](https://github.com/egnrse/pacpak/blob/main/LICENSE)
[](https://github.com/egnrse/pacpak/commits/main)
[](https://github.com/egnrse/pacpak/releases)A pacman wrapper to manage installed flatpaks with pacman. This is still starting out and more of a proof of concept than a fully functional program.
(I am currently rewriting this in rust. Look at the other branch if interested.)
## Install
For right now, just put `pacpak.sh` into your path as `pacpak` and make it executable.There might also be packages for you:
[](https://repology.org/project/pacpak/versions)
## Usage
Use it just like `pacman` (**Not all args are yet supported!** But the handing arguments through to pacman should still work fine)
(There are some settings at the top of `pacpak.sh`, that can be customized)## TODO
There is lots I want to add. PR/issues are very welcome.
to implement:
- Qo (file owned by what package)
- Ql (list package files)
- Q\[u|t|s|\] (can be upgraded|orphans|search names/descriptions)
- S (install)
- S\[s|u\] (search packages|upgrade)
- Si (package information (from online?))
- R\[s|n\] (remove: also dependecies|remove config files)
- deal with fullnames of operations (eg. --query)
- cache for `flatpak list|info` (paths?) to speed things up
- some more tricky Qi-fields- (and maybe rewrite this in rust or c or sth, to gain much needed speed ups [might be having to little time for that though])
I want to handle:
#### Q\[ilo\]
info/list files/owns file
`flatpak [list|info]`
`flatpak info --show-runtime --show-extensions ` (shows dependecies)#### R\[ns\]
`flatpak uninstall`
#### S\[yus\]
`flatpak update`
`flatpak search` (very slow)
#### F?
not sure yet, I dont really use it
#### V### upstream?
I think the flatpak cli can be better for interacting with a script, what is needed?
- better `list`: json?, seperated list?
- `info`: list multiple if unclear? or make more script friendly
- list branches/arches of an appid
- list extended appID (appID/branch/arch)?
- show duplication of appid easily?
- search could be faster: indexing, local first?, only local option?