The 'HTML Simple Maintenance Page' is a lightweight maintenance page designed in a simple HTML format, requiring only one file.
git clone https://github.com/cable8mm/maintenance.git
Edit public/index.html
and upload files in public
folder.
Install npm packages:
npm install
And you can create and edit website with hotload.
npm run dev
At last, visit http://localhost:5174/. The port 5174 can be changed as needed. You are free to edit index.html
and the maintenance.png
image.
The website reloads whenever you save index.html
. Trust your eyes and instincts.
Copy the files located in the public
folder to the document root in your web server.
While FTP is good, using rsync would upload faster. Additionally, CI/CD is generally the best approach.
The Maintenance is open-sourced software licensed under the MIT license.