Skip to main content

write bots for Hitbox.tv in JavaScript

Project description

V8Bot gives you the ability to script chat bots for Hitbox.tv in JavaScript using the V8 engine by Google.

Linux Installation

The installation via pip seems currently broken, so you have to build and install PyV8 manually :( But is not so hard, on Debian follow these steps:

# apt-get install subversion scons libboost-all-dev libboost-python-dev
$ svn checkout http://v8.googlecode.com/svn/trunk/ v8
$ svn checkout http://pyv8.googlecode.com/svn/trunk/ pyv8
$ cd v8
$ export V8_HOME=`pwd`
$ cd ../pyv8
$ python setup.py build

Now, if you want to install V8Bot as system wide side package

# python setup.py install

Or if you using virtualenv

$ virtualenv venv
$ . venv/bin/activate
$ python setup.py install

If you using Debian lenny you also can use a binary distribution from me built for x64 with libboost v1.55.0.2. You find it here: https://v8bot.ewelt.net/dist/pyv8/

Now download the V8Bot source files and install it using setup.py as usual.

# python setup.py install

Windows Installation

From source

Download the PyV8 installer for your architecture from here: https://code.google.com/archive/p/pyv8/downloads and install it.

Download the V8Bot source from here https://v8bot.ewelt.net/dist/ and install it using setup.py or use the provided msi installer.

Standalone builds from Py2Exe

On https://v8bot.ewelt.net/dist/ you can also find standalone builds generated with Py2Exe

Usage

To start a bot instance type

$ v8b -u username -p password -c channel script_file.js

Where username and password are the Hitbox.tv credentials the bot should use. Its no problem to use your own credentials, the bot will then have your nickname. You can let him join the same channels you are in, there is no duplicate check or something.

Project details


Download files

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

Source Distributions

v8bot-0.0.14.zip (18.7 kB view hashes)

Uploaded Source

v8bot-0.0.14.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distributions

v8bot-0.0.14.win32.exe (205.9 kB view hashes)

Uploaded Source

v8bot-0.0.14-py2-none-any.whl (10.1 kB view hashes)

Uploaded Python 2

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