{"id":13505534,"url":"https://github.com/valicm/appimage-bash","last_synced_at":"2025-04-13T02:33:09.471Z","repository":{"id":65162178,"uuid":"533532287","full_name":"valicm/appimage-bash","owner":"valicm","description":"GitHub Action for creating AppImage from .tar.gz packages","archived":false,"fork":false,"pushed_at":"2025-01-16T21:30:19.000Z","size":36,"stargazers_count":5,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T17:56:59.003Z","etag":null,"topics":["appimage","appimage-builder","appimages"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/valicm.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":"2022-09-06T23:21:43.000Z","updated_at":"2025-03-14T13:34:56.000Z","dependencies_parsed_at":"2024-11-07T18:06:30.560Z","dependency_job_id":"8eeb3295-faf6-4b08-8359-da2ed2ee14e9","html_url":"https://github.com/valicm/appimage-bash","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Fappimage-bash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Fappimage-bash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Fappimage-bash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/valicm%2Fappimage-bash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/valicm","download_url":"https://codeload.github.com/valicm/appimage-bash/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657831,"owners_count":21140842,"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":["appimage","appimage-builder","appimages"],"created_at":"2024-08-01T00:01:09.491Z","updated_at":"2025-04-13T02:33:09.464Z","avatar_url":"https://github.com/valicm.png","language":"Shell","funding_links":[],"categories":["AppImage developer tools"],"sub_categories":["Tools to convert from other package formats"],"readme":"# Description\n\nGitHub Action for creating AppImage releases from .tar.gz packages.\nIt generates AppImage file based on source .tar.gz under git tag _latest_.\n- only stable version releases\n- only build new release if the new version of source .tar.gz had been released\n\nThe GitHub repo needs to have app.desktop file in the root and GitHub action set.\nSee examples at:\n- https://github.com/valicm/Postman-AppImage\n- https://github.com/valicm/dbeaver-ce-appimage\n- https://github.com/valicm/VSCode-AppImage\n- https://github.com/valicm/PhpStorm-AppImage\n\nIt can be used as GitHub action, but bash script can be used as standalone outside of GitHub.\n\n# GitHub Action Usage\n\nSee [action.yml](action.yml)\n\n```yaml\n    steps:\n      - uses: actions/checkout@v2\n      - name: Build\n        id: build\n        uses: valicm/appimage-bash@v1.3\n        with:\n          version_url: 'https://dl.pstmn.io/download/latest/linux64'\n          version_file: 'app/resources/app/package.json'\n          version_bash: 'jq -r  .version'\n          version_icon: 'icon_128x128.png'\n```\n\n### Action Inputs\n- version_url -\u003e URL where the source .tar.gz can be downloaded\n- version_file -\u003e path to the file which contains version string of .tar.gz package\n- version_icon -\u003e name of the image file from original .tar.gz to be used as source icon\n- version_bash -\u003e bash code to search for version string inside _version_file_\n- version_directory -\u003e binary to be placed in different folder than default _usr/bin_\n- version_check -\u003e check if the version of source .tar.gz is different from the last GH release\n- version_only -\u003e executing only version check, no build performed\n\n# Standalone usage\n\nThe bash script can be used as standalone for building AppImage packages.\nIt relies on app.desktop file having specific properties from where you can define\ndownload url, icon, etc..\n\n### app.desktop properties:\n- VersionUrl\n- VersionFile\n- VersionIcon\n- VersionBash\n- VersionDirectory\n\nSpecification of these properties are same as of action inputs above.\n\n### Standalone usage\n\n#### Get build.sh\n`wget https://raw.githubusercontent.com/valicm/appimage-bash/main/build.sh`\n`chmod +x build.sh`\n#### Create app.desktop\n```desktop\n[Desktop Entry]\nVersion=1.0\nType=Application\nName=PhpStorm\nExec=phpstorm.sh %f\nIcon=Phpstorm\nComment=PhpStorm\nCategories=Development;IDE;\nTerminal=false\nStartupNotify=true\nStartupWMClass=jetbrains-phpstorm\n\nVersionUrl=https://data.services.jetbrains.com/products/download?code=PS\u0026platform=linux\nVersionFile=product-info.json\nVersionBash=jq -r  .version\nVersionIcon=phpstorm.svg\nVersionDirectory=opt/phpstorm\n\n```\n\n#### Execute\n`bash build.sh`\n\n# License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalicm%2Fappimage-bash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvalicm%2Fappimage-bash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvalicm%2Fappimage-bash/lists"}