New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

stacky-cli

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stacky-cli

Framework-agnostic CLI scaffolding tool for backend applications

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Stacky

Framework-agnostic CLI scaffolding tool for backend applications

InstallationUsageFeaturesRoadmapContributing

About The Project

Stacky is a CLI tool that scaffolds production-ready backend projects with your choice of framework, runtime, database, and authentication. It uses a plugin-based architecture following the Strategy Pattern for extreme modularity.

Why Stacky?

  • Start projects in seconds, not hours
  • Production-ready setup with Docker, CORS, logging, and health checks
  • Mix and match frameworks, runtimes, databases, and auth providers
  • Consistent project structure across different tech stacks

Built With

Installation

npm install -g stacky-cli

Or use directly with npx:

npx stacky-cli my-app

Usage

Interactive Mode

Simply run stacky and follow the prompts:

stacky

CLI Flags Mode

Skip the prompts with flags:

stacky my-app -f hono -r bun -d drizzle -a better-auth -i

Available Options

FlagDescriptionValues
-f, --frameworkWeb frameworkhono, express, fastify
-r, --runtimeJavaScript runtimenode, bun
-d, --databaseDatabase ORMprisma, drizzle
-a, --authAuthenticationbetter-auth, passport
-i, --installAuto-install dependencies-
--no-dockerSkip Docker setup-
--no-corsSkip CORS middleware-
--no-loggingSkip request logging-
--no-healthSkip health endpoint-

Examples

Hono + Bun + Drizzle + Better Auth:

stacky my-api -f hono -r bun -d drizzle -a better-auth -i

Express + Node (minimal):

stacky my-api -f express -r node --no-docker

Fastify + Prisma:

stacky my-api -f fastify -r node -d prisma -i

Features

Frameworks

FrameworkDescription
HonoUltra-fast, lightweight, Web Standards
ExpressClassic, mature ecosystem
FastifyHigh performance, schema validation

Runtimes

RuntimeDescription
Node.jsStable, widely supported
BunFast, modern, batteries included

Databases

ORMDescription
DrizzleLightweight, SQL-like, type-safe
PrismaFull-featured, migrations, studio

Authentication

ProviderDescription
Better AuthModern, session-based, easy setup
PassportClassic, 500+ strategies

Generated Project Structure

my-app/
├── src/
│   ├── index.ts        # App entry point
│   ├── db/             # Database (Drizzle)
│   │   ├── index.ts
│   │   └── schema.ts
│   └── lib/
│       └── auth.ts     # Auth config
├── prisma/             # Database (Prisma)
│   └── schema.prisma
├── .env
├── .env.example
├── .gitignore
├── .dockerignore
├── Dockerfile
├── drizzle.config.ts
├── eslint.config.js
├── package.json
├── tsconfig.json
└── README.md

Included by Default

  • TypeScript - Strict mode enabled
  • ESLint - ESLint 9 flat config with TypeScript support
  • Docker - Production-ready Dockerfile
  • Environment - .env and .env.example files
  • Health Check - /health endpoint
  • CORS - Cross-origin resource sharing
  • Logging - Request logging middleware

Roadmap

  • Core CLI with interactive prompts
  • Hono, Express, Fastify frameworks
  • Node.js and Bun runtimes
  • Prisma and Drizzle ORMs
  • Better Auth and Passport authentication
  • Docker support
  • ESLint configuration
  • Testing setup (Vitest)
  • CI/CD templates (GitHub Actions)
  • More auth providers (Lucia, Auth.js)
  • Redis/caching support
  • OpenAPI/Swagger generation
  • Monorepo support

Contributing

Contributions are welcome! Here's how:

  • Fork the repository
  • Create your feature branch (git checkout -b feature/amazing-feature)
  • Commit your changes (git commit -m 'Add amazing feature')
  • Push to the branch (git push origin feature/amazing-feature)
  • Open a Pull Request

Adding a New Plugin

Plugins follow the Strategy Pattern. See existing plugins in:

  • src/plugins/frameworks/ - Framework plugins
  • src/plugins/databases/ - Database plugins
  • src/plugins/auth/ - Auth plugins

License

Distributed under the MIT License. See LICENSE for more information.

Acknowledgments

Built with by AskiaDev

Keywords

cli

FAQs

Package last updated on 02 Feb 2026

Did you know?

Socket

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.

Install

Related posts