Code Monkey home page Code Monkey logo

flatpak-cli's Introduction

preview image

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

Please note that go-flatpak is still in an early phase!

Build and run:

  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

  ./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

flatpak-cli's People

Contributors

sweetbbak avatar

Stargazers

Nazan H. avatar MUMUCODE avatar Tom avatar  avatar Dominic Corriveau avatar Hunter Frerich avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.