
Security News
New CVE Forecasting Tool Predicts 47,000 Disclosures in 2025
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
@cloudflare/megaphone
Advanced tools
Description
A cli for yelling about things (like release notifications) in chat.
This library was created as an alternative to doing raw curl calls in CI scripts.
$ npm install @cloudflare/megaphone
$ megaphone --bot eve "Releasing a thing!" # or...
$ megaphone -b eve "Releasing a thing!"
# Specify a specific thread or threadKey as defined here:
# https://developers.google.com/chat/api/reference/rest/v1/spaces.messages/create#query-parameters
$ megaphone --bot eve --thread <thread_id> "Releasing a thing!"
In order to get meaningful results about the state of internationalization of a
repo, there are some configuration that the i18n
command relies on.
The the first thing the i18n
command does is to locate the i18n.config.js
config file closest to the directory from which the command is run.
The config file is expected to have a shape like:
module.exports = {
{
bots: {
alice: 'https://chat.googleapis.com/v1/spaces/AAAAqKuBJzw/messages?key=<alice_key>&token=<some_token>',
bob: 'https://chat.googleapis.com/v1/spaces/AAAAqKuBJzw/messages?key=<alice_key>&token=<some_token>'
},
threads: {
deployment: "spaces/<space_id>/threads/<thread_id>"
}
};
The bots
object contains key-value pairs of bot names and the webhook url
associated with each. These urls can be found in gchat. Note that webhook urls
are specific to a space.
The threads
object contains key-value pairs of thread ids and the associated
gchat threadKey.
FAQs
Chat cli for announcing releases from CI
We found that @cloudflare/megaphone demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 36 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
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.