Skip to main content

botafar

Project description

botafar Code style: black

Add global remote controls and a real time livestream to your project

  • Share a link and let others take the controls one by one
  • Forward the livestream to Twitch or YouTube (optional)
  • No hardware required, a phone can be used as a camera
  • Arduino and Raspberry Pi tutorials available
  • Desktop and mobile browser support, no apps, no signups

It works by decorating existing functions and class methods to respond to user input:

import botafar

j = botafar.Joystick("W","A","S","D")

@j.on_left
def turn_left():
    print("left!")

@j.on_right
def turn_right():
    print("right!")

# ...@j.on_up, on_down, on_center

botafar.run()

result

GET STARTED

(Check botafar.com for currently online bots)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

botafar-0.0.3.tar.gz (47.7 kB view hashes)

Uploaded Source

Built Distribution

botafar-0.0.3-py3-none-any.whl (41.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page