
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
levelnewsbot-bb8877
Advanced tools
A bot that scrapes tweets for the freshest independent and alternative news links.
bb8877 is a news bot that scrapes urls from tweets belonging to orgs in the LevelNews.org news feed directory.
The Twitter accounts that bb8877 scrapes can be overridden via options you pass in programmatically and bb8877 is completely configurable.
By default, bb8877 will only return scraped urls belonging to whitelisted domains. Console output includes all urls, whitelisted or not.
bb8877 Can be run from the command line in a Node.js/NPM environment or integrated into any Node.js/NPM project programmatically.
Clone directly from GitHub on your local machine:
$ git clone https://github.com/LevelNewsOrg/levelnewsbot-bb8877.git
$ cd levelnewsbot-bb8877
$ npm install
$ npm link
If all went well above, you should be able to simply call bb8877 from the command line anywhere in your system. Output is printed to console:
$ bb8877
At the package.json directory level for your project:
$ npm install levelnewsbot-bb8877 --save
Inside your program, call bb8877 with a callback as first argument:
const bb8877 = require('levelnewsbot-bb8877')
bb8877(function(err, posts) {
if (!err) {
console.log(posts)
}
})
For programmatic use in your Node.js projects, you can pass in an options object as a second argument when you call bb8877 that can override any of the properties in the config/index.js
file. An example of this usage can be found in test/config.js
. NOTE: if you pass in a custom options.accounts array, bb8877 will automatically set both config.domainWhitelist
and config.domainToAccountMap
properties to null
.
const options = {
bot: 'clickybot',
accounts: ['clickhole'],
tweetFreshness: -72,
tweetsPerAccount: 10,
// set to false or empty to return urls without filtering by white list:
domainWhitelist: ['clickhole.com'],
// used to determine boolean value of post.scraper.isSelfTweet property
// aka: is the account tweeting a link back to its own web property:
domainToAccountMap: { 'clickhole.com': { twitter: 'clickhole'}}
}
const bb8877 = require('levelnewsbot-bb8877')
bb8877(function(err, posts) {
if (!err) {
console.log(posts)
}
}, options)
If you have a feature request, open an issue in the GitHub repository.
FAQs
A bot that scrapes tweets for the freshest independent and alternative news links.
We found that levelnewsbot-bb8877 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
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.