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. 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.
I have created an application with Go in Gin-Gonic. In my frontend (Nuxt3/TypeScript) I always get a CORS error:
-
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!
-
//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: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465 export function resetRouter() { const newRouter = createRouter() router.matcher = newRouter.matcher // reset router } export default router
-
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 https://github.com/uNetworking/uWebSockets
-
Project mention: Authentication system using Golang and Sveltekit - Initialization and setup | dev.to | 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!
-
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: https://github.com/go-chi/chi/blob/master/go.mod
-
opensearch - amazon fork of Elasticsearch https://opensearch.org/docs/latestif you do this an have distributed log sources you'd use logstash for, bin off logstash and use vector (https://vector.dev/) 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.
-
Project mention: Lodash just declared issue bankruptcy and closed every issue and open PR | news.ycombinator.com | 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.
https://github.com/MithrilJS/mithril.js/pull/2880#pullreques...
And he created multiple PRs there too. And didn't follow their workflow...
-
-
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 -
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. :)
-
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
-
It's using Highway.js or Barba.js I am not using any framework on this project.
-
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: https://github.com/pillarjs/path-to-regexp
-
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: https://github.com/symfony/routing/blob/6.2/Loader/AnnotationClassLoader.php. 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.
-
Project mention: Bun, Hono, Vite, TailwindCSS: An amazing combination has just been revealed! | dev.to | 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.
-
Project mention: Ask HN: How do you handle WebSocket connections reconnect problem? | news.ycombinator.com | 2023-06-03
have you tried https://github.com/uNetworking/uWebSockets.js/
-
Project mention: Share Your Code.. Share your most unique piece of Go code. | /r/golang | 2022-10-15
KrakenD and Lura https://github.com/krakendio/krakend-ce https://github.com/luraproject/lura
-
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-10Start a discussion about what you'd like to see and I'll do my best. https://github.com/tanstack/router/discussions
-
Many (all?) of the ASUS routers supported by the Merlin firmware https://www.asuswrt-merlin.net/ have OpenVPN built-in. If you have an ISP-provide modem/router, you may be able to put it in transparent bridge mode.
-
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.
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.
Router related posts
- i2p.i2p: NEW Data - star count:1752.0
- GitHub - routup/routup: A lightweight, runtime agnostic and extendable routing library. Similar API as express and 228% faster.
- routup/routup: A lightweight, runtime agnostic and extendable routing library. Similar API as express and 228% faster.
- GitHub - routup/routup: A lightweight, runtime agnostic and extendable routing library. Similar API as express and 228% faster.
- Secure Programmable Router
- Routup: Lightweight and faster, extendable routing library for Node.js
- Cosmo Router: High Performance Federation v1 & v2 Router / Gateway
-
A note from our sponsor - SurveyJS
surveyjs.io | 27 Sep 2023
Index
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 | asuswrt-merlin.ng | 4,767 |
22 | esp_wifi_repeater | 4,466 |
23 | routing-controllers | 4,202 |