https://github.com/seinopsys/derpi-newtab
A new tab page replacement for Google Chrome and Firefox 60+, featuring the latest pony wallpaper from Derpibooru.org
https://github.com/seinopsys/derpi-newtab
browser-extension chrome-extension derpibooru firefox firefox-addon firefox-extension firefox-webextension google-chrome notifications
Last synced: 6 months ago
JSON representation
A new tab page replacement for Google Chrome and Firefox 60+, featuring the latest pony wallpaper from Derpibooru.org
- Host: GitHub
- URL: https://github.com/seinopsys/derpi-newtab
- Owner: SeinopSys
- License: mit
- Created: 2015-08-04T18:53:14.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-06-12T15:48:03.000Z (over 1 year ago)
- Last Synced: 2025-04-11T02:13:10.653Z (6 months ago)
- Topics: browser-extension, chrome-extension, derpibooru, firefox, firefox-addon, firefox-extension, firefox-webextension, google-chrome, notifications
- Language: JavaScript
- Homepage:
- Size: 89.2 MB
- Stars: 8
- Watchers: 23
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Derpi-New Tab
A simplistic "New tab" page replacement for Google Chrome and Firefox which features pony wallpapers from [Derpibooru.org](http://derpibooru.org/).
![]()
## 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 directoryAfter 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.