Skip to content
@nyxstack

NyxStack

fast, minimal Go packages for APIs, tooling, and developer utilities. A collection of focused, zero-nonsense libraries to support the nyx framework.

🌑 NyxStack

High-performance, zero-dependency Go libraries engineered for developers who want clean APIs, strong typing, and production-ready tooling without the bloat. NyxStack packages are built to be fast, predictable, and composable—small pieces that click together into powerful systems.

🔧 What We Build

Everything in NyxStack snaps together into one cohesive backend framework called nyx — a full-stack Go toolkit built from small, sharp, zero-dependency modules.

Install the framework:

go get github.com/nyxstack/nyx

Or use the CLI to scaffold and manage projects:

go install github.com/nyxstack/nyx-cli/nyx@latest

Create and run your first app:

nyx init myapp
cd myapp
nyx run dev

Focused, minimal, rock-solid Go packages:

  • nyx — The complete NyxStack backend framework combining all modules into one unified developer experience.

  • nyx-cli — The command-line tool used to bootstrap, scaffold, and manage NyxStack backend services.

  • cli — Fluent CLI framework with automatic flag inheritance, type-safe args, lifecycle hooks, and full shell completion.

  • dotenv — Strict, standards-accurate dotenv parser with expansion, escapes, struct unmarshalling, and typed env access.

  • schema — Type-safe validation with JSON Schema export, unions, conditionals, i18n messages, and rich error APIs.

  • signals — Clean, channel-based OS signal handling for graceful shutdowns.

  • openapi — Programmatic OpenAPI 3.1 spec builder with reusable components and full generation.

  • color — Zero-dependency ANSI color/styling for expressive terminal output.

  • scalarui — Serve Scalar API Reference UI directly from Go with full customization.

  • i18n — Zero-dependency internationalization with extraction, formatting, and pluralization.

  • router — High-performance HTTP router with first-class OpenAPI generation and documentation syncing.

  • di — Lightweight dependency-injection container for clean, modular service wiring.

  • controller — Fluent controller/API layer using Go structs + tags for a full backend framework experience.

  • orm — Type-safe, high-performance ORM with automatic migrations and developer tooling.

🧩 Design Principles

Zero dependencies.
Every package stays lean and audit-friendly.

Fluent APIs.
Readable, chainable, and ergonomic with strong types.

Predictable execution.
Deterministic behavior and clear guarantees.

Composability first.
Each module stands alone or plugs cleanly into others.

🚀 The Mission

Build a unified toolbox for Go developers: fast, elegant, practical.
No frameworks masquerading as ecosystems—just sharp tools that do one job exceptionally well.

More libraries are in development. NyxStack will continue expanding into configuration, testing, APIs, data modeling, and more.

🤝 Contributing

Pull requests welcome.
All modules follow:

  • 100% Go
  • Zero external dependencies
  • Clear APIs, clean code
  • Tests + coverage
  • MIT license

🌘 Join the Stack

Watch the org for new releases.
NyxStack is just getting started.

Pinned Loading

  1. cli cli Public

    A fast, zero-dependency Go CLI framework with automatic flag inheritance, type-safe arguments, lifecycle hooks, context support, and full shell completion. Build fluent, powerful command hierarchie…

    Go

  2. scalarui scalarui Public

    A lightweight Go package for rendering and serving Scalar API Reference UI with full configuration support. Generate a complete, customizable OpenAPI docs page from Go using URLs or embedded specs.…

    Go

  3. openapi openapi Public

    OpenAPI package providing Go types to build full OpenAPI 3.1.0 specs programmatically. Define paths, operations, schemas, servers, security, and components in code, then export JSON or YAML. Suppor…

    Go

  4. schema schema Public

    Fluent, type-safe schema validation and JSON Schema generation for Go. Supports strings, numbers, arrays, objects, unions, conditionals, nullable/optional fields, custom errors, formats, and full i…

    Go

  5. dotenv dotenv Public

    Go dotenv parser with full grammar support: exports, quoted strings, escapes, variable expansion, inline comments, unquoted values, and empty keys. Includes struct unmarshalling, typed env access, …

    Go

Repositories

Showing 10 of 10 repositories
  • signals Public

    Lightweight Go package for clean, channel-based signal handling. Provides interrupt, terminate, hangup, user-defined signals, and stdin-based triggers. Supports composite shutdown channels for graceful server stops, CLI tools, daemons, and Kubernetes workloads with zero dependencies.

    nyxstack/signals’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Nov 18, 2025
  • cli Public

    A fast, zero-dependency Go CLI framework with automatic flag inheritance, type-safe arguments, lifecycle hooks, context support, and full shell completion. Build fluent, powerful command hierarchies with minimal code. Clean API, rich docs, and production-ready features.

    nyxstack/cli’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Nov 18, 2025
  • .github Public

    Github profile repo

    nyxstack/.github’s past year of commit activity
    0 0 0 0 Updated Nov 18, 2025
  • dotenv Public

    Go dotenv parser with full grammar support: exports, quoted strings, escapes, variable expansion, inline comments, unquoted values, and empty keys. Includes struct unmarshalling, typed env access, .env generation, prefix support, and complete configuration workflows. Fast, strict, and fully compatible with major dotenv standards.

    nyxstack/dotenv’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Nov 15, 2025
  • schema Public

    Fluent, type-safe schema validation and JSON Schema generation for Go. Supports strings, numbers, arrays, objects, unions, conditionals, nullable/optional fields, custom errors, formats, and full i18n error messaging. Build complex validation logic with a clean, chainable API and export standard JSON Schema.

    nyxstack/schema’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Nov 15, 2025
  • discussions Public

    discussions repository for github

    nyxstack/discussions’s past year of commit activity
    0 0 0 0 Updated Nov 15, 2025
  • openapi Public

    OpenAPI package providing Go types to build full OpenAPI 3.1.0 specs programmatically. Define paths, operations, schemas, servers, security, and components in code, then export JSON or YAML. Supports complex schemas, callbacks, authentication, and reusable components for complete API documentation.

    nyxstack/openapi’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Nov 15, 2025
  • color Public

    Color is a zero-dependency ANSI styling package for Go, providing fast helpers for text colors, bright variants, backgrounds, styles, 256-color mode, and full RGB/HEX support. Designed for CLIs, loggers, and developer tools that need clean, expressive terminal output with minimal overhead.

    nyxstack/color’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Nov 15, 2025
  • scalarui Public

    A lightweight Go package for rendering and serving Scalar API Reference UI with full configuration support. Generate a complete, customizable OpenAPI docs page from Go using URLs or embedded specs. Includes theming, auth, dev tools, custom CSS, and optional hot-reload for rapid development.

    nyxstack/scalarui’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Nov 15, 2025
  • i18n Public

    Nyx i18n is a zero-dependency internationalization library for Go with translation extraction, dictionaries, formatting, pluralization, and multi-language support. Write code with simple i18n helpers, auto-generate locale files, load dictionaries, and switch languages at runtime with minimal overhead.

    nyxstack/i18n’s past year of commit activity
    Go 0 MIT 0 0 0 Updated Nov 15, 2025

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…