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 cb1626bf95
switched to flex layout
2 weeks ago
template switched to flex layout 2 weeks ago
.gitignore initial commit 4 months ago
README.md initial commit 4 months ago
generate.pl switched to flex layout 2 weeks ago
links.json.example added placeholders 4 months 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.