NoodleJS is a node.js module that allows you to interact with Mumble servers very easily. This is a complete rewrite from the previous version of NoodleJS.
- Node.js >= 20.19.4
- OpenSSL (required for native cryptographic module)
Windows:
choco install opensslUbuntu/Debian:
sudo apt-get install libssl-devmacOS:
brew install openssl@3npm install noodle.js
# or
yarn add noodle.jsThe native cryptographic module will be built automatically during installation. If you encounter build errors, ensure OpenSSL is properly installed.
You can send audio in two ways.
const NoodleJS = require('noodle.js');
const client = new NoodleJS();
client.on('ready', () => {
client.voiceConnection.playFile('pathtofile');
// or
client.voiceConnection.playStream(somestream);
});
client.connect();const NoodleJS = require('noodle.js');
const client = new NoodleJS({
url: 'myawesomemumbleserver'
});
client.on('ready', info => {
console.log(info.welcomeMessage);
});
client.on('message', message => {
if (message.content === 'ping') {
message.reply('pong');
}
});
client.connect();# Clone the repository
git clone https://github.com/Gielert/NoodleJS.git
cd NoodleJS
# Install dependencies
yarn install
# Build native module
yarn rebuild
# Run tests
yarn test
# Run linter
yarn lintThis project uses GitHub Actions for continuous integration and automated npm publishing. See .github/ACTIONS_SETUP.md for more information about the CI/CD setup.
MIT
