Script to generate a simple, clean new tab page.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Rudis Muiznieks e28c1adb5e
better stylings
5 days ago
template better stylings 5 days ago
.gitignore initial commit 1 week ago
README.md initial commit 1 week ago
generate.pl added placeholders 1 week ago
links.json.example added placeholders 1 week ago

README.md

NewTabber

Simple script I use to generate my static new tab page.

Usage

Create a links.json containing the links you want. See links.json.example for an example. The icon attribute is the name of the Bootstrap icon to use. Each icon used is initially fetched from the web and then cached locally in an icon-cache directory for future uses.

You can also edit the files in templates and some of the variables defined at the top of generate.pl to customize the look and behavior of the page.

Then simply run the generate.pl script. It will create or overwrite an existing newtab.html in the same directory.

Installation

You'll need to install Perl, plus the Perl modules utf8, JSON, LWP::UserAgent, LWP::Protocol::https, and Storable either from CPAN or using your distribution's package manager.