Skip to content

Core Go

Core is a Go framework for the host-uk ecosystem - build, release, and deploy Go, Wails, PHP, and container workloads.

Installation

bash
# Via Go (recommended)
go install github.com/host-uk/core/cmd/core@latest

# Or download binary from releases
curl -Lo core https://github.com/host-uk/core/releases/latest/download/core-$(go env GOOS)-$(go env GOARCH)
chmod +x core && sudo mv core /usr/local/bin/

# Verify
core doctor

See Getting Started for all installation options including building from source.

Command Reference

See CLI for full command documentation.

CommandDescription
goGo development (test, fmt, lint, cov)
phpLaravel/PHP development
buildBuild Go, Wails, Docker, LinuxKit projects
ciPublish releases (dry-run by default)
sdkSDK generation and validation
devMulti-repo workflow + dev environment
pkgPackage search and install
vmLinuxKit VM management
docsDocumentation management
setupClone repos from registry
doctorCheck development environment

Quick Start

bash
# Go development
core go test              # Run tests
core go test --coverage   # With coverage
core go fmt               # Format code
core go lint              # Lint code

# Build
core build                # Auto-detect and build
core build --targets linux/amd64,darwin/arm64

# Release (dry-run by default)
core ci                   # Preview release
core ci --we-are-go-for-launch  # Actually publish

# Multi-repo workflow
core dev work             # Status + commit + push
core dev work --status    # Just show status

# PHP development
core php dev              # Start dev environment
core php test             # Run tests

Configuration

Core uses .core/ directory for project configuration:

.core/
├── release.yaml    # Release targets and settings
├── build.yaml      # Build configuration (optional)
└── linuxkit/       # LinuxKit templates

And repos.yaml in workspace root for multi-repo management.

Guides

Reference

Claude Code Skill

Install the skill to teach Claude Code how to use the Core CLI:

bash
curl -fsSL https://raw.githubusercontent.com/host-uk/core/main/.claude/skills/core/install.sh | bash

See skill/ for details.

Released under the EUPL-1.2 License.