hexchat-javascript icon indicating copy to clipboard operation
hexchat-javascript copied to clipboard

Javascript interface for HexChat

HexChat Javascript

Build Status Coverity Badge

Javascript interface using Spidermonkey.

This plugin is no longer actively developed though bugs may be fixed.
I suggest using the Lua plugin shipping with modern HexChat as an alternative.

For more information check out the wiki.

Features

  • Load/unload/reload/autoloading scripts
  • Interpreter via /js
  • Runtime per script
  • Full coverage of hexchat api
  • Windows and Unix support

Requirements

  • HexChat 2.9.6+
  • JS 1.8.5

Installation

Windows:

  1. Place the javascript.dll in the addons folder within your config dir.
  2. Install Javascript, instructions are on the wiki.

Fedora:

  1. Download a repo file from here into /etc/yum.repos.d/
  2. yum install hexchat-javascript

Arch:

  1. Download package from hexchat-javascript-git on the AUR.
  2. Follow the wiki to install.

Building

Linux:

  1. Install the hexchat and js dev package from your distro of choice. (e.g. js-devel, libmozjs185-dev, js185)
  2. make && sudo make install

Windows:

  1. Install my build of Javascript as mentioned on the wiki and update its path in hexchat-javascript.props.
  2. Open in Visual Studio and build.