GithubHelp home page GithubHelp logo

wdbm / mobile-wormhole Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pavelsof/mobile-wormhole

0.0 1.0 0.0 148 KB

mobile client for the magic wormhole protocol

License: GNU General Public License v3.0

Python 100.00%

mobile-wormhole's Introduction

wormhole

This is a work-in-progress mobile client for the magic wormhole protocol. What already works:

  • Sending files. The app can obtain a code, exchange keys with the other party, allow the user to pick a file to send down the wormhole, and then actually transfer the file.
  • Receiving files. The user can enter a code, view a file offer to confirm or reject, and indeed receive a file. This will be saved in the downloads directory.
  • Handling of Android's ACTION_SEND intent. The user can share a file via the app, essentially pre-selecting the file in the send screen.

Download from Google Play

setup

In order to leverage the original magic wormhole package and also because I was curious whether it will even work, the code is written in Python using Kivy and friends.

# create a virtual environment
# both 3.6 and 3.7 should do, have not tried 3.8 yet
python3 -m venv venv
source venv/bin/activate

# install the dependencies
# pip-sync is also fine
pip install -r requirements.txt

# run the (too) few unit tests
pytest tests

# run locally
python src/main.py

# run on an android phone
buildozer android debug deploy run logcat

If you also feel adventurous about mobile apps in Python.. pull requests are welcome :)

licence

GPL. You can do what you want with this code as long as you let others do the same.

mobile-wormhole's People

Contributors

pavelsof avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.