
Security News
Cline CLI npm Package Compromised via Suspected Cache Poisoning Attack
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.
accelerated.api.ci
Advanced tools
This provides a super-easy and basic continuous integration service for Accelerated apps. In particular, this provides clear instructions for GitHub and BitBucket integrations.
Right now this module is only for Bitbucket. I've had a number of projects via Bitbucket that I'm getting this module up, but GitHub will quickly be up next.
Right now, this uses the NPM package forever to start and stop your application service.
Whenever any changes are made to your repository, and they're pushed to your remote origin, your repo host will fire an event on its custom-defined webhooks. Those webhooks will land at this module, thereby triggering your code to update and respawn.
You'll need to generate a private key file and a public key file, and provide them with your project, along with uploading them onto your repsitory host (GitHub or Bitbucket). Besides that, incorporate some of the variables as you see fit into you env.json. More detailed explanations will be coming soon:
{
"ENV_DEFAULT": {
"EXPRESS_PORT": 8080,
"CI_GIT_SSH_URL": "git@bitbucket.org:johndoe/test.git",
"CI_GIT_SSH_PRIVATE_KEY_PATH": "key",
"CI_GIT_SSH_PUBLIC_KEY_PATH": "key.pub",
"CI_RUN_DELAY": 500,
"CI_RUN_DELAY_RANDOMIZED": false,
"CI_RUN_DELAY_MAX": 5000,
"CI_PULL_REPO_FULLNAME": "johndoe/example",
"CI_INSTALL_ACTOR_USERNAME": "johndoe",
"CI_RESTART_ACTOR_USERNAME": "johndoe",
"CI_NETWORK_URL1": "",
"CI_NETWORK_URL2": "",
"CI_NETWORK_URL3": ""
},
"ENV_OVERRIDE": "LOCAL",
"ENV_OVERRIDES": {
"LIVE": {},
"TEST": {},
"LOCAL": {
"EXPRESS_PORT": 8080
}
}
}
Continuous integration has its merits, but really shines when you have multiple server instances behind a load balancer. When you make one change to your code, it gets to be really tedious to SSH into each linux box and pull the latest repo changes, and then restart your application. That's where CI really helps take this huge DevOps pain out of your workflow, allowing for quicker and better changes to your code, no matter your application is scaled.
Simply require this module as you would any other Accelerated module, like this:
var api = require('accelerated.api');
var apiCi = require('accelerated.api.ci').use();
api.useModels([
[apiCi.key, apiCi.model]
]);
api.useRoutes([
[apiCi.key, apiCi.route]
]);
api.run()
FAQs
Basic continuous integration for Accelerated apps.
The npm package accelerated.api.ci receives a total of 0 weekly downloads. As such, accelerated.api.ci popularity was classified as not popular.
We found that accelerated.api.ci 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
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.