mikesprague / clean-start

Open source new tab Chrome extension
https://cleanstart.page
MIT License
11 stars 2 forks source link
axios chrome-extension cloudflare-pages dayjs font-awesome javascript jotai mantine nodejs progressive-web-app pwa react serverless-functions typescript vite

Clean Start

Open source new tab extension

Open in GitHub Codespaces

About

Uses

Demo

Demo available as a progressive web app (PWA):

Install

Build

Local Development

API Keys

NOTE: You will need API keys from OpenWeatherMap and Unsplash to build and run the serverless functions used as API endpoints for this extension. You can get API keys for both services for FREE (links below)

OpenWeatherMap

Unsplash

Once you have the API keys, make sure to set environment variables for each using the following names:

For local development, create a file in the root directory of this project named .dev.vars with the same format as a typical .env file:

UNSPLASH_ACCESS_KEY="xxxxxx"
UNSPLASH_SECRET_KEY="xxxxxx"
OPEN_WEATHERMAP_API_KEY="xxxxxx"

NOTE: for GH Codespaces development, you will need to set the env vars as Actions Secrets in the settings for your forked repo

License

MIT License

Copyright (c) 2024 Michael Sprague

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.