{"id":30060867,"url":"https://github.com/mufeedali/flatplay","last_synced_at":"2025-08-08T01:47:42.336Z","repository":{"id":306456626,"uuid":"1025794663","full_name":"mufeedali/flatplay","owner":"mufeedali","description":"Simple CLI tool to build and run Flatpak applications.","archived":false,"fork":false,"pushed_at":"2025-08-02T07:44:29.000Z","size":50,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T09:58:47.746Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","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/mufeedali.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,"zenodo":null}},"created_at":"2025-07-24T20:12:57.000Z","updated_at":"2025-08-02T07:43:47.000Z","dependencies_parsed_at":"2025-07-25T22:41:05.089Z","dependency_job_id":null,"html_url":"https://github.com/mufeedali/flatplay","commit_stats":null,"previous_names":["mufeedali/flatplay"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/mufeedali/flatplay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedali%2Fflatplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedali%2Fflatplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedali%2Fflatplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedali%2Fflatplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mufeedali","download_url":"https://codeload.github.com/mufeedali/flatplay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mufeedali%2Fflatplay/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269351880,"owners_count":24402674,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-08-08T01:47:37.540Z","updated_at":"2025-08-08T01:47:42.296Z","avatar_url":"https://github.com/mufeedali.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flatplay\n\nFlatplay is a simple CLI tool to build and run Flatpak applications. It's designed to be easy to integrate into your workflows with editors like Zed or neovim.\n\nNote that this is a **work in progress** and you might encounter issues along the way.\n\n## External Dependencies\n\nFlatplay relies on the following external commands to be available on your system:\n\n- `git`\n- `gdbus`\n- `flatpak`\n- `flatpak-builder`\n\n## Installation \u0026 Usage\n\n```bash\n# Install flatplay using cargo\ncargo install flatplay\n# or if you want to install the latest version from git:\n# cargo install --git https://github.com/mufeedali/flatplay/\n\n# Optionally, enable completions (replace 'fish' with your shell)\nflatplay completions fish \u003e ~/.config/fish/completions/flatplay.fish\n\n# Run the help command to see available features.\nflatplay --help\n\n# cd into a project directory\n# then simply run:\nflatplay\n\n# This will attempt to build and run the project.\n```\n\n## Integrate into editors\n\n### Zed\n\nTo integrate flatplay in Zed you can define custom tasks and key bindings.\n\nAdd the following tasks to your `tasks.json` file (you can open it with the `zed: open tasks` action):\n\n```json\n{\n  \"label\": \"build \u0026 run flatpak\",\n  \"command\": \"flatplay build-and-run\"\n},\n{\n  \"label\": \"build flatpak\",\n  \"command\": \"flatplay build\"\n},\n{\n  \"label\": \"run flatpak\",\n  \"command\": \"flatplay run\"\n},\n{\n  \"label\": \"stop flatpak\",\n  \"command\": \"flatplay stop\"\n},\n{\n  \"label\": \"clean flatpak build\",\n  \"command\": \"flatplay clean\"\n},\n{\n  \"label\": \"update flatpak dependencies\",\n  \"command\": \"flatplay update-dependencies\"\n},\n{\n  \"label\": \"export flatpak bundle\",\n  \"command\": \"flatplay export-bundle\"\n},\n{\n  \"label\": \"select flatpak manifest\",\n  \"command\": \"flatplay select-manifest\"\n}\n```\n\nNext, add new bindings to your `keymaps.json` file (you can open it with the `zed: open keymap` action):\n\n```json\n{\n  \"context\": \"Workspace\",\n  \"bindings\": {\n    \"ctrl-alt-b\": [\"task::Spawn\", { \"task_name\": \"build \u0026 run flatpak\" }],\n    \"ctrl-alt-r\": [\"task::Spawn\", { \"task_name\": \"run flatpak\" }],\n    \"ctrl-alt-c\": [\"task::Spawn\", { \"task_name\": \"stop flatpak\" }]\n  }\n},\n```\n\nThen you can run any of the tasks by pressing `Alt-Shift-T`, or use `Ctrl-Alt-B`, `Ctrl-Alt-R` or `Ctrl-Alt-C` to build \u0026 run, run or stop flatpaks.\n\n# Some notes\n\n- A lot of the logic is borrowed from [`flatpak-vscode`](https://github.com/bilelmoussaoui/flatpak-vscode).\n- There will be bugs and missing features. Please report them, or better yet, send a PR.\n- I'm not a Rust programmer.\n- I hope to improve it over time and I hope Bilal forgives me for the sins I've committed here.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmufeedali%2Fflatplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmufeedali%2Fflatplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmufeedali%2Fflatplay/lists"}