onionshare/desktop
Hosted Weblate baddc6c270
Translated using Weblate (German)
Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (23 of 23 strings)

Translated using Weblate (German)

Currently translated at 96.2% (26 of 27 strings)

Translated using Weblate (German)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (German)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (30 of 30 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (30 of 30 strings)

Translated using Weblate (Swedish)

Currently translated at 11.7% (2 of 17 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (German)

Currently translated at 77.5% (45 of 58 strings)

Translated using Weblate (French)

Currently translated at 3.2% (1 of 31 strings)

Translated using Weblate (French)

Currently translated at 5.8% (1 of 17 strings)

Translated using Weblate (Swedish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/sv/

Translated using Weblate (Polish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pl/

Translated using Weblate (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_BR/

Translated using Weblate (Portuguese (Brazil))

Currently translated at 73.9% (17 of 23 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (23 of 23 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (7 of 7 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (7 of 7 strings)

Translated using Weblate (Irish)

Currently translated at 50.0% (1 of 2 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (8 of 8 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (8 of 8 strings)

Translated using Weblate (Irish)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 66.6% (20 of 30 strings)

Translated using Weblate (Polish)

Currently translated at 16.6% (5 of 30 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 88.2% (15 of 17 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 29.0% (9 of 31 strings)

Translated using Weblate (Polish)

Currently translated at 29.0% (9 of 31 strings)

Translated using Weblate (French)

Currently translated at 14.2% (1 of 7 strings)

Translated using Weblate (French)

Currently translated at 30.0% (6 of 20 strings)

Translated using Weblate (Spanish)

Currently translated at 79.3% (46 of 58 strings)

Translated using Weblate (Spanish)

Currently translated at 79.3% (46 of 58 strings)

Translated using Weblate (Arabic)

Currently translated at 71.4% (5 of 7 strings)

Translated using Weblate (Arabic)

Currently translated at 25.8% (8 of 31 strings)

Translated using Weblate (Spanish)

Currently translated at 75.0% (21 of 28 strings)

Translated using Weblate (Afrikaans)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/af/

Translated using Weblate (Hindi)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/hi/

Translated using Weblate (Polish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pl/

Translated using Weblate (Polish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pl/

Translated using Weblate (Arabic)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ar/

Translated using Weblate (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_BR/

Translated using Weblate (Irish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/ga/

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Translated using Weblate (Czech)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/cs/

Translated using Weblate (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pt_BR/

Added translation using Weblate (English (Middle))

Translated using Weblate (Polish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pl/

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Translated using Weblate (Spanish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/es/

Co-authored-by: 5IGI0 <5IGI0@protonmail.com>
Co-authored-by: Anderson Fraga <aaa_lab@naver.com>
Co-authored-by: Atrate <Atrate@protonmail.com>
Co-authored-by: ButterflyOfFire <ButterflyOfFire@protonmail.com>
Co-authored-by: Duncan Dean <duncangleeddean@gmail.com>
Co-authored-by: EdwardCage <contact@edwardcage.pro>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Kevin Scannell <kscanne@gmail.com>
Co-authored-by: Mauricio <s01@duck.com>
Co-authored-by: Michael Breidenbach <leahc@tutanota.com>
Co-authored-by: Rafał Godek <p3run@tutanota.com>
Co-authored-by: Raul <rgarciag@tutanota.com>
Co-authored-by: Robert Obryk <robryk@gmail.com>
Co-authored-by: Santiago Passafiume <santiagopassafiume@protonmail.com>
Co-authored-by: Shivam Soni <shivamsoni.soni3@gmail.com>
Co-authored-by: Three Deus <threedeus@protonmail.com>
Co-authored-by: carlosm2 <carlosm2@riseup.net>
Co-authored-by: register718 <register2021@outlook.de>
Co-authored-by: souovan <souovan@protonmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/es/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/sv/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/ar/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/es/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-features/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/ar/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-help/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/ga/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/sv/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/de/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/ga/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/sv/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pt_BR/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Develop
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Index
Translation: OnionShare/Doc - Install
Translation: OnionShare/Doc - Security
Translation: OnionShare/Doc - Sphinx
Translation: OnionShare/Doc - Tor
2021-09-19 20:10:25 +02:00
..
package Fix Windows and Mac build scripts 2021-05-05 20:39:14 -07:00
screenshots Add onionshare CLI to cli folder, move GUI to desktop folder, and start refactoring it to work with briefcase 2020-10-12 22:40:55 -07:00
scripts Fetch tor binaries from Tor Browser 11.0a5 2021-09-10 12:41:48 -07:00
src Translated using Weblate (German) 2021-09-19 20:10:25 +02:00
tests Merge pull request #1406 from SaptakS/fix-filelisting 2021-09-09 16:52:25 -07:00
pyproject.toml Change version to 2.4.dev1, to make a dev release 2021-09-10 13:38:00 -07:00
README.md Change github URLs from micahflee/onionshare to onionshare/onionshare 2021-08-20 13:34:55 -07:00

OnionShare Desktop

Building OnionShare

Start by getting the source code and changing to the desktop folder:

git clone https://github.com/onionshare/onionshare.git
cd onionshare/desktop

Install platform-specific dependencies

Linux

If you're using Linux, install tor and obfs4proxy from either the official Debian repository, or from your package manager.

In Ubuntu 20.04 you also need the libxcb-xinerama0 package installed.

macOS

Download and install Python 3.8.6 from https://www.python.org/downloads/release/python-386/. I downloaded python-3.8.6-macosx10.9.pkg. (You may need to also run /Applications/Python\ 3.8/Install\ Certificates.command.)

Install python dependencies:

pip3 install --user poetry requests

Download Tor Browser and extract the binaries:

./scripts/get-tor-osx.py

Windows

These instructions include adding folders to the path in Windows. To do this, go to Start and type "advanced system settings", and open "View advanced system settings" in the Control Panel. Click Environment Variables. Under "System variables" double-click on Path. From there you can add and remove folders that are available in the PATH.

Download Python 3.8.6, 32-bit (x86) from https://www.python.org/downloads/release/python-386/. I downloaded python-3.8.6.exe. When installing it, make sure to check the "Add Python 3.8 to PATH" checkbox on the first page of the installer.

Download and install 7-Zip from http://www.7-zip.org/download.html. I downloaded 7z1900.exe. Add C:\Program Files (x86)\7-Zip to your path.

Install python dependencies:

pip install poetry requests

Download Tor Browser and extract the binaries:

python scripts\get-tor-windows.py

Prepare the virtual environment

OnionShare uses Briefcase.

Install Briefcase dependencies by following these instructions.

Now create and/or activate a virtual environment.

  • Linux and macOS
    python3 -m venv venv
    . venv/bin/activate
    
  • Windows
    python -m venv venv
    venv\Scripts\activate.bat
    

While your virtual environment is active, install briefcase from pip.

pip install briefcase

In order to work with the desktop app, you'll need to build a wheel of the CLI package first, and copy it into the desktop folder. You'll need to re-run this script each time you change the CLI code.

python scripts/rebuild-cli.py

Running OnionShare from the source code tree

Inside the virtual environment, run OnionShare like this to install all of the dependencies:

briefcase dev -d

Once you have the dependencies installed, you can run it using the dev.sh script, which lets you use command line arguments, such as to --verbose or --local-only:

./scripts/dev.sh --help
./scripts/dev.sh -v
./scripts/dev.sh -v --local-only

Windows uses scripts\dev.bat instead.

Running tests

Install these packages inside your virtual environment:

pip install pytest pytest-briefcase pytest-faulthandler pytest-qt

Then run the tests:

./tests/run.sh

If you want to run tests while hiding the GUI, you must have the xvfb package installed, and then:

xvfb-run ./tests/run.sh