Stack detector

Published

Updated

🕵️

Automatic stack detective.

The stack detector reads a GitHub repository when an app is created, recognizes the framework or CMS and its version, and presets the app with the matching software template and build commands. It is open source.

Connecting a GitHub repository to a new app for Git deployment runs the stack detector over the code. The source is on GitHub: fortrabbit/stack-detector.

It recognizes the software and its major version, and applies the matching software template. From composer.json and package.json it sets the build commands:

  • With a composer.json: composer install --no-dev --prefer-dist --no-interaction --no-ansi --no-progress
  • With a package.json: install and run build with the package manager its lock file names: npm, pnpm, yarn or Bun

npm and pnpm are installed in the build. For yarn and Bun, see the limits of the build.

Written by humans and AI in collaboration.

AI use & editorial processEdit on GitHub ↗