# Repository: anomalyco/sst # Stars: 25846 ## CLAUDE.md ## Layout - `platform/` — TS Pulumi components embedded via `//go:embed` (`platform/platform.go:16`) - `examples/` — sample apps - `cmd/sst/` — Go CLI entry, orchestrates everything - `cmd/sst/mosaic/` — live dev TUI - `pkg/server/` — JSON-RPC bridge for custom Pulumi dynamic providers (`rpc/rpc.ts` ↔ `pkg/server`) - `pkg/bus/` — pub/sub event bus - `sdk/js/` — runtime SDK for reading linked resources - `www/` — docs site (auto-generated from JSDoc comments in platform and extracted from the Go CLI) ## Commands - **Setup**: `bun run setup` - **Build platform**: `bun run build:platform` - **Build CLI**: `bun run build:cli` - **Run CLI locally**: `cd examples/ && go run ../../cmd/sst ` - **Go tests**: `bun run test:cli` - **Typecheck**: `bun run typecheck` - **Generate docs**: `bun run docs:generate` - **Run docs locally**: `bun run docs:dev` ## Verification 1. Build the platform 2. `cd examples/ && bun install` 3. `go run ../../cmd/sst deploy` 4. Verify with `curl` or AWS CLI 5. Don't clean up unless told to ## README.md

SST

Discord npm Build status

--- Build full-stack apps on your own infrastructure. ## Installation If you are using SST as a part of your Node project, we recommend installing it locally. ```bash npm install sst ``` If you are not using Node, you can install the CLI globally. ```bash curl -fsSL https://sst.dev/install | bash ``` To install a specific version. ```bash curl -fsSL https://sst.dev/install | VERSION=0.0.403 bash ``` To use a package manager, [check out our docs](https://sst.dev/docs/reference/cli/). #### Manually Download the pre-compiled binaries from the [releases](https://github.com/sst/sst/releases/latest) page and copy to the desired location. ## Get Started Get started with your favorite framework: - [Next.js](https://sst.dev/docs/start/aws/nextjs) - [Remix](https://sst.dev/docs/start/aws/remix) - [Astro](https://sst.dev/docs/start/aws/astro) - [API](https://sst.dev/docs/start/aws/api) ## Learn More Learn more about some of the key concepts: - [Live](https://sst.dev/docs/live) - [Linking](https://sst.dev/docs/linking) - [Console](https://sst.dev/docs/console) - [Components](https://sst.dev/docs/components) ## Contributing Here's how you can contribute: - Help us improve our docs - Find a bug? Open an issue - Feature request? Submit a PR ## Running Locally Run `bun run setup`. You need [Go](https://go.dev/) and [Bun](https://bun.sh/) installed. Now you can run the CLI locally on any of the `examples/` apps. ```bash cd examples/aws-api go run ../../cmd/sst ``` If you want to build the CLI binary, run `bun run build:cli`. This will create a `sst` binary that you can use. For building the docs, run `bun run docs:generate` and `bun run docs:dev`. --- **Join our community** [Discord](https://sst.dev/discord) | [YouTube](https://www.youtube.com/c/sst-dev) | [X.com](https://x.com/SST_dev)