Coder Social home page Coder Social logo

kivy-live-ui's Introduction

Kivy-Live-Ui

Kivy-Live-UI helps you code on your Computer system and see result instantly on your android phone without recompiling, It makes use of kaki and watchdog project to detect a file modification and then transmits the changes through python socket to the server and then the server broadcast it to all Ui devices connected to it and all client code updaters too.

Client Updaters(Kivy-Live-Client) is the package in charge of transmitting update to the server

Kivy-Live-Server is the package in charge of broadcating the update transmitted by Kivy-Live-Client to all connected devices

Kivy-Live is the Android apk or package that displays the UI

Note : During the compilation of Kivy-Live to apk I used buildozer and after the first build, I change line 791 of .buildozer/android/platform/build-armeabi-v7a/dists/kivylive__armeabi-v7a/build.py from

ap.add_argument('--no-compile-pyo', dest='no_compile_pyo', action='store_true', help='Do not optimise .py files to .pyo.')

to

ap.add_argument('--no-compile-pyo', dest='no_compile_pyo', action='store_false', help='Do not optimise .py files to .pyo.')

(the change there is in action='store_*****')

this makes the python codes not to be compiled because the KivyLive app needs to be writing to those file so a to trigger the update event

How to Use

Download and install the apk, start the server(KivyLiveServer)(make sure watchdog is installed), connect the android phone the server by providing the server ip in the text field provided(in case you want to compile yours and add extra requirements, do not add kaki because I mad a few changes and bundled it with the app), finally start the KivyLiveClient and point it to the directory that you want to listen update from e.g python3 main.py /home/test/my_project/.

During the 1st connection of the Client Updater(KivyLiveClient) the server will send it the latest update of the code and those codes will be stored in the same directory with the Client Updater

Todo List


  • create a class.json file that can be visible to CLASSES variable in main.py file
  • allow integration with personal project
  • allow shipping of compiled recipes or requirement (like ffmpeg) over the network
  • create a comprehensive tutorial on Kivy Live

kivylive kivy live ui

kivy-live-ui's People

Contributors

kengoon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  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.