onionshare/desktop
Hosted Weblate a80cd7f2a6
Translated using Weblate (Indonesian)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/id/

Added translation using Weblate (Indonesian)

Translated using Weblate (Polish)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (58 of 58 strings)

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

Translated using Weblate (Portuguese (Brazil))

Currently translated at 89.2% (25 of 28 strings)

Translated using Weblate (French)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (French)

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (French)

Currently translated at 100.0% (23 of 23 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 95.8% (23 of 24 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 3.3% (1 of 30 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.2% (57 of 58 strings)

Translated using Weblate (French)

Currently translated at 17.3% (4 of 23 strings)

Translated using Weblate (French)

Currently translated at 100.0% (17 of 17 strings)

Translated using Weblate (French)

Currently translated at 100.0% (30 of 30 strings)

Translated using Weblate (French)

Currently translated at 47.0% (8 of 17 strings)

Translated using Weblate (French)

Currently translated at 47.0% (8 of 17 strings)

Translated using Weblate (French)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (French)

Currently translated at 100.0% (7 of 7 strings)

Translated using Weblate (French)

Currently translated at 100.0% (20 of 20 strings)

Translated using Weblate (French)

Currently translated at 96.6% (29 of 30 strings)

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

Translated using Weblate (French)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Polish)

Currently translated at 87.9% (51 of 58 strings)

Translated using Weblate (French)

Currently translated at 96.7% (30 of 31 strings)

Translated using Weblate (French)

Currently translated at 13.0% (3 of 23 strings)

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

Translated using Weblate (Polish)

Currently translated at 75.8% (44 of 58 strings)

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

Translated using Weblate (Polish)

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Polish)

Currently translated at 70.6% (41 of 58 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Polish)

Currently translated at 67.8% (19 of 28 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Polish)

Currently translated at 90.9% (10 of 11 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (11 of 11 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (27 of 27 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (9 of 9 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Greek)

Currently translated at 100.0% (58 of 58 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (58 of 58 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (27 of 27 strings)

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

Translated using Weblate (Spanish)

Currently translated at 98.2% (57 of 58 strings)

Translated using Weblate (Spanish)

Currently translated at 98.2% (57 of 58 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (24 of 24 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (28 of 28 strings)

Translated using Weblate (Polish)

Currently translated at 88.8% (24 of 27 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (31 of 31 strings)

Translated using Weblate (Spanish)

Currently translated at 81.0% (47 of 58 strings)

Co-authored-by: AO Localisation Lab <ao@localizationlab.org>
Co-authored-by: EdwardCage <contact@edwardcage.pro>
Co-authored-by: Gabriel Cardoso <g.cardoso@mailfence.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Ihor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: Rafał Godek <p3run@tutanota.com>
Co-authored-by: Raul <rgarciag@tutanota.com>
Co-authored-by: Username1234567890 <danarauz@protonmail.com>
Co-authored-by: Yukik4ze <hikarukireina@gmail.com>
Co-authored-by: Zuhualime Akoochimoya <zakooch@protonmail.ch>
Co-authored-by: aezjrareareare <jeromechaland@riseup.net>
Co-authored-by: carlosm2 <carlosm2@riseup.net>
Co-authored-by: george kitsoukakis <norhorn@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/el/
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-develop/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/es/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/fr/
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/el/
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/el/
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-install/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/es/
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-install/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/uk/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/el/
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-tor/el/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/fr/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pt_BR/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-tor/pt_PT/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Develop
Translation: OnionShare/Doc - Features
Translation: OnionShare/Doc - Help
Translation: OnionShare/Doc - Install
Translation: OnionShare/Doc - Security
Translation: OnionShare/Doc - Tor
2021-11-11 14:31:22 +01: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 Change all version to 2.4, update languages, rebuild docs, update tor from Tor Browser 2021-09-26 11:41:01 -07:00
src Translated using Weblate (Indonesian) 2021-11-11 14:31:22 +01:00
tests Merge pull request #1406 from SaptakS/fix-filelisting 2021-09-09 16:52:25 -07:00
pyproject.toml Change all version to 2.4, update languages, rebuild docs, update tor from Tor Browser 2021-09-26 11:41:01 -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