Cue Backup 🐸
cue-backup
helps you download a safe offline copy of your favorite insider drop aggregator website. It has all the functionality of the original site, but works even when you are offline (or if the original disappears).
Installation
-
Download and install the LTS version of Node.js for your operating system.
-
Download and unzip this repository onto your computer. Use the green "Code" button above. (Or use
git clone
if you are familiar.) -
Open up a command prompt or terminal in the
cue-backup
folder you just unzipped. (Tutorial here if you don't know how.) -
Type
npm install
into the command prompt to install the required dependencies.
Usage
-
Type
node backup
into the command prompt to download the site. This may take a while depending on your internet connection. If you see any errors, run the command again until it completes successfully. (You can also specify an alternate URLnode backup https://anothersite.pub
.) -
Whenever new posts appear you can run the backup command again and it will incrementally download anything new.
-
Once your backup is complete you can type
npm start
into the command prompt to launch the local version of the site. This should automatically open the site in a web browser for you. -
Press
CTRL-C
inside the terminal window to stop the web server.
Under the Hood
cue-backup
uses a headless (no screen display) version of the Chrome Browser powered by Puppeteer to load the website, download all the assets and produce a version which works entirely offline. Requests are throttled to avoid straining the server. You can adjust the throttle settings at the top of backup.js
.
It should work on Mac, Linux and Windows.