Build a ZIP of the public site you can open offline, or host if vijitdua.com is down.
This page saves a read-only copy of the public site and downloads it as one ZIP. You can open that copy on your computer, or host the folder as a website.
Some pages, pictures, and interactive pieces can be missing. A contact form, signing in, comments, and video players still need vijitdua.com.
When someone opens a saved page, it asks vijitdua.com whether the live site is up. If it is, they are taken to the same page there. They stay on the copy if there is no internet, if vijitdua.com does not answer, or if whoever hosts the copy turned that check off.
If vijitdua.com is ever retired or no longer maintained, either due to neglect, choice, or mine for whatever reason, this keeps a piece of Vijit's digital footprint readable a little longer.
Anyone can host a copy, and anyone can retroactively edit one. A copy is for reference but can't be authoritatively trusted.
I, Vijit, will also try to regularly keep a copy maintained at vijitdua.github.io, but that is not a guaranteed promise, and that copy might often be out of date. That is why I encourage you to create your own archive if you found my blogs, or any other written content on this webpage, useful.
Each saved page shows “vijitdua.com • archive •” and the date in the header and the footer. Click that line, or More info, for the notice that travels with the ZIP. The download also includes manifest.json, with the time of the export and the list of files. Run this page again after the site changes when you want a newer copy.
This page builds the backup in your browser. It visits the public pages on vijitdua.com, one after another, and waits a moment between requests so one tab does not overwhelm the server. Each saved page keeps its styling, pictures, and scripts. When the walk is finished, your browser downloads one ZIP.
Unzip that download and the folder you get is the website. Open it with a small web server, or with the script included in the folder. The saved pages ask for their styling and scripts from the top of the site, so the folder has to be the whole website. Opening an HTML file by double-clicking it leaves those scripts unable to run. Hosting the folder under an extra part of the address has the same problem: the pages cannot find their files there.
That folder includes vd-archive.sh. From inside it, sh vd-archive.sh serve opens the copy on your computer. sh vd-archive.sh upgrade path/to/a-newer.zip swaps these files for a new export from this page. The upgrade does not download a ZIP by itself, and it does not upload the folder anywhere. Hosting is up to you. The folder has to sit at the root of that host, because the pages ask for their files from the top of the site. The README in the folder has the same note.
When someone opens a page from the archive, that page asks https://vijitdua.com/health/live whether the live site is up. The request goes to vijitdua.com, wherever the copy is hosted. If that address answers, the visitor is taken to the same page on vijitdua.com. If there is no internet, or vijitdua.com does not answer, they stay on the archive and can keep reading. The bar at the top of each archived page also has a link to the live site, for when you want to go there yourself. If you are looking at the archive while the live site is up, add ?noredirect=1 to the address and the page will stay where it is.
The copy is for reading. A contact form, signing in, comments, and the subscribe box still talk to the live server, so those need vijitdua.com. Some layouts, such as a carousel, only appear after the page has finished loading. Turn on “Wait for client render” in the options below when you want those included. You can also save a PDF of each blog post. Each PDF is stored next to that article inside the ZIP.
Chrome on a computer is the reliable way to build this ZIP. Safari on a Mac can sometimes finish, but hidden pages and a large download are shaky there. iPhone, iPad, and browsers that are not Chrome often leave files out. Leave this tab in front until the download starts. A tab sitting in the background can pause the work, and the ZIP then comes out missing pieces.
If vijitdua.com is ever retired or no longer maintained, either due to neglect, choice, or mine for whatever reason, this keeps a piece of Vijit's digital footprint readable a little longer. Anyone can host a copy, and anyone can retroactively edit one. A copy is for reference but can't be authoritatively trusted. I, Vijit, will also try to regularly keep a copy maintained at vijitdua.github.io, but that is not a guaranteed promise, and that copy might often be out of date. That is why I encourage you to create your own archive if you found my blogs, or any other written content on this webpage, useful. This page, vijitdua.com/archive, is where a fresh ZIP comes from. Each ZIP includes manifest.json, with the time of the export and the list of files, so a hosted copy can be checked against a new one.
Every archived page writes “vijitdua.com • archive • ” and the date in the header and the footer. Click that line, or More info, for the full notice about what the copy can do, why it exists, and the caution about edited copies. Run this page again after the site changes when you want a newer ZIP.
Keeps one tab from hammering the server
Uses ?archive=1 per page for instant motion (normal visitors unaffected)
No log entries yet. Start an export to see progress here.