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 details)

Uploaded Source

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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Source

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

Uploaded Python 2

File details

Details for the file v8bot-0.0.14.zip.

File metadata

  • Download URL: v8bot-0.0.14.zip
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for v8bot-0.0.14.zip
Algorithm Hash digest
SHA256 c1305b5dea6d393cb3f4545e2743e7ff63e65e8e1dfb26c1d6abb9c5b99ea4c3
MD5 1e5c78958a90c7f279afc81e8af2f53b
BLAKE2b-256 884103fb00139b233497a9df5c854683e7c60f471de9feb268d67ef63ed5dd45

See more details on using hashes here.

File details

Details for the file v8bot-0.0.14.tar.gz.

File metadata

  • Download URL: v8bot-0.0.14.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for v8bot-0.0.14.tar.gz
Algorithm Hash digest
SHA256 0fb83e8afb093916d44016c23109ecb17a7e458069397fea6a053c77b263a80b
MD5 c6bf4123c2ce2c1a6ebeada2630bc116
BLAKE2b-256 d80dfb11434155ec4332a1fd5887cd5d8c30f67013f2bd9fa0ea8bd1afc0d486

See more details on using hashes here.

File details

Details for the file v8bot-0.0.14.win32.exe.

File metadata

  • Download URL: v8bot-0.0.14.win32.exe
  • Upload date:
  • Size: 205.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for v8bot-0.0.14.win32.exe
Algorithm Hash digest
SHA256 ac5d51a0c94c21f6e2575d066c30fc6651aa3a30b7e510b2e7426db3d015cca7
MD5 7cf3a7d6c295779e9049d177e5740d1f
BLAKE2b-256 f73ea2d8846f10e142ba9f20db3583aa1aa4203dfdbfcb158cde72c349fe2dbb

See more details on using hashes here.

File details

Details for the file v8bot-0.0.14-py2-none-any.whl.

File metadata

File hashes

Hashes for v8bot-0.0.14-py2-none-any.whl
Algorithm Hash digest
SHA256 ae15a42f19884abe80ecb177c8103d69db3cabf9d2971119af31af11bd58ac90
MD5 d1355503ef6379ec81a3145845430858
BLAKE2b-256 560eff709d42f2b29ec61b5fb97ec0323a77664df4ec771daacc2c3b26cf3fdf

See more details on using hashes here.

Supported by

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