{"id":18995430,"url":"https://github.com/shiritai/xc-tauri-rasp","last_synced_at":"2025-04-22T13:11:11.834Z","repository":{"id":240816205,"uuid":"803535148","full_name":"Shiritai/xc-tauri-rasp","owner":"Shiritai","description":"Out-of-the-box tool that cross compiles a rust tauri project for raspberry pi target.","archived":false,"fork":false,"pushed_at":"2025-04-16T08:30:43.000Z","size":27,"stargazers_count":13,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-16T11:10:53.359Z","etag":null,"topics":["cross-compile","raspberry-pi","rust","tauri"],"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/Shiritai.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":"2024-05-20T23:03:08.000Z","updated_at":"2025-04-16T08:30:47.000Z","dependencies_parsed_at":"2024-11-08T17:43:16.238Z","dependency_job_id":null,"html_url":"https://github.com/Shiritai/xc-tauri-rasp","commit_stats":null,"previous_names":["shiritai/xc-tauri-rasp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shiritai%2Fxc-tauri-rasp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shiritai%2Fxc-tauri-rasp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shiritai%2Fxc-tauri-rasp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shiritai%2Fxc-tauri-rasp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shiritai","download_url":"https://codeload.github.com/Shiritai/xc-tauri-rasp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250246727,"owners_count":21398919,"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":["cross-compile","raspberry-pi","rust","tauri"],"created_at":"2024-11-08T17:30:32.057Z","updated_at":"2025-04-22T13:11:11.808Z","avatar_url":"https://github.com/Shiritai.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust Tauri ❤️ Raspberry Pi\n\nOut-of-the-box tool that cross compile a rust tauri project for raspberry pi target.\n\n## Usage\n\nOne can run `xcompile.sh -h` and see:\n\n```bash\nCross compile a rust tauri application to debian package for raspberry pi (armhf/arm64).\n\nSyntax: ./xcompile.sh [-c|h] [-e|n|p|t|a ARG]\n\nOption:\n  -e \u003cDEBIAN_VERSION\u003e\n          to set debian version of compilation environment\n          available versions are bookworm (debian 12, default) and bullseye (debian 11)\n  -n \u003cPROJECT_NAME\u003e\n          to set compilation target project\n          default value is project\n  -p \u003cPROJECT_PATH\u003e\n          to set path of compilation target project\n          default value is ./project\n  -a \u003cRASP_ARCH\u003e\n          to set architecture of raspberry pi\n          default value: arm64\n  -t \u003cTARGET_PATH\u003e\n          to set path of compilation target path\n          default value is .\n  -c      clean up all compilation targets before cross compile\n          default not to clean up\n  -h      show the help message\n```\n\n## Example\n\nSituation:\n\n* Project name: `my_project`\n* Project path: `/path/to/my_project`\n* Raspberry pi architecture: `arm64` (ARMv8), e.g. Raspberry pi 4b\n* Base of Raspberry Pi OS, a.k.a. debian version: `bookworm` (debian 12)\n* Path to get compilation result: `..` (parent directory of shell)\n\nOne can cross compile a tauri app by running:\n\n```bash\n./xcompile.sh -e bookworm -n my_project -p /path/to/my_project -a arm64 -t ..\n```\n\n## Prerequisite\n\n* `docker` installed and `dockerd` is running\n\n## Tested environment\n\n|status|hardware|os|\n|:-:|:-:|:-:|\n|✅|Raspberry Pi 4 Model B|Raspberry Pi OS - Debian 11 (bullseye) aarch64|\n|✅|Raspberry Pi Zero 2 w|Raspberry Pi OS Lite - Debian 12 (bookworm) aarch64|\n\n## Contribute\n\nWe welcome any kinds of contribution, feel free to post issues and pull requests :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiritai%2Fxc-tauri-rasp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiritai%2Fxc-tauri-rasp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiritai%2Fxc-tauri-rasp/lists"}