43 lines
1.6 KiB
Markdown
43 lines
1.6 KiB
Markdown
**NOTE: This is a vibe-ported HARD FORK of the cinny-desktop repo and iOS support is untested. Have fun.**
|
||
|
||
---
|
||
|
||
# Cinny Mobile
|
||
|
||
Cinny is a Matrix client focused on a simple, elegant, and secure interface. This fork ports the Tauri host from desktop packaging to Tauri’s Android and iOS targets while keeping the upstream Cinny web app as the frontend.
|
||
|
||
|
||
## Project Layout
|
||
|
||
- `cinny/`: upstream web client, included as a git submodule
|
||
- `src-tauri/`: Tauri mobile host, capabilities, and native project scaffolding
|
||
|
||
## Local Development
|
||
|
||
Follow the official [Tauri prerequisites](https://v2.tauri.app/start/prerequisites/) first. For phone targets, also install the Android and iOS toolchains described there.
|
||
|
||
Then install dependencies:
|
||
|
||
- `git clone --recursive https://git.czchan.org/sneedmaster/cinny-mobile.git`
|
||
- `cd cinny-desktop/cinny`
|
||
- `npm ci`
|
||
- `cd ..`
|
||
- `npm ci`
|
||
|
||
## Mobile Commands
|
||
|
||
- `npm run android:init`
|
||
- `npm run android:dev`
|
||
- `npm run android:build`
|
||
- `npm run ios:init`
|
||
- `npm run ios:dev`
|
||
- `npm run ios:build`
|
||
|
||
`npm run tauri dev` is still useful for validating the shared Tauri host on the current machine before deploying to a handset or simulator.
|
||
|
||
## Notes
|
||
|
||
- The Tauri entrypoint lives in src-tauri/src/lib.rs and is shared by desktop dev runs plus Android and iOS builds.
|
||
- Production assets are served through `tauri-plugin-localhost` so the wrapped web app can continue using its existing browser-oriented runtime behavior.
|
||
- Android scaffolding has been regenerated in this workspace. iOS setup is intentionally deferred for now and still requires the usual Apple-side tooling plus a valid development team for signed runs.
|