{"repo":"Blazity/next-maintenance-mode","free":true,"listed":false,"github":"https://github.com/Blazity/next-maintenance-mode","clone":"git clone https://github.com/Blazity/next-maintenance-mode.git","description":"🛠️ The intuitive cost-efficient middleware for effortless maintenance mode toggling. Supported by multiple configuration options and a straightforward API. Ready to integrate with Next.js app directory!","language":"TypeScript","stars":32,"topics":["middleware","nextjs","react","redis","vercel","maintenance-mode","maintenance-page","next13"],"license":null,"category":"databases-storage","readme_excerpt":"Next.js Maintenance Mode 🛠️ Overview next-maintenance-mode is a middleware specially designed for Next.js applications, enabling you to easily toggle maintenance mode on and off. When activated, it redirects users to a designated maintenance page. Its compatibility with configuration providers such as Upstash and Edge Config allows for flexible and dynamic maintenance state management. Motivation Setting up a maintenance mode in Next.js apps can be a hassle, particularly on certain hosting providers, which lack built-in support for this feature. Current methods are time-consuming and usually leave API routes vulnerable. To solve this, we've created a straightforward solution that lets you choose between two different providers, making the setup process for maintenance mode quicker and more cost-effective, without skimping on security. This solution also includes an optional caching feature to help save bandwidth. Provider Reads (free plan) ------------------ ---------------------- Vercel/Edge-Config 50k/month Upstash/Redis 300k/month (10k/day) Features - ⚡️ Next.js Compatibility : Out-of-the-box integration with the new Next.js app directory, providing a smooth user experience. - 🛠️ Seamless Integration : Designed to work hand-in-hand with Next.js applications, ensuring an intuitive setup process and seamless operation. - 📚 Provider Options : Offers the flexibility to choose between Upstash and Edge Config as configuration providers, allowing you to tailor the solution to ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Blazity","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Blazity/next-maintenance-mode/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}