Deprecated QT-based UI for Cwtch: For the new Flutter UI go to: https://git.openprivacy.ca/cwtch.im/cwtch-ui https://cwtch.im
This repository has been archived on 2021-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
Přejít na soubor
Dan Ballard 7b350d4c54 Merge branch 'alpha-updates' of cwtch.im/ui into master 2019-03-04 22:20:30 +00:00
android merge 2019-02-13 18:53:36 -08:00
go Fix server init bug 2019-03-04 14:05:03 -08:00
linux use bundled tor code for desktop, updated bundled tor to 0.3.5.7. update android readme 2019-02-14 10:57:44 -08:00
qml Fix server init bug 2019-03-04 14:05:03 -08:00
windows/tor-0.3.5.7 win tor files 2019-03-02 16:37:00 -08:00
.drone.yml drone restict when builds 2019-03-04 14:00:40 -08:00
.gitignore win tor files 2019-03-02 16:37:00 -08:00
LICENSE Add 'LICENSE' 2019-02-14 07:08:02 +00:00
README.md updating windows instructions 2019-02-22 11:54:48 -08:00
main.go Fix server init bug 2019-03-04 14:05:03 -08:00

README.md

Cwtch - UI

This codebase provides a graphical user interface for Desktop and Android for Cwtch: Privacy Preserving Infrastructure for Asynchronous, Decentralized and Metadata Resistant Applications

Security

Cwtch is an experimental concept and prototype. We do not recommend you use Cwtch today if you require secure communication. At least, not yet.

If you discover a security issue, please log an issue above, or email team@cwtch.im.

Compiling & Running

This code relies on therecipe/qt before getting started consult the Installation and Getting Started documentation to get that up and running. It will make building this much easier.

Desktop

qtdeploy build desktop
./deploy/linux/ui.sh -local -debug 2>&1 | grep -v 'Detected anchors on an item that is managed by a layout.'

The -local and -debug flags are helpful when developing.

Android

We supply an arm-pie version of tor in android/libs/armeabi-v7a with the name libtor.so

qtdeploy -docker build android
adb install deploy/android/build-debug.apk

Windows

  • Download and install QT Open Source edition
  • Go to My Computer - Right Click on This PC - Advanced System Settings - Environment Variables
    • New - QT_DIR = C:\Qt (or wherever you have it installed)
    • New - QT_VERSION = 5.12.1 (because I picked 5.12.1)
    • Edit the Path Variable and Add C:\Qt\Tools\mingw530_32\bin
  • Install MSYS2 (Bash shell for windows)
  • Install Go and make sure it's in the PATH, and add your GOPATH/bin to the PATH
  • Setup therecipe/qt (instructions https://github.com/therecipe/qt/wiki/Installation-on-Windows)
    • go get -u -v github.com/therecipe/qt/cmd/...
    • qtsetup (Can take around an hour?)

If all that is done, then check out cwtch.im/ui and run qtdeploy in the root of it.

Currently you will need to manually run tor first before running cwtch.im/ui. Use the included tor and torrc file: tor -f torrc