Show HN: Turtle, an importable coreutils implementation in Go
Category: library
Tags: go, coreutils, filesystem, shell, cross-platform
Score: 5.5/10 (Innovation: 6, Technical: 6, Documentation: 5, Utility: 5)
Turtle is a pure-Go, cross-platform reimplementation of Unix coreutils designed to be imported as a library rather than used as a CLI. It includes a filesystem abstraction (fsx) supporting in-memory and system FS, and a middleware for integrating with mvdan/sh for shell scripting on Windows. The isolated-state, dependency-free design makes it useful for embedding shell environments or sandboxed file operations in Go programs.
Target audience: Go developers, backend devs, and tooling engineers building cross-platform applications or embedded shells
Repository: https://github.com/charmbracelet/turtle · Go · Apache-2.0 · 16 stars
View on Hacker News