Documentation

Piglet Run documentation - AI coding sandbox with PostgreSQL, JuiceFS, VS Code, and more.

Welcome to Piglet Run documentation!

Piglet Run is a lightweight runtime environment from Pigsty, designed as a cloud coding sandbox for AI Web Coding. It integrates PostgreSQL database, JuiceFS distributed storage, VS Code, JupyterLab, and more into a unified environment.

Documentation Structure

Our documentation follows the Diataxis framework, organized into four categories:

CategoryPurposeExample
ConceptUnderstand the principlesWhat is Piglet Run? How does snapshot work?
TutorialLearn step by stepInstall Piglet Run, Create your first project
TaskGet specific things doneBackup database, Deploy application
ReferenceLook up detailed infoConfiguration options, CLI commands

Core Features

FeatureDescription
🤖 AI CodingPre-installed Claude Code, VS Code, Jupyter, Python/Go/Node.js
🐘 Data PowerhousePostgreSQL 18 + 400+ extensions
💾 Shared StorageJuiceFS stores workspace in database
⏱️ Time MachineDatabase PITR + filesystem snapshots
🔀 Instant CloneCopy-on-Write database forking
🌐 One-Click DeployBuilt-in Nginx with auto SSL
📊 Full ObservabilityVictoriaMetrics + Grafana

About

Learn about Piglet Run project, its license, community, and how to get support.

Concept

Understand the core concepts, architecture, and design philosophy behind Piglet Run.

Tutorial

Step-by-step guides to learn Piglet Run from scratch.

Task

Goal-oriented guides for specific operations like backup, restore, deploy.

Reference

Detailed technical reference for CLI, configuration, services, and APIs.