
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
@samiyev/bitbucket-telegram-bot
Advanced tools
This application gets updates from Bitbucket and publishes them into Telegram Channels.
npm install @samiyev/bitbucket-telegram-bot
No extensive tutorials required because you are a smart developer! Using this module should be an easy one, so let's make it so! Here's some examples.
You must make bot and channel in telegram. If the channel is public, chatId may contain channel name, like @myPublicChannel.
If the channel is private, then make a channel public, send a test request to the channel from the browser like the following:
https://api.telegram.org/bot<YOUR_BOT_TOKEN>/sendMessage?chat_id=@myTemporaryPublicChannel&text=test
https://api.telegram.org/bot258108210:BAFN7INaQc0MP1GlDe9SxCm-cjc0hz-zWdw/sendMessage?chat_id=@myTemporaryPublicChannel&text=test
After that you can make channel private again.
Response will contain the channel's numeric ID, like the following:
{
"ok": true,
"result": {
"message_id": 2,
"chat": {
"id": -1001072411791,
"title": "myTemporaryPublicChannel",
"username": "myTemporaryPublicChannel",
"type": "channel"
},
"date": 1472985422,
"text": "test"
}
}
In the above example -1001072411791 is the channel ID. Then you must add your telegram bot into your telegram channel quality Admin.
const daemon = {
//interval daemon autoupdate time
interval: 59 * 1000
};
const bitbucket = {
team: 'bitbucketTeamName',
username: 'yourBirbucketUsername',
password: 'youBitbucketPassword'
};
const telegram = {
// token make in Botfather telegram.
token: '417095412:AAFihPEqfWK0OcQRgwaawgsfzqmTtKkpn4Y6XrmQ',
// public channel id
chat_id: -1001072411791
};
import * as BitbucketUpdates from "@samiyev/bitbucket-telegram-bot";
const daemon = new BitbucketUpdates
.Daemon(daemon, bitbucket, telegram, counter);
daemon
.onExecute()
.then(() => {
console.log('Daemon is running...');
})
.catch((error) => {
console.log(error);
});
FAQs
Bitbucket updates sender to telegram channel.
The npm package @samiyev/bitbucket-telegram-bot receives a total of 0 weekly downloads. As such, @samiyev/bitbucket-telegram-bot popularity was classified as not popular.
We found that @samiyev/bitbucket-telegram-bot 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.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.