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.
|
2 weeks ago | |
---|---|---|
alog | 1 month ago | |
android | 3 weeks ago | |
assets | 2 weeks ago | |
cmd | 3 weeks ago | |
internal | 4 weeks ago | |
ios/saltychat | 4 weeks ago | |
notify | 3 weeks ago | |
service | 3 weeks ago | |
ui | 2 weeks ago | |
web | 4 weeks ago | |
.gitignore | 4 weeks ago | |
LICENSE | 1 month ago | |
Makefile | 3 weeks ago | |
README.md | 3 weeks ago | |
go.mod | 3 weeks ago | |
go.sum | 3 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
Install appify
with:
go install github.com/machinebox/appify@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
The following command will generate SaltChat.aar inside android's libs directory
gogio -buildmode archive -appid salty.im.saltychat -o ./android/app/libs/SaltyChat.aar -version 1 -target android ./cmd/salty-chat
You then need to open android folder with
Android Studio IDE
and the IDE will help you out.
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