Go Context

Open-source Go projects categorized as Context

Top 20 Go Context Projects

  1. chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: Go vs Rust: the only backend language debate that actually matters in 2026 | dev.to | 2026-05-14

    The broader ecosystem is settled too. Gin and Chi for HTTP routing, sqlc for type-safe queries, Wire for dependency injection if that’s your thing. The compiler errors are readable. Onboarding a new engineer onto a Go codebase takes days, not weeks.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. scs

    HTTP Session Management for Go

  4. kubernetes-mcp-server

    Model Context Protocol (MCP) server for Kubernetes and OpenShift

    Project mention: AI Alert Assistant: How n8n + LLM Replace Routine Diagnostics | dev.to | 2026-03-23

    Platform — kubernetes-mcp, digitalocean-mcp

  5. resh

    RESH ❯❯ Contextual shell history for zsh and bash

  6. oops

    🔥 Error handling library with context, assertion, stack trace and source fragments

  7. slacker

    Slack Bot Framework

  8. json-repair

    🔧 Repair JSON!Solution for JSON Anomalies from LLMs.

  9. lumen

    Save 30% token costs when using Claude Code, Codex, OpenCode for free - with open source, local semantic search. Works for small and large codebases and monorepos! Enterprise-ready and fully compliant via Ollama and SQLite-vec. (by ory)

    Project mention: AI coding is a nightmare. Am I the only one experiencing this? | news.ycombinator.com | 2026-07-02
  10. ai-context

    CLI tool to produce MD context files from many sources, to help interact with LLMs (ChatGPT, Llama3, Claude, etc.).

  11. pure

    :non-potable_water: Is a lightweight HTTP router that sticks to the std "net/http" implementation (by go-playground)

  12. secai

    Local-first AI Workflows with embedded devtools

  13. singleflight

    Duplicate function call suppression with context

    Project mention: Understanding Singleflight in Go | news.ycombinator.com | 2026-05-18

    This third-party implementation is better than stdlib's implementation in my opinion, since it respects context:

    https://github.com/janos/singleflight

  14. Kiwi Logs&Context

    Fast, structured, with filters and dynamic sinks. No levels. Logger & context keeper for Go language 🥝 It smells like a mushroom. (by grafov)

  15. ctxutil

    utils for Go context

  16. aibadger

    AI Badger - Local-first tool that extracts focused repo context for any AI chat (Claude, ChatGPT, Grok, etc.) without wasting tokens on irrelevant files.

    Project mention: Bypassing the Claude Code "Token Tax": Smart Code Reviews with Local Mapping | dev.to | 2026-07-07

    Full documentation: docs/usage.md

  17. goctx

    Get your context value faster

  18. pending

    Minimal in-memory deferred task scheduler for Go with ID-based debouncing, cancellation, concurrency limits, and graceful shutdown.

    Project mention: Show HN: Pending – a tiny pure-Go in-memory deferred task scheduler | news.ycombinator.com | 2026-02-28
  19. workerctl

    worker controller for graceful shutdown

  20. callonce-go

    Request-scoped deduplication and memoization for Go. Singleflight + caching, scoped to context.Context.

    Project mention: Show HN: callonce-go – singleflight and per-request caching for Go services | news.ycombinator.com | 2026-02-17
  21. ctxkey

    A library to manage context keys. Additionally implements conenience functions to log the keys with slog.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Go Context discussion

Log in or Post with

Go Context related posts

  • RaTeX: KaTeX-compatible LaTeX rendering engine in pure Rust

    5 projects | news.ycombinator.com | 7 May 2026
  • Learning Go in 2026: the honest guide for experienced developers

    1 project | dev.to | 6 Apr 2026
  • 🚀 Build a ☸️ Kubernetes ☸️ SRE Agent in Just Ten Minutes! ⏱️⚡

    1 project | dev.to | 2 Sep 2025
  • Adding Request ID to Go's requests

    2 projects | dev.to | 29 May 2025
  • Stop OOMs with Semaphores

    1 project | dev.to | 12 May 2025
  • How I Repaired Hallucinated JSONs from LLMs While Building LiveAPI

    1 project | dev.to | 22 Apr 2025
  • What is Rate Limiter and Why Use It?

    2 projects | dev.to | 7 Jan 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 12 Aug 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Context projects in Go? This list will help you:

# Project Stars
1 chi 22,639
2 scs 2,612
3 kubernetes-mcp-server 1,888
4 resh 1,057
5 oops 980
6 slacker 804
7 json-repair 380
8 lumen 242
9 ai-context 175
10 pure 153
11 secai 90
12 singleflight 88
13 Kiwi Logs&Context 26
14 ctxutil 26
15 aibadger 18
16 goctx 11
17 pending 7
18 workerctl 6
19 callonce-go 4
20 ctxkey 4

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com