Supported stacks
When you add an app, Coresmith reads the repository and fills in the stack. Add an app and the app's page only show the settings that apply to that stack.
PHP
- Laravel, Symfony and plain PHP.
- Version: from
.tool-versions, or fromrequire.phpincomposer.jsontogether with whatcomposer.lockallows. You can pick another on the app's page. - Extras: Laravel apps can run a queue worker or Horizon, and the scheduler. The app's page also offers Reverb when the app requires
laravel/reverb, and Inertia's server-side rendering when the app uses Inertia and has abuild:ssrscript.
Ruby
- Rails apps (with
bin/rails), Sinatra apps, and other Rack apps with aconfig.ru, such as Hanami, Roda or Grape. They run on Puma, soGemfile.lockneeds thepumagem. - Version: from
.tool-versions,.ruby-version, or therubyline in theGemfile. - Migrations: run for Rails apps, and for Sinatra apps that use
sinatra-activerecord. - Extras: Rails apps can run Sidekiq or Solid Queue.
JavaScript and TypeScript
- Runtimes: Node.js, Bun and Deno. The version comes from
.tool-versions,.nvmrc,.node-version, orenginesandpackageManagerinpackage.json. Deno reads.tool-versionsor.dvmrc. - Package managers: npm, pnpm, Yarn and Bun, picked from the lockfile.
- Servers: Next.js, Nuxt, SvelteKit, Astro with its Node adapter, AdonisJS 6, Angular with server-side rendering, and any app whose
startscript runs a server package such as Express, Fastify, Hono, Koa, NestJS or Elysia. Add an app names the server it finds, and the app's pages show it with its version, such as Express 5. A start script that runs a server Coresmith doesn't know goes under Other server. - React, Vue and Svelte: apps built by Vite, Create React App, Vue CLI or Svelte's Rollup template are served as files, with no server of their own. A path with no file of its own, such as
/orders/42, gets the app'sindex.html, so links to pages the app routes in the browser work. Add an app asks for the web root when the app builds somewhere other than the usual folder, such asdistfor Vite. - AdonisJS: Coresmith makes an
APP_KEY, and setsLOG_LEVELtoinfoandSESSION_DRIVERtocookie, which you can change. Add anything elsestart/env.tsrequires to the app's environment.
Coresmith won't start a development server. If the start script runs vite dev, next dev, nodemon or similar, Add an app says so and suggests a production command. Keep the app in the foreground, with pm2-runtime in place of pm2 start, and compile TypeScript in the build so the app doesn't compile it on every start.
Python
- Django, Flask, FastAPI and Starlette, and other apps whose
Procfileweb line starts them with gunicorn or uvicorn. - Dependencies: installed with the tool the repository locks them with: uv for
uv.lock, Poetry forpoetry.lock, Pipenv forPipfile.lock, or fromrequirements.txtorpyproject.toml. Development dependencies stay out. - Version: from
.tool-versions,.python-version,requires-pythonor Poetry'spythonline inpyproject.toml, orruntime.txt. When the repository allows it, Coresmith picks Python 3.14 over 3.15, since more packages ship ready-built for it. - Django: Coresmith runs
collectstaticwhen the settings setSTATIC_ROOT, and runsmigrate. Django answers only for the domains inALLOWED_HOSTS. If your settings list fixed domains without the app's, Add an app says so and shows the line to change. - Alembic: apps with
alembic.inirunalembic upgrade head. - Extras: apps that use Celery get Celery worker and Celery beat switches, once Coresmith finds the Celery app in a package's
celery.py, or incelery_app.py,tasks.pyorworker.py. - Django and Flask apps get a
SECRET_KEYwhen you add them.
Go
- Any Go web app, on plain
net/httpor a framework such as Gin, Echo, Fiber, Chi, Gorilla, Iris, Hertz, Beego, Buffalo, go-zero, Kratos, GoFrame, Huma or Connect, and gRPC services. - Version: from
.tool-versions, or thegoandtoolchainlines ingo.mod, read as a minimum, as Go does. - Which program runs: every main package in the module builds. The one that starts a server runs as the app. When several do, Add an app asks which, and you can type the folder of one Coresmith didn't find. The others are on the app's path by name, for workers and cron jobs. Folders such as
examples,toolsandtestdataare skipped. - Port: the app listens on the port Coresmith gives it in
PORT. If the code reads another variable, such asLISTEN_ADDRorSERVER_PORT, Coresmith sets that one too. A port written into the code, or into Beego's or go-zero's config file, is refused when you add the app, with the line to change. - Frontends: a
package.jsonbesidego.modinstalls and builds first, so//go:embedfinds the built files. templ templates generate whengo.modrequires templ. - Migrations: goose runs before a release goes live when the app's environment sets
GOOSE_DRIVERandGOOSE_DBSTRING. - Coresmith can't build Encore apps or Revel apps yet.
Java
- Any Java web app that Maven or Gradle builds into something that runs on its own: Spring Boot, JHipster, Quarkus, Micronaut, Helidon, Dropwizard, Javalin and Vert.x apps, and plain apps whose jar names a
Main-Class. Kotlin and Groovy apps built the same way work too. - Build: the build skips tests. Maven uses the project's
mvnwwhen it has one. Gradle builds need the project'sgradlew, and a project without one is refused with the command that adds it. - Version: from
.tool-versions,.java-version,.sdkmanrcorsystem.properties, or from the build:java.versionor the compiler release inpom.xml, a Gradle toolchain orsourceCompatibility, or Kotlin'sjvmToolchain. Coresmith offers the long-term lines, 25, 21 and 17, and picks the oldest that meets what the build asks for. - Port: each framework gets its port in the variable it reads, such as
SERVER_PORTfor Spring Boot. Other apps readPORT. The memory Java may use follows the app's size, throughJAVA_OPTS, which you can change. Java apps start at the Medium size. - JHipster: monoliths build with the prod profile, and Coresmith makes the JWT secret it expects. Point the app at its database with
SPRING_DATASOURCE_URL,SPRING_DATASOURCE_USERNAMEandSPRING_DATASOURCE_PASSWORD. Gateways and microservices also need a Consul or Eureka registry, which Coresmith doesn't run. - Migrations: Flyway and Liquibase run when the app starts.
- Coresmith refuses WAR files meant for a servlet container such as Tomcat, and Android apps.
Static sites
- A repository with
index.htmlat its root or inpublic/, or one whose build writes static files, such as Vite without a framework, Angular without server-side rendering, Nuxt'sgenerate, SvelteKit's static adapter and Astro without an adapter. Add an app calls these Static. - Build: a static site with a build step builds with the tool its lockfile names: Bun for
bun.lockorbun.lockb, npm forpackage-lock.json, pnpm forpnpm-lock.yaml, Yarn foryarn.lock. With no lockfile, it builds with npm. To build with Bun, commit itsbun.lock. - Addresses: pages work without
.html, so/docs/introservesdocs/intro.htmlordocs/intro/index.html. When the site has a404.html, visitors to a page that doesn't exist get it.
Apps in a folder
When a repository holds apps in folders, Add an app shows a Folder field. It lists each folder, up to three levels down, that holds a composer.json, Gemfile, requirements.txt, pyproject.toml, Pipfile, go.mod, pom.xml, build.gradle, package.json, deno.json or index.html. The app installs, builds and runs from the folder you pick.
When Coresmith isn't sure
If the repository leaves a choice open, such as which framework or runtime, the field reads Pick one, and you choose. If something would stop the app from running, Add an app says what and what to change before you add it.
Not supported yet
- Other languages, such as Elixir, Rust or .NET.
- Apps inside a JavaScript workspace (npm, pnpm, Yarn or Bun workspaces).
- Docker images.