ViniMTrevisan/Kybernus-CLI
43.5
Weak · 21 September 2026
17.9k
lines of production code
TypeScript
primary language
4
measurements over time
What this system is
This system is a multi-language project scaffolding and CLI tool that generates production-ready application templates for Java, NestJS, Next.js, Node/Express, and Python/FastAPI. It provides pre-configured implementations for user authentication, Stripe payment integration, and cloud infrastructure-as-code, while also offering AI-powered documentation generation and analytics tracking. The tool supports both interactive and headless workflows for creating, deploying, and managing these standardized application structures.
Features
AI-powered documentation generation for README and API docs
The CLI now automatically generates AI-powered documentation for new projects. When a user creates a project with a Gemini API key, the system uses Google's Gemini 2.0 Flash model to generate a comprehensive README.md and API documentation (API.md) based on the project's stack and architecture. This feature is implemented via new core modules: a \DocumentationGenerator\ and \GeminiService\ in \src/core/ai\, which handle prompt construction, API interaction, and markdown cleaning. The \ProjectGenerator\ in \src/core/generator/project.ts\ has been updated to trigger this generation during the project creation flow, ensuring users receive up-to-date, context-aware documentation immediately after scaffolding their application.
src/core · high confidence
Add JWT authentication scaffolding for Java, NestJS, Next.js, Node/Express, and Python/FastAPI
A complete, modular authentication flow was added to your project for five different frameworks. For Java Spring, this includes AuthController, AuthService, and security configuration. For NestJS, it provides the auth module, controller, service, and JWT guard. For Next.js, it adds API routes for login and register, along with middleware for session management. For Node.js Express, it includes the auth routes, controller, and middleware. For Python FastAPI, it provides the router, schemas, and security utilities. Each implementation uses an in-memory mock database by default and requires you to connect to your actual database (e.g., JPA, TypeORM, Prisma, SQLAlchemy) to persist users.
add-features, src/cli/utils · high confidence
Add ecommerce white-label template command
The template now includes a complete API application scaffold for an ecommerce platform. This adds a PostgreSQL schema (Prisma) defining models for users, products, categories, orders, and coupons, along with a database migration and seed script that populates demo data. The API includes an Express app with health/readiness endpoints, rate limiting, and route registrations for auth, catalog, cart, checkout, orders, and admin features. Configuration files for Jest (unit and integration tests) and environment variables are provided. The codebase includes application services for authentication, cart management, product catalog, and admin dashboards, as well as test setup files for database and environment configuration.
(repo-wide) · high confidence
Add production-ready authentication, payments, and security infrastructure to all MVC templates
All MVC templates (Java Spring, NestJS, Python FastAPI) now include a complete authentication system with JWT-based login and registration, a health check endpoint, and a Stripe integration for checkout, billing portal, and webhook handling. Java Spring adds a global exception handler, Spring Security with JWT filter, CORS configuration, and JPA repositories. NestJS adds Prisma database integration, validation pipes, and JWT guards. FastAPI adds Pydantic models and database repositories. Each template now supports user registration, login, and profile retrieval, along with payment processing endpoints.
templates/java-spring/mvc, templates/nestjs/mvc, templates/python-fastapi/mvc · high confidence
Added PostHog analytics tracking to the CLI
The CLI now collects usage analytics via PostHog, sending events such as the CLI version and operating system. This new AnalyticsClient is initialized with a hardcoded API key and a specific PostHog host, and respects a configuration flag to enable or disable tracking.
src/cli/services · high confidence
Added Stripe payment integration and user authentication to Java and NestJS templates
The Java Spring templates (both clean and hexagonal architectures) now include full Stripe payment integration and user authentication. This adds new files for handling user registration, login, and JWT-based security, alongside controllers and services for creating Stripe checkout sessions, managing customer portals, and processing webhooks. The NestJS clean architecture template similarly gains payment and authentication modules. Users of these templates will now have a complete, working implementation for secure user authentication and subscription-based payments via Stripe.
(repo-wide) · high confidence
Added preview generation script for project templates
A new script, scripts/generate-previews.ts, has been added to generate preview projects across multiple technology stacks (Next.js, Node.js/Express, Java/Spring, Python/FastAPI, NestJS, and n8n) and various architectural patterns. This script iterates through defined stacks and architectures, using the ProjectGenerator to create corresponding project structures in a 'previews' directory, facilitating easier testing and demonstration of template outputs.
scripts · medium confidence
Added production-ready templates for e-commerce, Java Spring, and Kybernus projects
Users can now generate new projects using three new templates: an e-commerce template with a white-label customization script, CI/CD pipelines, and Docker support; Java Spring templates (clean, hexagonal, and MVC architectures) featuring production-ready Dockerfiles, GitHub Actions CI/CD pipelines for AWS ECS/ECR, and Terraform infrastructure for AWS (VPC, ECS, RDS); and a Kybernus v3.0.0 template with standalone support, custom template generation, and updated documentation. These templates include pre-configured build, test, and deployment workflows, as well as infrastructure-as-code for cloud deployment.
templates · high confidence
Introduces the Kybernus License API for license validation, trial management, and analytics
Adds a new backend service, the Kybernus License API, which handles user registration, license key validation, and project usage tracking. The API provides endpoints for creating trials, validating license keys, and consuming project credits, with a hard limit of three projects for free/trial users. It integrates with Stripe for subscription management and webhooks, and includes an admin dashboard for analytics metrics. The implementation includes a Prisma schema with User, Subscription, and AnalyticsEvent models, along with middleware for authentication and admin access control.
old, old/license-api · high confidence
Launch of admin portal, legal pages, and analytics tracking
The web application now includes a protected admin portal at /admin, featuring a login page, layout, dashboard, and API endpoints for authentication and metrics. A new analytics tracking endpoint (/api/analytics/track) is introduced to capture user events, with rate limiting applied. Additionally, static pages for privacy and terms of service are added, alongside a root layout that integrates PostHog for analytics and cookie consent components.
apps/web · high confidence
New CLI commands for features, auth, deploy, and ecommerce templates
The CLI now includes new commands: \add\ to install infrastructure features (Swagger, Redis, WebSocket, Husky, Auth) into existing projects; \auth\ to generate a complete JWT authentication flow; \deploy\ to create cloud deployment configs for Vercel, Railway, Fly.io, and Render; \doctor\ to check environment and project health; and \ecommerce\ to scaffold a white-label e-commerce template. The \init\ command now tracks anonymous usage data via an AnalyticsClient.
src/cli/commands · high confidence
Next.js MVC template now includes full authentication, billing, and health check endpoints
The Next.js MVC template has been modernized to include a production-ready architecture. Users now get a complete authentication setup using NextAuth.js with Google and credentials providers, alongside a protected dashboard page. The template also adds full Stripe integration for subscription management, including a checkout route, a customer portal route, and a webhook handler to sync subscription status. Additionally, a health check endpoint and a Next.js proxy (middleware) are included to support modern Next.js 16 patterns.
templates/nextjs/mvc · high confidence
Node.js Express MVC template now includes full Stripe payment integration and production-ready database architecture
The Node.js Express MVC template has been upgraded to a production-ready architecture, introducing a Prisma-based database layer and a complete Stripe integration. Users now get built-in support for user authentication (register, login, and profile retrieval) and payment processing (checkout sessions, customer portal, and webhook handling). The app includes security middleware (helmet, cors), structured error handling, and a health check endpoint. This change adds new controllers, services, and middleware files that wire up the new capabilities.
templates/nodejs-express/mvc · high confidence
Standardized infrastructure templates for Java Spring and NestJS applications
Added standardized Terraform modules for VPC, ECS, and RDS to the Java Spring and NestJS project templates. These new infrastructure-as-code files define the AWS resources required to deploy the applications, including a VPC with public and private subnets, an ECS cluster for containerized workloads, and an RDS PostgreSQL instance with secure password management.
(repo-wide) · high confidence
Behavioural changes
CLI renamed to kybernus with new commands and template options
The CLI tool has been renamed from 'kibernus' to 'kybernus' and now dynamically reads its version from package.json instead of using a hardcoded version string. The command-line interface has been expanded with new subcommands for analytics, doctor checks, package addition, authentication, deployment, and e-commerce scaffolding. The 'init' command now supports an additional 'n8n' technology stack, new architecture/template options including 'ai-assistant', 'crm-tracker', and 'system-monitor', and allows specifying custom Git-based templates.
src · medium confidence
CLI wizard refactored for non-interactive mode and expanded template options
The CLI wizard now supports a non-interactive mode, allowing users to pass configuration options such as project name, stack, architecture, and build tool directly via arguments, which is essential for automated or headless usage. The wizard's language has been translated to English, and the available stack and architecture options have been expanded to include n8n templates and additional architectural styles like Clean and Hexagonal, while removing previous Pro-tier restrictions.
src/cli/prompts · high confidence
Updated project configuration and template context interfaces
The project configuration model now supports the 'n8n' stack and includes a 'default' option for architecture, while also allowing custom templates. The template context interface has been updated to include additional project name formats (camelCase, snakeCase) and the current year, and the previous license tier and validation logic have been removed.
src/models · high confidence
Test coverage
Added comprehensive test coverage for CLI commands, core generators, and API integration
Added unit and integration tests for the CLI commands (add, auth, deploy, init), core generators (project, feature, deploy), configuration management, and API integration (trial limits, license validation, user registration). These tests verify the behavior of the CLI interface, feature and deployment generation logic, and the enforcement of trial usage limits and license validation.
tests · high confidence
Dependencies
Updated project dependencies and lockfiles
Updated dependency manifests and lockfiles across the repository, including the root \package.json\ and \package-lock.json\ for the \kybernus\ CLI, the \web\ app, the \license-api\, and the \ecommerce\ template. Key updates include migrating from \@google/generativeai\ to \@google/genai\ (v1.40.0), adding \conf\ and \posthog-node\ to the CLI, and updating the \ecommerce\ template to use \@stripe/react-stripe-js\ (v3.1.0) and \@tanstack/react-query\ (v5.67.2).
(dependencies) · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 48 → 43 (-4.1)
- Rubric changed (rubric-2026.08.19 → rubric-2026.09.15) — scores are not directly comparable.
Lenses
- Code Health 87 → 84 (-3.7)
- Architecture 93 → 75 (-17.7)
- Maturity 64 → 56 (-8.2)
- Readiness 28 → 27 (-0.8)
- Security 56 → 65 (+9.3)
- Accessibility 63 → 50 (-12.5)
Resolved (77)
- Coverage not included — suite not readable by the collector
- Critical CVE: [GHSA redacted] (package-lock.json)
- Critical CVE: [GHSA redacted] (apps/web/package-lock.json)
- Critical CVE: [GHSA redacted] (package-lock.json)
- Critical CVE: [GHSA redacted] (apps/web/package-lock.json)
- Dependency hygiene not measured — dependency manifest found but not parsed for hygiene
- High CVE: [GHSA redacted] (apps/web/package-lock.json)
- High CVE: [GHSA redacted] (apps/web/package-lock.json)
- High CVE: [GHSA redacted] (package-lock.json)
- High CVE: [GHSA redacted] (apps/web/package-lock.json)
- High CVE: [GHSA redacted] (apps/web/package-lock.json)
- High CVE: [GHSA redacted] (templates/ecommerce/package-lock.json)
- High CVE: [GHSA redacted] (apps/web/package-lock.json)
- High CVE: [GHSA redacted] (apps/web/package-lock.json)
- High CVE: [GHSA redacted] (apps/web/package-lock.json)
- High CVE: [GHSA redacted] (templates/ecommerce/package-lock.json)
- High CVE: [GHSA redacted] (package-lock.json)
- High CVE: [GHSA redacted] (apps/web/package-lock.json)
- High CVE: [GHSA redacted] (apps/web/package-lock.json)
- High CVE: [GHSA redacted] (templates/ecommerce/package-lock.json)
- …and 57 more
New (199)
- CartPage.CartPage (cognitive 21) (templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx)
- CartPage.CartPage (cyclomatic 21) (templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx)
- CheckoutPage.PaymentStep (cognitive 19) (templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx)
- CheckoutPage.PaymentStep (cyclomatic 16) (templates/ecommerce/apps/web/src/modules/checkout/pages/CheckoutPage.tsx)
- Critical CVE: [GHSA redacted] (package-lock.json)
- Critical CVE: [GHSA redacted] (apps/web/package-lock.json)
- Critical CVE: [GHSA redacted] (package-lock.json)
- Critical CVE: [GHSA redacted] (apps/web/package-lock.json)
- Critical vulnerability: [GHSA redacted] (apps/web/package-lock.json)
- Documentation: no installation or build instructions (README.md)
- Documentation: no project overview (README.md)
- Documentation: no usage examples (README.md)
- Dormant codebase
- FunctionTooLong: ArchitectureExplorer.ArchitectureExplorer (apps/web/src/components/ArchitectureExplorer.tsx)
- FunctionTooLong: ArchitectureVisual.ArchitectureVisual (apps/web/src/components/ArchitectureVisual.tsx)
- FunctionTooLong: CartPage.CartPage (templates/ecommerce/apps/web/src/modules/cart/pages/CartPage.tsx)
- FunctionTooLong: CouponsAdminPage.CouponsAdminPage (templates/ecommerce/apps/web/src/modules/admin/pages/CouponsAdminPage.tsx)
- FunctionTooLong: Hero.Hero (apps/web/src/components/Hero.tsx)
- FunctionTooLong: Layout.Layout (templates/ecommerce/apps/web/src/shared/components/Layout.tsx)
- FunctionTooLong: OrdersAdminPage.OrdersAdminPage (templates/ecommerce/apps/web/src/modules/admin/pages/OrdersAdminPage.tsx)
- …and 179 more
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
ViniMTrevisan/Kybernus-CLI was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 21 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit c8cf3eae9d8d32c39dc22eaeea65e105527aa04c — the exact code this score is about.
- Scored under rubric-2026.09.15 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-b84573e22831.