Open-source projects categorized as Router

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.

    Project mention: Different CORS settings for different paths? | /r/golang | 2023-09-06

    I have created an application with Go in Gin-Gonic. In my frontend (Nuxt3/TypeScript) I always get a CORS error:

  • react-router

    Declarative routing for React

    Project mention: 13 Must Know Libraries for a React Developer | | 2023-08-15

    React Router is the most popular library to implement routing in React apps. It has more than 50K stars on GitHub and more than 10 million weekly downloads on NPM and it's built by the same team behind the popular Remix framework of React.

  • Appwrite

    Appwrite - The open-source backend cloud platform. The open-source backend cloud platform for developing Web, Mobile, and Flutter applications. You can set up your backend faster with real-time APIs for authentication, databases, file storage, cloud functions, and much more!

  • vue-router

    🚦 The official router for Vue 2

    Project mention: Build complex SPAs quickly with vue-element-admin | | 2023-03-30

    //src/router /* eslint-disable */ import Vue from 'vue' import Router from 'vue-router' Vue.use(Router) import Layout from '@/layout' export const constantRoutes = [ { path: '/redirect', component: Layout, hidden: true, children: [ { path: '/redirect/:path(.*)', component: () => import('@/views/redirect/index') } ] }, { path: '/login', component: () => import('@/views/login/index'), hidden: true }, { path: '/auth-redirect', component: () => import('@/views/login/auth-redirect'), hidden: true }, { path: '/404', component: () => import('@/views/error-page/404'), hidden: true }, { path: '/401', component: () => import('@/views/error-page/401'), hidden: true }, { path: '/', component: Layout, redirect: '/dashboard', children: [ { path: 'dashboard', component: () => import('@/views/dashboard/index'), name: 'Dashboard', meta: { title: 'Dashboard', icon: 'dashboard', affix: true } } ] }, { path: '/posts', component: Layout, children: [ { path: 'index', component: () => import('@/views/posts/index'), name: 'Posts', meta: { title: 'Posts', icon: 'post', affix: true } } ] }, { path: '/profile', component: Layout, redirect: '/profile/index', hidden: true, children: [ { path: 'index', component: () => import('@/views/profile/index'), name: 'Profile', meta: { title: 'Profile', icon: 'user', noCache: true } } ] } ] /** * asyncRoutes * the routes that need to be dynamically loaded based on user roles */ export const asyncRoutes = [ // 404 page must be placed at the end !!! { path: '*', redirect: '/404', hidden: true } ] const createRouter = () => new Router({ scrollBehavior: () => ({ y: 0 }), routes: constantRoutes }) const router = createRouter() // Detail see: export function resetRouter() { const newRouter = createRouter() router.matcher = newRouter.matcher // reset router } export default router

  • µWebSockets

    Simple, secure & standards compliant web server for the most demanding of applications

    Project mention: Recommendations for a CPP HTTP server which supports changing max threads at run time. | /r/cpp | 2023-06-05

    You can do that with any single threaded library that leaves threading to you. Like for example

  • httprouter

    A high performance HTTP request router that scales well

    Project mention: Authentication system using Golang and Sveltekit - Initialization and setup | | 2023-06-02

    Following the completion of the series — Secure and performant full-stack authentication system using rust (actix-web) and sveltekit and Secure and performant full-stack authentication system using Python (Django) and SvelteKit — I felt I should keep the streak by building an equivalent system in PURE go with very minimal external dependencies. We won't use any fancy web framework apart from httprouter and other basic dependencies including a database driver (pq), and redis client. As usual, we'll be using SvelteKit at the front end, favouring JSDoc instead of TypeScript. The combination is ecstatic!

  • chi

    lightweight, idiomatic and composable router for building Go HTTP services

    Project mention: The Gorilla web toolkit project is being revived, all repos are out of archive mode. | /r/golang | 2023-07-12

    In fact, it has zero dependencies outside of std lib in it's core:

  • vector

    A high-performance observability data pipeline.

    Project mention: Self hosted log paraer | /r/selfhosted | 2023-06-20

    opensearch - amazon fork of Elasticsearch you do this an have distributed log sources you'd use logstash for, bin off logstash and use vector ( its better out of the box for SaaS stuff.

  • SurveyJS

    A Non-Cloud Alternative to Google Forms that has it all.. SurveyJS JavaScript libraries allow you to easily set up a robust form management system fully integrated into your IT infrastructure where users can create and edit multiple dynamic JSON-based forms in a no-code form builder. Learn more now.

  • Mithril.js

    A JavaScript Framework for Building Brilliant Applications

    Project mention: Lodash just declared issue bankruptcy and closed every issue and open PR | | 2023-09-16

    The submitter creating multiple var -> let PRs (one PR per file), was also doing this in other projects, and would've broken some of their users.

    And he created multiple PRs there too. And didn't follow their workflow...

  • ui-router

    The de-facto solution to flexible routing with nested views in AngularJS

  • lantern

    Lantern官方版本下载 蓝灯 翻墙 代理 科学上网 外网 加速器 梯子 路由 - Быстрый, надежный и безопасный доступ к открытому интернету - lantern proxy vpn censorship-circumvention censorship gfw accelerator پراکسی لنترن، ضدسانسور، امن، قابل اعتماد و پرسرعت (by getlantern)

    Project mention: GitHub - getlantern/lantern: Lantern官方版本下载 蓝灯 翻墙 代理 科学上网 外网 加速器 梯子 路由 - Быстрый, надежный и безопасный доступ к открытому интернету - lantern proxy vpn censorship-circumvention censorship gfw accelerator پراکسی لنترن، ضدسانسور، امن، قابل اعتماد و پرسرعت | /r/zed_khayemal_basij | 2022-10-27
  • single-spa

    The router for easy microfrontends

    Project mention: Use web components for what they’re good at | | 2023-08-23

    I’ve actually done that “web components as the interoperability layer”!

    It was this old angular 1.8 app with new features being written in angular-hybrid-ized angular 8. Ripping out angular-hybrid and separating the angular 1.8 routes from the modern angular routes was difficult, but now they were totally separate.

    The only thing linking them together was an object with some RXJS streams in it for state, and a little in-house wrapper “app” who just loaded one component or another depending on the URL and a hash of routes for config. (I’d probably use SingleSPA [1] now. Same thing really.)

    We could deploy them separately since the build just ends up being another JS file somewhere that just gets included with a script tag at runtime. No version bumping! No big mega build!

    We started replacing the remaining “old” routes 1 by 1 with a “new” counter part. That was the easiest part, and went at a pace devs were comfortable with (fast enough) and business folk could tolerate. (modular enough to not HAVE to be done all at once)

    Last I checked, the angular 1.8 stuff is gone years ago. :)


  • routersploit

    Exploitation Framework for Embedded Devices

    Project mention: I forgot my Router's password and I can just press Reset Button on router.. but is there any fun way to change the password? I know the Wifi's Username/Pass and Router's admin name. | /r/HowToHack | 2023-01-12
  • barba

    Create badass, fluid and smooth transitions between your website’s pages.

    Project mention: Seamless Transition Using Highway.js/Barba.js | /r/learnjavascript | 2023-06-30

    It's using Highway.js or Barba.js I am not using any framework on this project.

  • path-to-regexp

    Turn a path string such as `/user/:name` into a regular expression

    Project mention: NextJS 13 - Protecting dynamic routes with middleware file | /r/nextjs | 2023-04-17

    Matchers use path-to-regex, which doesn’t follow regex exactly:

  • routing

    Maps an HTTP request to a set of configuration variables

    Project mention: olvlvl/composer-attribute-collector v1.2.0 | /r/PHP | 2023-03-25

    Packages that support attributes for configuration need to roll out their own attribute collector for PHP doesn't provide a feature to query the entire code base for attributes. For example, here's one of the classes that deal with attributes for symfony/routing: That's what this plugin offers: "a convenient and near zero-cost way to retrieve targets of PHP 8 attributes.". If you're not the maintainer of a package that deals with attributes you probably don't need that.

  • hono

    Lightweight, Ultrafast, Web Standards

    Project mention: Bun, Hono, Vite, TailwindCSS: An amazing combination has just been revealed! | | 2023-09-10

    Bun is great, yes!, Lately everyone is amazed and I was able to play around with it today, and I found it is pretty awesome to use it alongside with Hono, Vite and TailwindCSS.

  • uWebSockets.js

    μWebSockets for Node.js back-ends :metal:

    Project mention: Ask HN: How do you handle WebSocket connections reconnect problem? | | 2023-06-03

    have you tried

  • KrakenD

    Ultra performant API Gateway with middlewares. A project hosted at The Linux Foundation

    Project mention: Share Your Code.. Share your most unique piece of Go code. | /r/golang | 2022-10-15

    KrakenD and Lura

  • wouter

    🥢 A minimalist-friendly ~1.5KB routing for React and Preact. Nothing else but HOOKS.

    Project mention: Finally switched to Vite after CRA. | /r/reactjs | 2023-07-04

    We're using wouter with great success. It's simple and effective for what we need from a router

  • 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: TanStack Router - Typesafe, state-management APIs, caching, framework agnostic | /r/reactjs | 2022-11-10

    Start a discussion about what you'd like to see and I'll do my best.


    Third party firmware for Asus routers (newer codebase)

    Project mention: OpenVPN Modem/Router | /r/OpenVPN | 2023-08-01

    Many (all?) of the ASUS routers supported by the Merlin firmware have OpenVPN built-in. If you have an ISP-provide modem/router, you may be able to put it in transparent bridge mode.

  • esp_wifi_repeater

    A full functional WiFi Repeater (correctly: a WiFi NAT Router)

    Project mention: Please help, A noob Question. | /r/esp8266 | 2023-05-26

    Have a look at one of the available WiFi repeaters (actually a WiFi NAT Router)

  • routing-controllers

    Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage in Express / Koa using TypeScript and Routing Controllers Framework.

    Project mention: Node.js 20 is now available | | 2023-04-18

    The standard is express. I say that with some glibness, but its the only true answer: a ton of the other higher level frameworks and pluggable middlewares still rely on the core express Request/Response types. And there are a ton of higher level frameworks, if the number of distinct replies wasn't obvious.

    I really like express + routing-controllers [1], if you're on typescript.


  • Amplication

    Amplication: open-source Node.js backend code generator. An open-source platform that helps developers build backends without spending time on boilerplate & repetitive coding. Including production-ready GraphQL & REST APIs, DB schema, DTOs, filtering, pagination, RBAC, & more.

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). The latest post mention was on 2023-09-16.

Router related posts


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

Project Stars
1 Gin 71,552
2 react-router 50,963
3 vue-router 19,009
4 µWebSockets 16,025
5 httprouter 15,770
6 chi 15,373
7 vector 14,402
8 Mithril.js 13,709
9 ui-router 13,610
10 lantern 13,570
11 single-spa 12,612
12 routersploit 11,394
13 barba 11,022
14 path-to-regexp 7,689
15 routing 7,486
16 hono 7,420
17 uWebSockets.js 6,486
18 KrakenD 5,737
19 wouter 5,489
20 router 5,137
21 4,767
22 esp_wifi_repeater 4,466
23 routing-controllers 4,202
Updating dependencies is time-consuming.
Solutions like Dependabot or Renovate update but don't merge dependencies. You need to do it manually while it could be fully automated! Add a Merge Queue to your workflow and stop caring about PR management & merging. Try Mergify for free.