forked from saltyim/app
Cross-platform (Desktop, Mobile, Web) native app built with the GIOUI (https://gioui.org/) toolkit.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 weeks ago | |
---|---|---|
alog | 1 month ago | |
assets | 4 weeks ago | |
cmd | 4 weeks ago | |
internal | 4 weeks ago | |
ios/saltychat | 4 weeks ago | |
service | 4 weeks ago | |
ui | 4 weeks ago | |
web | 4 weeks ago | |
.gitignore | 4 weeks ago | |
LICENSE | 1 month ago | |
Makefile | 3 weeks ago | |
README.md | 4 weeks ago | |
go.mod | 4 weeks ago | |
go.sum | 4 weeks ago | |
preflight.sh | 4 weeks ago | |
version.go | 4 weeks ago |
README.md
Salty UI
A cross-platform, decentralized, chat app based on SaltyIM for functionality and GioUI for UI
Supported Platform Status
- WebAssembly (Modern Browsers)
- Linux
- Windows
- macOS
- Android (Incomplete)
- iOS / tvOS (Incomplete)
Prerequisites
Before continuing, please make sure you satisfy prerequisites from the following:
Install gogio
with:
go install gioui.org/cmd/gogio@latest
- Android Studio for android development.
Install ideviceinstaller
on macOS via Homebrew:
brew install ideviceinstaller
Local Development (Desktop)
Run (from the terminal, inside the root directory of this project, where main.go file resides):
make dev
Android Debug Development
Run the following to generate apk:
gogio -target android -o salty.debug.apk ./cmd/salty-chat ./cmd/salty-chat/main.go
- The above will generate salty.debug.apk
You can then install apk to the emulator or real device using:
adb install salty.debug.apk
iOS App
Plug your iPhone in to your iMac via USB-C:
make ios
Web Server (PWA)
Run the following to build the Web assets into ./web
:
make server
Troubleshooting
Wasm
- Enable debugging in chrome https://developer.chrome.com/blog/wasm-debugging-2020/
Weird Issues
- Inside was