{"id":16644819,"url":"https://github.com/a6gibkm/silverblue-tools","last_synced_at":"2025-10-10T05:44:04.453Z","repository":{"id":49758962,"uuid":"279645518","full_name":"A6GibKm/silverblue-tools","owner":"A6GibKm","description":"Collection of scripts for silverblue related technologies","archived":false,"fork":false,"pushed_at":"2024-10-31T17:22:36.000Z","size":51,"stargazers_count":66,"open_issues_count":5,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-13T10:57:58.243Z","etag":null,"topics":["fedora","flatpak","ostree","silverblue","toolbox"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/A6GibKm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-14T17:04:34.000Z","updated_at":"2024-11-24T14:06:23.000Z","dependencies_parsed_at":"2024-03-17T01:27:37.532Z","dependency_job_id":"b1993838-85f2-40ac-af51-360e61aee2a1","html_url":"https://github.com/A6GibKm/silverblue-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/A6GibKm/silverblue-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A6GibKm%2Fsilverblue-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A6GibKm%2Fsilverblue-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A6GibKm%2Fsilverblue-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A6GibKm%2Fsilverblue-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/A6GibKm","download_url":"https://codeload.github.com/A6GibKm/silverblue-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/A6GibKm%2Fsilverblue-tools/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264375637,"owners_count":23598423,"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":["fedora","flatpak","ostree","silverblue","toolbox"],"created_at":"2024-10-12T08:12:23.131Z","updated_at":"2025-10-10T05:43:59.420Z","avatar_url":"https://github.com/A6GibKm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Silverblue tools\n\nA toolbox of scripts for [toolbox](https://github.com/containers/toolbox/),\n[Silverblue](https://silverblue.fedoraproject.org/), [flatpak](https://github.com/flatpak/flatpak), and [rpm-ostree](https://github.com/coreos/rpm-ostree).\n\nPython requirements are in `requirements.txt`\n\n``` sh\npip install -r requirements.txt\n```\n\n## toolbox-export\n\nExport application metadata outside of a toolbox container.\n\n#### Usage\n\n``` sh\n$ toolbox-export foo\ninstalled: ~/.local/share/applications/foo.desktop\ninstalled: ~/.local/share/icons/hicolor/32x32/apps/foo.png\ninstalled: ~/.local/share/icons/hicolor/64x64/apps/foo.png\ninstalled: ~/.local/share/icons/hicolor/128x128/apps/foo.png\ninstalled: ~/.local/share/icons/hicolor/scalable/apps/foo.svg\ninstalled: ~/.local/share/appdata/foo.appdata.xml\n```\nResults in correct desktop entries\n``` sh\n[Desktop Entry]\nName=foo\nExec=toolbox run foo %f\nTryExec=toolbox\nIcon=foo\nType=Application\nTerminal=false\nCategories=Foo;Bar\n```\n\n## flatpak-curl\n\nQuickly generate modules for your flatpak manifest.\n\n#### Usage\n\n``` sh\n$ flatpak-curl https://domain.org/foo-version.tar.gz\n{\n    \"name\": \"foo-version\",\n    \"buildsystem\": \"simple\",\n    \"build-commands\": [],\n    \"sources\": [\n        {\n            \"type\": \"archive\",\n            \"url\": \"https://domain.org/foo-version.tar.gz\",\n            \"sha256\": \"88d3b735e43f6f16a0181a8fec48847693fae80168d5f889fdbdeb962f1fc804\"\n        }\n    ]\n}\n```\n\n## flatpak-alias\n\nQuickly create alias for flatpak applications. Credits to\n[Barthalion](https://github.com/Barthalion) who presented this idea in\n[Shell aliases for Flatpak applications](https://barthalion.blog/shell-aliases-for-flatpak-applications/).\n\n#### Usage\n\n``` sh\n$ flatpak-alias\nAdd\n\nif [ -f \"${XDG_CACHE_HOME}\"/flatpak-aliases ] \u0026\u0026 ! [ \"$HOSTNAME\" == \"toolbox\" ] \u0026\u0026 [[ -z \"${FLATPAK_ID}\" ]]; then\n    . \"${XDG_CACHE_HOME}\"/flatpak-aliases\nfi\n\nto your ~/.bashrc file.\n```\n\n# Future ideas\n\n## TODO ostree-history\n\nList recent commits by date to facilitate rollbacks.\n\n``` sh\n$ ostree-history 4\nHistory of fedora:fedora/32/x86_64/silverblue:\nJul 2 f0df14c641d2090b69f4860aa312a9098d9e5eb6a3c8f1d37327fd62293d916b\nJul 3 7402ccb7488428235c332ce1eaf94d836737bdeccf57b98fa2757d53b1f87985\nJul 5 7402ccb7488428235c332ce1eaf94d836737bdeccf57b98fa2757d53b1f87985\nJul 11 6e670d9a4cb48d15c8e2a8ab64246a5051148981da417b970e15b57290c34d82\n```\nTo deploy: `$ rpm-ostree deploy COMMIT`, to compare `rpm-ostree db diff COMMIT`.\n\n## TODO ostree-copr\n\nEnable copr repos in silverblue. Requires root permissions.\n\n#### Usage\n\n``` sh\nostree-copr enable user/repository\n```\n\n``` sh\nostree-copr disable user/repository\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa6gibkm%2Fsilverblue-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa6gibkm%2Fsilverblue-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa6gibkm%2Fsilverblue-tools/lists"}