chi

lightweight, idiomatic and composable router for building Go HTTP services (by go-chi)

Chi Alternatives

Similar projects and alternatives to chi

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better chi alternative or higher similarity.

Suggest an alternative to chi

Reviews and mentions

Posts with mentions or reviews of chi. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-11-16.
  • 4 Things to Consider When Choosing a Go API Framework
    5 projects | dev.to | 16 Nov 2021
    Eli Bendersky has an excellent series where they walk you through building a REST API in Go by first starting with the standard library and then introducing a router such as gorilla or chi and finally switching over to using a complete web framework. This series shows some of the downsides of sticking with the standard library entirely and how extra libraries such as the two router packages above can be extremely helpful.
  • Would it be better to use Frameworks or not ?
    3 projects | reddit.com/r/golang | 25 Oct 2021
    If you purely build a rest api using core modules will get you pretty far. There are multiple small wrappers out there that provide better routing and possibly a nicer api. As an example https://github.com/go-chi/chi is only 1K LOC and compatible with handleFunc.
  • Release v2.20.0 · gofiber/fiber
    2 projects | reddit.com/r/golang | 6 Oct 2021
    I really like chi. Feels like an extension for the go http lib
  • Migrating from PHP to Go
    26 projects | reddit.com/r/golang | 30 Sep 2021
    https://github.com/go-chi/chi for routing, it has a nice interface, and is extremely light on resources (not a big deal for a router, but if it's available with a nice API, why not?
    26 projects | reddit.com/r/golang | 30 Sep 2021
    I'm a big fan of [Twirp RPC](https://github.com/twitchtv/twirp), and [go-chi/chi](https://github.com/go-chi/chi) if I need to provide REST endpoints, authentication or other routing middleware. The "gorilla" set of packages are also useful, I always reach for gorilla/websocket if I need to do some websocket work. You can look at an example service in [go-bridget/notify](https://github.com/go-bridget/notify) - the main files to look at are under rpc/notify/notify.proto/.go, and the implementation which you write is under server/notify. If you'd create database drivers, I'd create a package under server/notify/mysql (for example), and then implement an interface for data retrieval/settings. It's on the todolist, if I'll ever need to implement anything other than JWT, or Redis. Comment if you have any questions or notes.
  • Router/mux for golang.
    1 project | reddit.com/r/golang | 5 Sep 2021
    I’m personally a fan of chi router. Fast, works with standard http package handlers.
  • What are your favorite packages to use?
    55 projects | reddit.com/r/golang | 15 Aug 2021
    chi for routing
    55 projects | reddit.com/r/golang | 15 Aug 2021
    Chi HTTP Router
    55 projects | reddit.com/r/golang | 15 Aug 2021
    Here is link number 2 - Previous text "Chi"
    55 projects | reddit.com/r/golang | 15 Aug 2021
    https://github.com/derision-test/go-mockgen for the best mocks Ive ever had in Go https://github.com/go-chi/chi for HTTP routing
  • Rest API boilerplate revolving Go-chi
    1 project | reddit.com/r/golang | 7 Aug 2021
  • What are the most useful packages you know for Go?
    15 projects | reddit.com/r/golang | 25 Jul 2021
    https://github.com/go-chi/chi - when net/http is not enough this is the router I use. gorilla/mux is slow, didn't bother trying anything else after chi.
    15 projects | reddit.com/r/golang | 25 Jul 2021
  • Noob here. Need recommendation for best REST API framework.
    12 projects | reddit.com/r/golang | 19 Jul 2021
    net/http + chi + ent
  • Create your own middleware in Chi
    1 project | dev.to | 15 Jul 2021
    chi is a lightweight, idiomatic and composable router for building Go HTTP services.

Stats

Basic chi repo stats
30
10,463
7.4
15 days ago

go-chi/chi is an open source project licensed under MIT License which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote Go jobs at our new job board 99remotejobs.com. There are 8 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.