Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (9 months ago)
- Default Branch: main
- Last Pushed: 2024-01-27T19:01:13.000Z (5 months ago)
- Last Synced: 2024-02-03T20:05:41.780Z (4 months ago)
- Language: Go
- Size: 21.1 MB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Lists
- 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)
- 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
![preview image](assets/go-flatpak.png)
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.![preview image](assets/img.png)
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`