Skip to content

arvidsandin/cookie-banner

Repository files navigation

cookie-banner

About The Project

cookie-banner is an easy way to comply with the GDPR regarding cookie consent. Rather than trying to deceive users into thinking that they have to press "Accept all cookies" and consequently getting a fine, cookie-banner is primary built to follow EU laws regarding consent. It minimizes resources put on ensuring GDPR compliance and can easily be put in any project, either with minimal setup or deeper configuration according to need.

Built With

Getting started

cookie-banner is available for React, Vue, Angular, and as an independent Web Component. For instructions, view the readme of the relevant directory:

Or go directly to the npm page:

Development

Since cookie-banneris build with Stencil, only the files in packages/stencil-library should be manually modified. To get a local copy up and running follow these steps.

Prerequisites

  • Node 18
  • npm

Installation

  1. Clone the repo
    git clone https://github.com/arvidsandin/cookie-banner.git && cd cookie-banner
  2. Install npm packages
    npm install
  3. Start local development server
    cd packages/stencil-library
    npm start

When creating the framework integrations, run npm build once in packages/stencil-library and then once in packages/angular-workspace, packages/react-library or packages/vue-library depending on which framework to build for.

License

Distributed under the MIT License. See LICENSE.txt for more information.

Acknowledgments

  • Thanks to Jens Hunt for supervising this project