Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
bolt-remote
Advanced tools
bolt-remote
is a remote http server plugin for Bolt slack bot based on Express web framework. You can use this plugin to make awesome plugins and access your bots remotely with http requests.
First install Bolt and make it work. Then use npm
and install it:
npm install --save bolt-remote
Bolt knows the plugins by their package name prefix. It's loading all bolt-*
modules as plugin and pass them a Bolt instance. They can modify the bot or do anything else with the instance.
This plugin only needs some configuration in your Bolt config.js
file. Make sure you have the following config structure in your bot config:
export default {
// some other config
// .
// .
remote: {
server: {
hostname: '127.0.0.1',
port: 3000
},
auth: {
key: 'token',
value: 'DmO6HEvdga5OEva8CxEAZs30C5j7DPhN'
}
}
// maybe some more other config here too
// .
// .
}
server: The config object has 2 keys, hostname and the port. The default value is 127.0.0.7
and 3000
.
auth: Auth configuration which used to implement a simple query string token based auth with following props:
key
param in query string.This plugin adds a remote
property to your bolt instance. This remote property is a Express server instance which can be used to define routes, middlewares and etc.
Read more about Express.
You can fork the repository, improve or fix some part of it and then send the pull requests back if you want to see them here. I really appreciate that. :heart:
Remember to lint your code before sending pull requests. Run the Grunt eslint task with the following command and fix the lint errors if you get any.
grunt eslint
FAQs
Remote plugin for bolt slack bot
The npm package bolt-remote receives a total of 2 weekly downloads. As such, bolt-remote popularity was classified as not popular.
We found that bolt-remote demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.