Skip to content

refact0r/re-start

Repository files navigation

re-start

a tui-style browser startpage, built with svelte.

features:

  • todoist tasks integration
  • weather (from open-meteo)
  • customizable quick links
  • stats (load time, ping, fps, viewport size)
  • multiple color themes
  • lightweight & performant (<100kb including fonts, loads in <50ms)
image

installation

firefox

  1. go to https://addons.mozilla.org/en-US/firefox/addon/d004c62a8aed4f3b8ddd/.
  2. click "Add to Firefox".
  3. make sure to click "Add" and "Keep Changes" when prompted.

chrome/edge

  1. go to https://chromewebstore.google.com/detail/re-start/fdodcmjeojbmcgmhcgcelffcekhicnop.
  2. click "Add to [Browser]".
  3. make sure to click "Add extension" and "Keep it" when prompted.

usage tips

  • hover your cursor on the top right corner of the startpage, and you should see a settings button appear. click it to configure settings.
  • to get your todoist api token, open the todoist website and click your profile in the top left. then go to "Settings" > "Integrations" > "Developer" > "Copy API Token".
  • the 'x tasks' text is also a clickable link to todoist.
  • you can force a refresh of the weather and todoist widgets by clicking the top left panel labels.
  • the ping stat is based on how long a request to https://www.google.com/generate_204 takes. don't take it too seriously.
  • here's a matching firefox color theme!

development / build from source

  1. clone this repo.
  2. run npm i (you must have node.js).
  3. run npm run dev to run the page in dev mode at http://localhost:5173.
  4. run npm run watch to build the extension and watch for changes. this can be used with web-ext run to test in firefox.
  5. run npm run build:firefox or npm run build:chrome to build for production. the built extension will output to dist/firefox or dist/chrome respectively.