Skip to content

A new tab page replacement for Google Chrome and Firefox 60+, featuring the latest pony wallpaper from Derpibooru.org

License

Notifications You must be signed in to change notification settings

SeinopSys/Derpi-NewTab

Repository files navigation

Derpi-New Tab Chrome Screenshot Derpi-New Tab Firefox Screenshot

Derpi-New Tab Extension Logo Derpi-New Tab

A simplistic "New tab" page replacement for Google Chrome and Firefox which features pony wallpapers from Derpibooru.org.

Download Derpi-New Tab from the Chrome Web Store Download Derpi-New Tab from Firefox Add-ons

Download Derpi-New Tab from the Chrome Web Store Download Derpi-New Tab from Firefox Add-ons

Build instructions

  1. Install the latest version of Node.js and NPM for your platform
  2. Execute npm ci in the root directory
  3. Execute npm run postintall in the root directory
  4. Execute npm run build in the root directory

After this, the contents of the derpinewtab folder is the build output. Additionally, a zip file is created in the root folder named derpinewtab.zip, which gets uploaded to the extension hosting sites.

Sometimes node-7z-archive can fail to install binaries, in which case step 2 will fail with an error similar to this:

Error: spawn (…)\node_modules\node-7z-archive\binaries\win32\7za.exe ENOENT

In this case the build actually succeeded, and only the final zipping step failed. You can simply use the contents of the derpinewtab folder and/or zip it manually using your favourite tool.

Explanation

For a one-time build, simply install the dependencies using npm ci then execute npm run postintall which will copy the necessary 3rd-party code to the derpinewtab/js/vendor directory, then finally run npm run build which will create a zip archive containing the extension code.

The files generated by this script are tied to the source files, so they are in the repository's .gitignore to prevent them from being committed.