@getknext/core
v1.3.1
Published
Knative Next.js configuration and CLI
Downloads
3,332
Maintainers
Readme
@getknext/core
The official Next.js Deployment Adapter and CLI for deploying Next.js apps on Knative with scale-to-zero Kubernetes. Build your app, push the container image, and deploy it to a Knative cluster—it automatically scales down to zero when idle and back up on traffic.
Install
npm install @getknext/coreOr use the CLI directly without installing:
npx @getknext/core --helpQuickstart
Create and deploy a new Next.js app:
npx @getknext/core create my-app
cd my-app
npx knext deployConfigure knext in your app's knext.config.ts:
import type { KnextConfig } from '@getknext/core';
export default {
// Your configuration
} satisfies KnextConfig;Supported platforms
| Runtime | Turbopack | Webpack | |---------|-----------|---------| | Node.js | ✓ | ✓ | | Bun | ✓ | ✓ |
See the compatibility page for supported Next.js versions and runtime/builder coverage.
Learn more
- Documentation — guides and configuration reference
- Compatibility — supported runtimes and Next.js versions
- Security — threat model and hardening
- Contributing — report issues and contribute
