SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Router Open-Source Projects
-
Gin
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Learn how to use Go with Neon by exploring a demo Go API built with Gin plus PQ driver and how the API is used to create and manage E-bikes.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
-
Project mention: Node.js Frameworks Roundup 2024 — Elysia / Hono / Nest / Encore — Which should you pick? | dev.to | 2024-11-01
Hono is the creation of Yusuke Wada. He started the project 2021 because there were no good Node.js frameworks that worked well on Cloudflare Workers. Since then Hono as added support for a lot of other runtimes like Node.js, Bun and Deno.
-
-
Project mention: Writing an HTTP router for AWS Lambda functions from scratch with Go | dev.to | 2024-10-20
After some research I found out that the most popular approach is to use aws-lambda-go-api-proxy along with your favorite HTTP router like Gin or Chi. While this approach let's you use a popular HTTP router, it comes with the overhead of converting the APIGatewayProxyRequest to http.Request, so that it can be processed by the router. Another good HTTP routing library I found is LmdRouter which works directly with the APIGatewayProxyRequest and doesn't have the overhead of the conversion. The router implementation uses a hashmap to store the keys, however, matching a route to a handler is still O(n) where n is the number of routes. It iterates every route and uses a regex to match the path. Considering I wanted my lambda functions to execute as fast as possible to decrease request time and possibly reduce costs I started to wonder if I could do better.
-
Project mention: We built a new powerful JSON data type for ClickHouse | news.ycombinator.com | 2024-10-22
Use something like https://vector.dev which can put up an HTTP endpoint you can submit entries to, and it will batch and submit them to ClickHouse on your behalf and do all the buffering and other stuff. Vector is extremely reliable in my experience but I don't know the size of your operation. Vector can also do a lot of other stuff for you.
Realistically I think ClickHouse's features count as real-time, batching or not. The thing is, there is a cost to inserting things, it's a question of what the cost is. ClickHouse has a lot of overhead for an insert, and very little overhead for large OLAP queries, so amortizing the overhead with big writes is important. That's just a design tradeoff. Let's say you have 1mil events a second and you batch at 100k. You then get 10mil. You can just scale out the writes by standing up new nodes and scale them up by doing larger batches with more RAM available.
Most of the time you can get data through the pipeline quickly, in seconds (more than enough to spot problems) and you can use tools like ReplacingMergeTree or AggregatingMergeTree in order to scale up your write throughput in the event of multiple writers.
If you actually need sub-second or millisecond-level latency and you can't stand to lose even a single event, then you need to look into solutions like Materialize or Feldera which completely reframe the problem as an incremental computation problem.
-
They use (uWebSockets)[https://github.com/uNetworking/uWebSockets], which was written in C++, but has an interface to use in NodeJS. It's been really performant for me in my simple tests compared to other popular websocket libs that slow down fairly quickly.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Even third-party HTTP routers take conflict detection into consideration; for example, httprouter either matches one pattern or it doesn't. It is designed to become.
-
lantern
Lantern官方版本下载 蓝灯 翻墙 代理 科学上网 外网 加速器 梯子 路由 - Быстрый, надежный и безопасный доступ к открытому интернету - lantern proxy vpn censorship-circumvention censorship gfw accelerator پراکسی لنترن، ضدسانسور، امن، قابل اعتماد و پرسرعت (by getlantern)
-
Mithril JS is an excellent JS framework for writing web and mobile apps. It describes itself as:
-
-
Project mention: Tools and libraries widely used in micro frontend architectures! | dev.to | 2024-08-09
Official Website
-
-
Create badass, fluid and smooth transitions between your website's pages (https://barba.js.org) by Thierry Michel, Xavier Foucrier, Luigi De Rosa This one is really good - just the minimum API to make these transitions so good.
-
Project mention: Vanilla Prime: A simpler, more sustainable way of web development | news.ycombinator.com | 2024-08-27
-
router
🤖 Fully typesafe Router for React (and friends) w/ built-in caching, 1st class search-param APIs, client-side cache integration and isomorphic rendering.
Project mention: React Router has merged with Remix, should you use a different router? | dev.to | 2024-05-16The TanStack/router is a React router written in TypeScript so it's typesafe and it includes built-in caching. It is lightweight (12 KB) and has a lot of functionality. It goes beyond what wouter provides and has overlaps with features that React Router provides such as nested routes, file-based route generation, and automatic route prefetching. They provide a migration guide from React Router to TanStack/router that you can follow.
-
uWebSockets is web server written in C++. In our case we'll be using uWebSockets.js which has bindings to NodeJS. It can be used as a usual web server but the main feature is its WebSocket server. It is 10x faster than Socket.IO and 8.5x faster than Fastify. I have to say I haven't benchmarked it myself. I decided to use uWebSockets just because it feels more pure to my taste. For example it doesn't require Express it runs on it's own, also it doesn't have any additional wrappers or helper functions that "babysit" you. You just get a message and you handle it whatever the way you want it. So if you're ok with that approach and you need a faster WebSocket server then you should use uWebSockets.
-
-
Project mention: React Router has merged with Remix, should you use a different router? | dev.to | 2024-05-16
Wouter is a well-maintained routing library for React. It has minimal dependencies, is small (2.1 KB gzipped), and has the same basic components as React Router (Link, Switch, Redirect). It provides hooks for the location, the route, and the router, and the API is simple.
-
-
gateway
A Blazing Fast AI Gateway with integrated Guardrails. Route to 200+ LLMs, 50+ AI Guardrails with 1 fast & friendly API.
Project mention: Building Resilient GenAI pipeline with Open-source AI Gateway | dev.to | 2024-10-27Open this https://github.com/Portkey-AI/gateway and follow instructions or run the below command in your terminal. Make sure your NodeJs is installed in your machine.
-
Project mention: High-severity vulnerabilities affect a wide range of Asus router models | news.ycombinator.com | 2024-06-17
Any way to tell if these issues affect the community-developed, third-party "Merlin" firmwares?
1: https://www.asuswrt-merlin.net
-
esp32s and esp8266s are my favorite pieces of hardware... for $2 you can setup a wifi access point
https://github.com/martin-ger/esp_wifi_repeater
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Router discussion
Router related posts
-
Building a Go Application with Docker on AWS: Creating a RESTful Interface for Adding and Retrieving Items
-
We built a new powerful JSON data type for ClickHouse
-
Writing an HTTP router for AWS Lambda functions from scratch with Go
-
Hono for Express Developers: A Modern Alternative for Edge Computing
-
Hono – A Lightweight Back End Framework for Cloud-Native Applications
-
Porting systemd to musl Libc-powered Linux
-
Surfer is the first personal data scraper
-
A note from our sponsor - SaaSHub
www.saashub.com | 2 Nov 2024
Index
What are some of the best open-source Router projects? This list will help you:
Project | Stars | |
---|---|---|
1 | Gin | 78,703 |
2 | react-router | 53,060 |
3 | hono | 19,918 |
4 | vue-router | 18,993 |
5 | chi | 18,431 |
6 | vector | 17,787 |
7 | µWebSockets | 17,373 |
8 | httprouter | 16,608 |
9 | lantern | 14,596 |
10 | Mithril.js | 14,009 |
11 | ui-router | 13,529 |
12 | single-spa | 13,307 |
13 | routersploit | 12,180 |
14 | barba | 11,628 |
15 | path-to-regexp | 8,171 |
16 | router | 8,075 |
17 | uWebSockets.js | 8,021 |
18 | routing | 7,591 |
19 | wouter | 6,708 |
20 | KrakenD | 6,350 |
21 | gateway | 6,187 |
22 | asuswrt-merlin.ng | 5,310 |
23 | esp_wifi_repeater | 4,815 |