Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dar5hak/flathub-to-appcenter

Convert Flathub manifests to elementary OS AppCenter manifests
https://github.com/dar5hak/flathub-to-appcenter

appcenter elementary flathub flatpak odin

Last synced: about 2 months ago
JSON representation

Convert Flathub manifests to elementary OS AppCenter manifests

Awesome Lists containing this project

README

        

# flathub-to-appcenter

A simple script that takes the Flatpak manifest of a Flathub app as an input and creates a manifest file compatible with elementary OS AppCenter.

## Usage

1. Clone this repo
2. `npm install`
3. Get the raw URL of the Flathub manifest (only JSON supported currently)
4. `node . https://github.com/flathub/com.github.yourusername.yourrepositoryname/raw/master/com.github.yourusername.yourrepositoryname.json`

This will create a file called `com.github.yourusername.yourrepositoryname.yml` in the current directory. Copy it wherever.

### Assumptions

- The app uses `io.elementary.BaseApp` as `base` in the Flathub manifest.
- In the list of modules, the app itself is the last entry.