Developer Tools · Frameworks & Platforms
Encore
Type safe backend development with infrastructure defined in application code
Encore is an MPL-2.0 open source backend framework for Go and TypeScript. Its CLI provisions local development infrastructure, while Encore Cloud can automate deployments into a customer’s AWS or GCP account. Teams can also build a standalone Docker image and operate deployment independently. The repository’s primary language is Go.
Key facts
- License
- MPL-2.0
- Main language
- Go
- Maintainer
- Encore and open source contributors
- First released
- 2021
- Latest release
- v1.58.8, October 20, 2026
- GitHub stars
- 11,667, October 2026
- Hosted option
- Encore Cloud, with a Free plan and Pro from $49 per member monthly, plus AWS or GCP environment, resource, tracing, and provider charges
What Encore is
Encore is an open source framework for building type safe distributed systems with declarative infrastructure. The repository was created on February 17, 2021, and lists 11,667 stars, 110 contributors, 145 releases, and Go as its primary language. Its public repository describes Encore.ts and Encore.go as backend frameworks for TypeScript and Go. The project includes the frameworks, parser, compiler, runtime, CLI, and local development tooling needed to develop and deploy applications. Encore Cloud is an optional platform for automated deployment and infrastructure management in customer owned AWS or GCP accounts. The repository uses the Mozilla Public License 2.0, while the cloud service has separate plans and charges.
How it works
Encore places application services and infrastructure semantics in code. Its documented primitives include APIs, services, PostgreSQL databases, Pub/Sub topics, caches, buckets, cron jobs, and secrets. The CLI runs applications locally and provisions local infrastructure, including databases and Pub/Sub. Its local dashboard includes an API explorer, service catalog, architecture diagrams, database explorer, and distributed tracing. The application model supports service to service calls, testing features, and deployment as a colocated process or distributed services. Encore parses the application to understand resource requirements, then applies those requirements locally, through Encore Cloud, or through a self managed Docker deployment. This approach connects application structure with deployment configuration, reducing separate coordination between code and infrastructure definitions.
Architecture and recent releases
The documented application languages are Go and TypeScript. The repository’s primary language field is Go, while its language breakdown also lists Rust and TypeScript. Rust is used in Encore.ts’s runtime, which works with Node.js to execute JavaScript code and handle framework functions. Encore’s abstractions cover common backend resources, but applications can also integrate external infrastructure through standard provider SDKs or third party APIs. Automated Encore Cloud provisioning targets AWS and GCP. The open source CLI can create a Docker image for deployment through an operator’s chosen container or infrastructure platform. This language and runtime arrangement lets teams use typed application code while retaining access to external services when the built in resource model is insufficient.
License and pricing
Encore’s open source components are licensed under MPL-2.0. The repository states that the framework, parser, compiler, runtime, CLI, and tools needed for development and self-hosting are open source. Encore Cloud has a Free plan with local development, two free cloud development environments, one million tracing events per month, seven day retention, and community support. Pro costs $49 per member monthly, plus $99 per AWS or GCP environment monthly and $2.50 per defined resource per environment monthly. Additional tracing costs $1.20 per million events after the included allowance. AWS or GCP usage is billed by the provider. Infrastructure spending therefore remains separate.
Limitations and how it compares
Encore reduces application infrastructure configuration, but it does not remove cloud operations or provider costs. Teams using self-hosted Docker deployments remain responsible for their chosen hosting platform and supporting services. Encore Cloud can provision infrastructure in a customer’s AWS or GCP account, while the open source path can operate without the cloud platform. Compared with Terraform, Encore starts from application resource semantics rather than provider specific configuration. Compared with Kubernetes, it supplies a higher level application model. Compared with Supabase, it targets code defined services and distributed backends. Choose Encore when a Go or TypeScript team values integrated local tooling and can accept its opinionated model.
Main features
- Code defined infrastructure. Declare services, APIs, databases, Pub/Sub, caches, buckets, cron jobs, and secrets as resources directly within application code.
- Local development tooling. The CLI provisions local infrastructure and opens a dashboard with API exploration, tracing, service catalog, diagrams, and database tools.
- Docker image builds. The CLI builds a standalone Docker image that operators can deploy through their chosen container or infrastructure platform.
- Cloud provisioning. Encore Cloud provisions declared resources in customer AWS or GCP accounts and supports automated deployment workflows.
- Preview environments. The Pro plan includes preview environments for pull requests, allowing changes to be tested before production deployment.
- Distributed observability. Encore tooling includes distributed tracing, metrics, logs, service views, and architecture diagrams tied to the application model.
Self-hosting Encore
Install the Encore CLI with Homebrew on macOS, the shell installer on Linux, or the PowerShell installer on Windows. Node.js is required for Encore.ts applications, and Docker is required for local databases. Run encore run to start the application and local dashboard. For deployment, use encore build docker to create a standalone image, then deploy it through a platform you operate. The documentation lists PostgreSQL among the supported backend primitives. Self-hosting does not require Encore Cloud, but the operator must manage hosting, networking, secrets, databases, backups, migrations, monitoring, and provider costs. The documents do not state universal minimum CPU or memory requirements.
Strengths
- Application code describes common infrastructure semantics.
- Docker export supports deployment outside Encore Cloud.
- The local dashboard combines development and observability tools.
- MPL-2.0 covers the documented self-hosting toolchain.
Drawbacks
- Application frameworks are documented for Go and TypeScript.
- Automated Encore Cloud provisioning targets AWS and GCP.
- Self-hosting leaves operations and provider billing with the operator.
What teams replace with it
Teams usually evaluate Encore when they want to move off Terraform, Kubernetes, Serverless Framework, Supabase.
For side-by-side commercial comparisons, browse our alternatives hub.
Open-source alternatives to Encore
- OpenFaaS
- Dapr
- Kubernetes
- Terraform
- Supabase
Frequently asked questions
Is Encore open source?
Yes. The repository uses the Mozilla Public License 2.0. Its documented open source scope includes the backend frameworks, parser, compiler, runtime, CLI, local development tools, and Docker image build path. Encore Cloud is a separate platform with Free, Pro, and Enterprise plans. The cloud service therefore follows distinct commercial terms from the open source components.
Which languages does Encore support?
The repository documents Encore.go and Encore.ts, supporting Go and TypeScript applications. Node.js is required for Encore.ts. The repository’s primary language is Go, while Rust appears in the repository because Encore.ts uses a Rust runtime alongside Node.js. This means Rust is part of the implementation rather than a documented application language.
Can Encore be self-hosted?
Yes. The CLI can build a standalone Docker image with encore build docker. Operators can deploy that image through their own container or infrastructure platform. They must operate the surrounding hosting, networking, databases, secrets, backups, monitoring, and upgrades themselves. Infrastructure ownership remains with the deploying team.
What does Encore Cloud cost?
The Free plan includes local development, two cloud development environments, one million tracing events monthly, and seven day retention. Pro costs $49 per member monthly, plus $99 per AWS or GCP environment and $2.50 per defined resource per environment monthly. Cloud provider usage is billed separately.
Where does Encore Cloud run production infrastructure?
Encore Cloud can provision and deploy production infrastructure in the customer’s AWS or GCP account. The customer pays that provider directly for infrastructure usage. Teams that prefer independent operations can build a Docker image and deploy it without Encore Cloud.
Similar projects to compare
- SupabaseApache-2.0Supabase is a Postgres development platform with authentication, generated APIs, realtime subscriptions, file storage, functions, and a dashboard. The main repository uses Apache-2.0, permitting commercial use under its terms. Hosted plans start at $0 per month, while teams can run the Docker configuration on their own infrastructure and manage operations independently.
- ActivePiecesMIT, Commercial License for enterprise featuresActivePieces is an open-source workflow automation platform for teams building flows, AI agents, tables, and MCP connections. Its core uses the MIT license, while enterprise features use a Commercial License. A hosted cloud exists with a free tier, paid plans from $20 monthly, and cloud or on-premises deployment options.
- AITableAGPL-3.0AITable is an AGPL-3.0 low-code platform that combines spreadsheet-style databases, forms, automation, dashboards, permissions, APIs, and embedding. It targets teams building collaborative internal tools and data applications. A hosted AITable.ai service exists alongside the self-hostable Open Source edition, while enterprise embedding and administration require separate commercial terms.
- AppSmithApache-2.0Appsmith is an Apache-2.0 low-code platform for building internal tools, dashboards, admin panels, and CRUD applications. It connects interfaces to databases and APIs, supports Docker and Kubernetes deployment, and offers Appsmith Cloud. Cloud pricing includes a free plan for up to five users, Business at $15 per user monthly, and Enterprise at $2,500 monthly for 100 users.
- AppwriteBSD-3-ClauseAppwrite is an open-source backend platform combining authentication, databases, storage, functions, messaging, hosting, realtime features, firewall controls, and MCP access. It is licensed under BSD 3-Clause, runs through Docker or Kubernetes when self-hosted, and is also available through Appwrite Cloud, which has a Free plan and paid database options.
- AutomaAGPL-3.0 and Automa Commercial LicenseAutoma is a Chrome and Firefox extension for building browser automations by connecting blocks. It supports form filling, screenshots, scraping, scheduled execution, workflow sharing, and standalone Chrome extension generation. The repository uses AGPL and Automa Commercial License terms, while ordinary local use runs in the browser without a required server.