{"id":14992385,"url":"https://github.com/project-robius/makepad_wechat","last_synced_at":"2025-09-25T14:31:10.966Z","repository":{"id":182563220,"uuid":"668448311","full_name":"project-robius/makepad_wechat","owner":"project-robius","description":"WeChat-like application implemented with Makepad","archived":false,"fork":false,"pushed_at":"2024-08-01T08:17:35.000Z","size":21359,"stargazers_count":21,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-11-08T23:03:11.750Z","etag":null,"topics":["makepad","wasm"],"latest_commit_sha":null,"homepage":"https://wasm.robius.rs/makepad_wechat","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/project-robius.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":"2023-07-19T20:44:08.000Z","updated_at":"2024-10-08T09:19:15.000Z","dependencies_parsed_at":"2023-12-12T22:24:25.903Z","dependency_job_id":"dbea8efe-4a0d-4871-8c9a-dbbb58286192","html_url":"https://github.com/project-robius/makepad_wechat","commit_stats":null,"previous_names":["mobilerust/makepad_wechat","project-robius/makepad_wechat"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-robius%2Fmakepad_wechat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-robius%2Fmakepad_wechat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-robius%2Fmakepad_wechat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/project-robius%2Fmakepad_wechat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/project-robius","download_url":"https://codeload.github.com/project-robius/makepad_wechat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234200177,"owners_count":18795139,"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":["makepad","wasm"],"created_at":"2024-09-24T15:00:58.930Z","updated_at":"2025-09-25T14:31:09.268Z","avatar_url":"https://github.com/project-robius.png","language":"Rust","funding_links":[],"categories":["GUI"],"sub_categories":[],"readme":"# makepad_wechat\n\nWeChat-like application implemented with Makepad\n\n* currently it is mostly UI screens\n* actual business logic is not implemented\n\n## Build Instructions\n\n## 1. Setup Makepad\n\n### Clone the Makepad repository\n\n```bash\ncd ~\ngit clone git@github.com:makepad/makepad.git\n```\n\n### Change to latest 'rik' branch\n\n```bash\ngit branch rik\n```\n\n### Install makepad subcommand for cargo\n\n```bash\ncargo install --path ~/makepad/tools/cargo_makepad\n```\n\n## 2. Get Project\n\n### Clone the makepad_wechat repo\n\n```bash\ngit clone https://github.com/project-robius/makepad_wechat\n```\n\n## 3. Android Build\n\n### Install Android toolchain (First time)\n\n```bash\nrustup toolchain install nightly\ncargo makepad android install-toolchain\n```\n\n### Install app on Android devivce or Android emulator\n\nOpen either the Android emulator or connect to a real Android device\nuse `adb` command to make sure there's a device connected properly\n\n```bash\ncd ~/makepad_wechat\ncargo makepad android run -p makepad_wechat --release\n```\n\n## 4. iOS Setup \u0026 Install\n\n### Install IOS toolchain (First time)\n\n```bash\nrustup toolchain install nightly\ncargo makepad apple ios install-toolchain\n```\n\n### Install app on Apple devivce or iOS simulator\n\n### iOS Setup\n\nFor iOS, the process is slightly more complicated. The steps involved are:\n\n1. Enable your iPhone's Developer Mode, please see instructions here: [Enable Developer Mode](https://www.delasign.com/blog/how-to-turn-on-developer-mode-on-an-iphone/)\n1. Setup an Apple Developer account\n1. Setup an empty skeleton project in XCode\n    1. File -\u003e New -\u003e Project to create a new \"App\"\n    1. Set the Product Name as **`wechat`**  (used in --org later)\n    1. Set the Organization Identifier to a value of your choice, for this example we will use **`rs.robius`**. (used in --app later)\n    1. Setup the Project Signing \u0026 Capabilities to select the proper team account\n1. In XCode, Build/Run this project to install and run the app on the simulator and device\n1. Once the simulator and device has the \"skeleton\" app installed and running properly, then it is ready for Makepad to install its application.\n\n### Makepad Install\n\nWe will run the `cargo makepad apple ios` command, similar to Android build above, but there are some 2 to 6 additional parameters that need to be filled in:\n\n`--org`\n\nFirst few parts of the organization identifier (which makes up the Bundle Identifier). Usually in the form of **com.somecompany** or **org.someorg**\nThis is the same value used to setup the initial skeleton app above. For this example:\n\u003e `rs.robius`\n\n`--app`\n\nThe name of the application or the project. This is the same as the Product Name used to setup the initial skeleton app above. In this case:\n\u003e `wechat`\n\n### Install app on IOS simulator\n\n```bash\ncd ~/makepad_wechat\ncargo makepad apple ios \\\n  --org=rs.robius \\\n  --app=wechat \\\n  run-sim -p makepad_wechat --release\n```\n\n### Install app on IOS device\n\nFirst run the following command:\n\n```bash\ncargo makepad apple list\n```\n\nThis command will print out the list of all provisioning profiles, signing identities, and device identifiers on the current system. The user has to decide and choose the ones that he/she needs to use for each type. (If you get an error from the command, please follow the iOS Setup instructions above first.)\n\nOnce decided, run the folloiwng command and fill in the **unique starting characters** chosen from the output.\n\n```bash\ncd ~/makepad_wechat\ncargo makepad apple ios \\\n  --profile=unique-starting-hex-string \\\n  --cert=UNIQUE_STARTING_HEX_STRING \\\n  --device=UNIQUE-STARTING-HEX-STRING \\\n  --org=rs.robius \\\n  --app=makepad_wechat \\\n  run-device -p makepad_wechat –release\n```\n\n## 5. WASM Build\n\nRunning the Makepad application as a WASM build is as simple as a single command. The script will automatically generate the necessary index.html and other files and also start a local webserver at port 8010.\n\n### Demo\n\n\u003chttps://wasm.robius.rs/makepad_wechat\u003e\n\n### Install WASM toolchain (First time)\n\n```bash\ncargo makepad wasm install-toolchain\n```\n\n### Install app as WASM binary for browsers\n\n```bash\ncargo makepad wasm run -p makepad_wechat --release\n```\n\nAfter running the command below, just open your browser to \u003chttp://127.0.0.1:8010/\u003e in order for the app to load and run.\n\n## 6. MacOS / PC\n\nAlthough it is a mobile app, Makepad cross-platform means you may run it on desktops if you wish.\n\n```bash\ncd ~/makepad_wechat\ncargo run\n```\n\nor\n\n```bash\ncd ~/makepad_wechat\ncargo run -p makepad_wechat --release\n```\n\nAnd there should be a desktop application window now running (may need to click on the icon on MacOS's Dock to show it)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-robius%2Fmakepad_wechat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fproject-robius%2Fmakepad_wechat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fproject-robius%2Fmakepad_wechat/lists"}