Kodular Starter + Companion on Linux

companion
starter
linux

(Kanishka Chakraborty) #1

What is Kodular Starter?

Kodular Starter is a program that creates a server on your machine that is used by the Companion to transfer data (e.g. blocks) between the Creator and your test device.

You can check Kodular Starter status here.

What is Kodular Companion?

Kodular Companion is an app to test changes in your Kodular App Project, in real time. It can be highly valuable for prototyping, especially while building user interfaces. The app can connect to the Creator (TEST > Companion) once the Starter is running.
Note: All features might not work equally well on the Companion. It is advisable to compile an APK (EXPORT > Generate QR code for app or EXPORT > Save .apk to my computer) for thorough testing. Some components only work on compiled APKs, while some work differently for the Companion or the APK.

The Companion can be installed on Android devices from here.


How to use the Companion with the Creator running on a Linux host?

Prerequisites: To make the Companion work with a Linux host, you’ll be needing the following packages:

  • python3
  • python3-bottle
  • git

Process: In this guide we’ll be storing the Starter in ~/Kodular/, but any folder will do.

  1. $ mkdir -p ~/Kodular/
  2. $ cd ~/Kodular/
  3. $ git clone https://github.com/Kodular/Starter.git
  4. $ cd ~/Kodular/Starter/
  5. $ python3 linux.py

That’s it! You can now use the Kodular Companion for real-time testing. :smile:

Guide Test Details

Kodular Creator Version: 1.3.0
Kodular Companion Version: 1.3 Draco
Creator Host OS: Kubuntu 18.10 64-bit; Linux Kernel 4.18.0-13-generic
Companion Host OS: Android 9; Linux Kernel 3.10.108


Makeroid Starter v1.0 for Windows
Makeroid Starter v1.0 for Windows
#2

Thanks @Kanishka_Developer. I used your guide:

Kodular Creator Version: 1.3.0
Kodular Companion Version: 1.3 Draco
Creator Host OS: Ubuntu 18.04 64-bit; Linux Kernel 4.15.0-43-generic
Companion Host OS: Android 8.1; Linux Kernel 3.10.73

Installed python 3

sudo apt install python3-minimal

Installed python bottle

sudo apt install python3-bottle

Installed Git

sudo apt install git

Phone connected and i can use starter now.


(MRB) #3

What about mac ?


#4

This is a guide for Linux. Maybe you can make one for Mac?


(Diego Barreiro Pérez) #5

It should work on both Mac and Linux this guide, as Mac console is quite similar to Linux one


(MRB) #6

I know this is for linux. And I asked about mac version. When it will release or any news about mac version. Got it?


(MRB) #7

Thanks. I am going to try now and i will inform you.


(Akza) #8

thanks for this guide, i will try as soon as possible


(Kanishka Chakraborty) #9

Tested to be working with full functionality on my portable setup. Fairly amazing, because it is an Android tablet.

Kodular Creator Version: 1.3.1
Kodular Companion Version: 1.3 Draco
Creator Host OS: Android 7.1.2; Linux Kernel 3.10.108
Starter Host OS: Debian Testing (Buster) (arm7l); Linux Kernel 3.10.108; chroot
Companion Host OS: Android 9; Linux Kernel 3.10.108


Photographic Proof


(Daniel) #10

For someone who has problems with it, do not forget to install adb, the starter needs that!


(Kanishka Chakraborty) #11

Not required for wireless connection via the Companion.


(Daniel) #12

Yeah, but we’re speaking of starter