Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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


Release history Release notifications

This version
History Node

0.0.14

History Node

0.0.13

History Node

0.0.11

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
v8bot-0.0.14-py2-none-any.whl (10.1 kB) Copy SHA256 hash SHA256 Wheel 2.7 May 5, 2016
v8bot-0.0.14.tar.gz (12.9 kB) Copy SHA256 hash SHA256 Source None May 5, 2016
v8bot-0.0.14.win32.exe (205.9 kB) Copy SHA256 hash SHA256 Windows Installer any May 5, 2016
v8bot-0.0.14.zip (18.7 kB) Copy SHA256 hash SHA256 Source None May 5, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page