Script to generate a simple, clean new tab page.
This repository has been archived on 2023-09-23. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Rudis Muiznieks efb3bd70a7
switched to kagi for search bar
2023-09-21 07:43:24 -05:00
template switched to kagi for search bar 2023-09-21 07:43:24 -05:00
.gitignore initial commit 2022-11-23 12:00:14 -06:00
README.md initial commit 2022-11-23 12:00:14 -06:00
generate.pl switched to flex layout 2023-03-09 09:04:31 -06:00
links.json.example added placeholders 2022-11-23 13:37:23 -06:00

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.