https://github.com/sweetbbak/flatpak-cli
A command line program to search and install flatpaks from the flathub repo using a fzf like interface.
https://github.com/sweetbbak/flatpak-cli
Last synced: 2 months ago
JSON representation
A command line program to search and install flatpaks from the flathub repo using a fzf like interface.
- Host: GitHub
- URL: https://github.com/sweetbbak/flatpak-cli
- Owner: sweetbbak
- Created: 2023-09-09T05:43:43.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-27T19:01:13.000Z (almost 2 years ago)
- Last Synced: 2024-05-07T15:33:22.746Z (over 1 year ago)
- Language: Go
- Size: 21.1 MB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cli-apps-in-a-csv - flatpak-cli - A command line program to search and install flatpaks from the flathub repository using a fzf like interface. (<a name="package-manager"></a>Package managers)
- awesome-cli-apps - flatpak-cli - A command line program to search and install flatpaks from the flathub repository using a fzf like interface. (<a name="package-manager"></a>Package managers)
README

A simple command line tool to search and install flatpaks.
Using "flatpak search org.XYZ.123" is not only inconvenient, its annoying and slow.
With go-flatpak you can just run it and install what you wan't too without using the slow CLI tool
or having to use a GUI flatpak installer.
Its the same issue with running flatpaks on the command line. The names are hard to remember and ridiculous
to type... `go-flatpak` solves this issue by creating "shim" scripts that wrap running the flatpak, so now
you can just type `blender` insead of `flatpak run org.Blender.blender` and its easier to maintain than creating
shims manually or adding each one as an alias.

Please note that go-flatpak is still in an early phase!
Build and run:
```sh
go build -o go-flatpak
./go-flatpak
```
Use the Fzf-like interface to browse through the flatpak database and hit ENTER to install a package
or mark multiple packages with TAB to install more than one at a time.
> if this project becomes more popular, I will add binaries for Unix platforms in the releases section.
# Export flatpak apps to the Command line
## Link Flatpak apps to their usual command line names
```sh
./go-flatpak --link
```
Creates a "flatpak-bin" folder in the current directory with executable files that link the flatpak app
with their shorthand names that you would usually use on the command line for a non-flatpak tool or application.
Examples:
- `org.Blender.blender` becomes `blender`
- `io.github.giantpinkrobots.flatsweep` becomes `flatsweep`
- `com.google.AndroidStudio` becomes `android_studio`