Getting started
Installation
Install Ply from the module proxy or scaffold a project
Installation
Ply can be added to an existing Go module or scaffolded with the CLI.
System requirements
| Component | Minimum version |
|---|---|
| Go | 1.26 |
| Git | 2.30 or newer |
| OS | Linux, macOS, Windows |
| RAM | 512 MB for CLI usage |
| Terminal | Bash, Zsh or PowerShell |
Go 1.26 or newer is required. fasthttp v1.77 sets the module's
godirective to1.26.0.
Install with the CLI
npx create-ply@latest my-appSee the CLI reference for details.
Manual installation
Create a project directory
mkdir my-projectEnter the directory
cd my-projectInitialize the Go module
go mod init github.com/yourusername/my-projectReplace
github.com/yourusername/my-projectwith your module path.
Install Ply
go get github.com/Dziqha/plyCreate main.go
package main
import (
"github.com/Dziqha/ply"
"github.com/Dziqha/ply/core"
)
func main() {
app := ply.New()
app.Get("/", func(c *core.Context) {
c.Text(200, "Hello from Ply")
})
app.RunServer(":8080")
}Run the application
go run main.goThe server listens on http://localhost:8080.

Ply