Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/dar5hak/flathub-to-appcenter
- Owner: dar5hak
- License: unlicense
- Created: 2021-08-12T13:12:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-08-12T13:13:03.000Z (over 3 years ago)
- Last Synced: 2024-12-16T16:16:04.044Z (about 2 months ago)
- Topics: appcenter, elementary, flathub, flatpak, odin
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
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.