
Security News
AI Agent Lands PRs in Major OSS Projects, Targets Maintainers via Cold Outreach
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.
@dotcms/create-app
Advanced tools
> π§ **Beta Notice:** > This CLI is currently in **beta**. Features and APIs may change as we continue improving the tool.
π§ Beta Notice: This CLI is currently in beta. Features and APIs may change as we continue improving the tool.
With a single command, you can bootstrap a fully functional frontend (Next.js, Angular, Astro, etc.) connected to dotCMS APIs β including the following:
create-dotcms-app?create-dotcms-app is a command-line tool that helps developers quickly spin up headless frontends powered by dotCMS.
It automates the tedious work of:
This tool lets you focus on building, not configuring.
dotCMS is a hybrid headless CMS with powerful APIs β but initializing a frontend manually takes time.
This CLI solves that by offering:
Run using npx (recommended):
npx @dotcms/create-app <project-name>
Or install cli globally
npm install -g @dotcms/create-app
npx @dotcms/create-app <project-name>
This will:
You will get the following env variables generated by cli just copy and replace them in the frontend of the env and enjoy dotCMS in headless mode.
Host (site) : http://localhost:8082
Site ID : 59bb8831-6706-4589-9ca0-ff74016e02b2
API Token : YOUR_API_TOKEN
create-dotcms-app <project-name> [options]
| Option | Description |
|---|---|
-f, --framework <name> | Skip prompts and directly choose a framework. Supported: nextjs, angular, angular-ssr, astro. Case-insensitive. Aliases: next, ng, next.js, angular-server |
-d, --directory | Project Directory |
--local | Use local dotCMS instance using docker |
-u, --username | dotCMS instance username (skip in case of local) |
-p, --password | dotCMS instance password (skip in case of local) |
--url | dotCMS instance URL (skip in case of local). Must include protocol (http:// or https://) |
-V, --version | Show CLI version |
For convenience, the CLI accepts common framework name variations (case-insensitive):
next, next.js, Next.js β nextjsng, Angular β angularangular-server β angular-ssrangular-server β angular-ssrWhen using --url, make sure to include the full URL with protocol:
β
Valid: https://demo.dotcms.com, http://localhost:8082
β Invalid: demo.dotcms.com, localhost:8082 (missing protocol)
The CLI includes comprehensive validation to help you avoid common setup issues:
--local with cloud parametersWhen using local Docker setup, the CLI performs pre-flight checks:
Docker Availability
Port Availability
docker compose down to stop existing containersContainer Health
All error messages include:
Run with DEBUG=1 to see detailed stack traces:
DEBUG=1 npx @dotcms/create-app my-project
"Docker is not available"
"Required ports are already in use"
lsof -i :8082netstat -ano | findstr ":8082"docker compose down"dotCMS failed to start properly"
docker logs <container-name>"Invalid project name"
< > : " | ? *CON, PRN, AUX, NUL, etc...)"Invalid URL format"
https:// or http://npx @dotcms/create-app my-blog
# Local Docker setup
npx @dotcms/create-app my-blog --framework nextjs --local
# Cloud instance
npx @dotcms/create-app my-blog \
--framework angular \
--url https://demo.dotcms.com \
--username admin@dotcms.com \
--password mypassword
DEBUG=1 npx @dotcms/create-app my-blog --framework nextjs --local
FAQs
> π§ **Beta Notice:** > This CLI is currently in **beta**. Features and APIs may change as we continue improving the tool.
The npm package @dotcms/create-app receives a total of 10 weekly downloads. As such, @dotcms/create-app popularity was classified as not popular.
We found that @dotcms/create-app demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 2 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
An AI agent is merging PRs into major OSS projects and cold-emailing maintainers to drum up more work.

Research
/Security News
Chrome extension CL Suite by @CLMasters neutralizes 2FA for Facebook and Meta Business accounts while exfiltrating Business Manager contact and analytics data.

Security News
After Matplotlib rejected an AI-written PR, the agent fired back with a blog post, igniting debate over AI contributions and maintainer burden.