this is the main cwtch gui with the pretty interface
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.
 
 
 
 
 
erinn a43d148da8 Merge branch 'translate-en' of dan/ui into master пре 1 година
android merge пре 1 година
go Adding Basic Group Membership Pane пре 1 година
i18n Add english translations. change translatable strings to ids пре 1 година
linux use bundled tor code for desktop, updated bundled tor to 0.3.5.7. update android readme пре 1 година
qml Add english translations. change translatable strings to ids пре 1 година
windows/tor-0.3.5.7 win tor files пре 1 година
.drone.yml drone branch restrict master пре 1 година
.gitignore Adding Basic Group Membership Pane пре 1 година
LICENSE Add 'LICENSE' пре 1 година
README.md Add english translations. change translatable strings to ids пре 1 година
main.go adding i18n support пре 1 година
qml.qrc Add english translations. change translatable strings to ids пре 1 година
ui.pro adding i18n support пре 1 година

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

Development

Translations

Translations can be update by runing QT Linguist in the project directory (linguist) and loading and editing any of the i18n/translate_*.ts files. To add a new translation, please register the file in qml.qrc. To update translations, run lupdate ui.pro to update the editable .ts files and when you are done run lrelease ui.pro to generate the .qm files that are used at runtime.