Giter Site home page Giter Site logo

mikesprague / clean-start Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 2.0 11.26 MB

Open source new tab Chrome extension

Home Page: https://cleanstart.page

License: MIT License

JavaScript 27.43% HTML 3.13% Dockerfile 4.39% TypeScript 65.05%
chrome-extension javascript nodejs progressive-web-app pwa serverless-functions axios cloudflare-pages dayjs font-awesome

clean-start's Introduction

Clean Start

Open source new tab extension

Open in GitHub Codespaces

About

Uses

Demo

Demo available as a progressive web app (PWA):

Install

Build

  • Install dependencies npm install
  • Build extension npm run build:extension
    • This will create a build folder with the extension files and a clean-start-extension.zip file (used for submission to Chrome Store)

Local Development

  • Run/develop locally npm start

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:

  • UNSPLASH_ACCESS_KEY
  • UNSPLASH_SECRET_KEY
  • OPEN_WEATHERMAP_API_KEY

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.

clean-start's People

Contributors

dependabot[bot] avatar mikesprague avatar snyk-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fossabot nwachuya

clean-start's Issues

[Feature] API Tokens

first of all thanks for this awesome work!
I am really like this extension, I have started using it about year ago and it's really helpful.
I suggest if you can make a something like build server that other developers can use to build and test the extension on it without having to get the API token keys required from font awesome token, Dark Sky, Unsplash, and Google Maps.
I think this will also help people make their own customized version of the extension, I have many edits I need to do to the extension that will make my life easier.
Or if there is away to get these tokens for free (especially font awesome token) please let me know.
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.