/homepage

A browser default new tab page

Primary LanguageJavaScript

Home of all homes

Motive

To sync bookmarks between all browsers.

A static page would do a lot of work. I just added a simple backend to make it more powerful, like syncing dynamic data cross browsers.

I'm setting the page (whether it's file or http schema) as browser new tab default page. Vivaldi and Edge supports this; Chrome will need another extension.

For the links you can also use other schemes like windows settings or vscode.

Usage

  1. clone here
  2. npm i
  3. add your bookmarks/configs to homepage.html and app.js
  4. npm start

Explanations

JIRA opener is the first dynamic part I felt I need, and it's just regex and url string concatenation, and later I wanted to store recently searched jiras and show them as links.

GTD is similar but does slightly more. Clicking on an item toggles active or inactive and copies the text content in case you'll need it elsewhere. If the text begins with something looks like a jira number it actually inserts it as a more persistant note to the recent jira search area.

DOM APIs like navigator.clipboard and localStorage are quite powerful for these tasks.