Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
rubik-telegram
Advanced tools
Telegram's Bot API kubik for the Rubik
npm i rubik-telegram
yarn add rubik-telegram
const { App, Kubiks } = require('rubik-main');
const Telegram = require('rubik-telegram');
const path = require('path');
// create rubik app
const app = new App();
// config need for most modules
const config = new Kubiks.Config(path.join(__dirname, './config/'));
const telegram = new Telegram();
app.add([ config, telegram ]);
app.up().
then(() => console.info('App started')).
catch(err => console.error(err));
telegram.js
config in configs volume may contain the host and token.
If you do not specify a host, then https://api.telegram.org/
will be used by default.
If you don't specify a token, you will need to pass it.
...
const response = await app.get('telegram').sendMessage(message, token);
...
You may need the host option if for some reason Telegram host is not available from your server and you want to configure a proxy server.
For example:
config/telegram.js
module.exports = {
host: 'https://my.telegram.proxy.example.com/'
};
Telegram kubik doesn't has any extension.
FAQs
Telegram Bot Api kubik for the Rubik application system
The npm package rubik-telegram receives a total of 29 weekly downloads. As such, rubik-telegram popularity was classified as not popular.
We found that rubik-telegram demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.