{"id":13723042,"url":"https://github.com/endlessm/electron-flatpak-base-app","last_synced_at":"2025-05-07T16:31:51.235Z","repository":{"id":149346503,"uuid":"69902654","full_name":"endlessm/electron-flatpak-base-app","owner":"endlessm","description":"Flatpak runtime for electron apps based on the freedesktop runtime.","archived":true,"fork":false,"pushed_at":"2022-12-09T12:03:46.000Z","size":40,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":25,"default_branch":"master","last_synced_at":"2024-04-15T00:02:36.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/endlessm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-10-03T19:18:45.000Z","updated_at":"2023-10-17T23:09:44.000Z","dependencies_parsed_at":"2024-01-06T14:04:20.233Z","dependency_job_id":"e9a80021-533e-473d-800d-43b08c19c40c","html_url":"https://github.com/endlessm/electron-flatpak-base-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endlessm%2Felectron-flatpak-base-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endlessm%2Felectron-flatpak-base-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endlessm%2Felectron-flatpak-base-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/endlessm%2Felectron-flatpak-base-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/endlessm","download_url":"https://codeload.github.com/endlessm/electron-flatpak-base-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252915372,"owners_count":21824553,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T01:01:35.699Z","updated_at":"2025-05-07T16:31:51.226Z","avatar_url":"https://github.com/endlessm.png","language":"Makefile","funding_links":[],"categories":["Runtimes"],"sub_categories":["Base Apps"],"readme":"**Obsolete**, superseded by https://github.com/flathub/org.electronjs.Electron2.BaseApp and https://github.com/flathub/io.atom.electron.BaseApp.\n\n# electron-flatpak-base-app\nThis repo contains flatpak builder manifests for building a number of\napplications to help with electron flatpak development.\n\nBuilt versions for x86_64, i386 and arm are hosted on [Flathub](https://flathub.org).\n\nTo get started with the electron base app for your current architecture.\n```\nflatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo\nflatpak install flathub io.atom.electron.BaseApp\n```\n\n## Apps\nThe most useful app here will probably be the `io.atom.electron.BaseApp`\nwhich can be layered into your flatpak electron app with all the library\ndependencies electron needs to run. For a high level overview of flatpak,\nelectron and the applications here see.\n\n#### General Apps\n - **io.atom.electron.BaseApp**: contains all the library dependencies of an\n   electron application, allowing your app to target the freedesktop runtime.\n   Should be suitable for targeting *any* linux distribution.\n - **io.atom.electron.DevApp**: layered on top of the base app, this application\n   contains flatpak, git and nodejs installed. You can use it to build electron\n   flatpaks on a system where either git or nodejs is not available.\n\n#### EndlessOS Apps\n - **com.endless.ElectronKnowledgeBaseApp**: layered on top of the base app,\n   contains the library dependencies needed to build offline content browsing\n   apps for EndlessOS.\n - **com.endless.ElectronKnowledgeDevApp**: adds flatpak, git and nodejs to\n   the ElectronKnowledgeBaseApp. You can build EndlessOS content browsing\n   flatpaks from within this app.\n\n## Building\nBuilding the apps require `flatpak` and `flatpak-builder` to be installed on\nyour system. You will also need the freedesktop runtime, which if you don't\nalready have, can be installed by running\n```\nmake install-deps\n```\n\nAny of the app manifests can be built directly using the `flatpak-builder`\ncommand. The makefile contains a recipe for building all the apps in this\nrepo sequentially, to do so just run\n```\nmake\n```\n\nYou can use the following environment variables to configure the build.\n - ARCH: architecture to use when building the base application. You must\n   have the freedesktop runtimes installed for the same architecture.\n - REPO: the location of the flatpak repository to publish the base app to.\n   Defaults to `repo` wherever `make` is run.\n - REPO_NAME: the name to use when setting up a local flatpak remote for the\n   repo. Default to `local-endless-electron-apps`.\n - EXPORT_ARGS: extra arguments to use when exporting the application with\n   `flatpak-builder`, such as `--gpg-sign=KEYID` for gpg signing.\n\n## Using\nYou can use the base app to build an electron application flatpak. One way to do\nthis is to specify it in a `flatpak-builder` manifest file.\n```json\n{\n    \"id\": \"com.website.MyElectronApp\",\n    \"base\": \"io.atom.electron.BaseApp\",\n    \"base-version\": \"master\",\n    \"runtime\": \"org.freedesktop.Platform\",\n    \"runtime-version\": \"1.6\",\n    \"sdk\": \"org.freedesktop.Sdk\",\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendlessm%2Felectron-flatpak-base-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fendlessm%2Felectron-flatpak-base-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fendlessm%2Felectron-flatpak-base-app/lists"}