{"id":21269732,"url":"https://github.com/b3none/gdprconsent","last_synced_at":"2025-07-11T05:31:24.836Z","repository":{"id":97389978,"uuid":"178275342","full_name":"B3none/gdprconsent","owner":"B3none","description":"A super flexible GDPR compliance / GDPR consent solution which, if implemented correctly, will make your site GDPR compliant.","archived":false,"fork":false,"pushed_at":"2023-12-24T17:28:54.000Z","size":274,"stargazers_count":9,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"development","last_synced_at":"2024-05-29T22:47:50.003Z","etag":null,"topics":["gdpr","gdpr-consent","gdpr-plugin","gdprconsent"],"latest_commit_sha":null,"homepage":"https://github.com/b3none","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/B3none.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-03-28T20:13:54.000Z","updated_at":"2024-05-29T22:47:50.004Z","dependencies_parsed_at":"2023-12-24T19:54:30.110Z","dependency_job_id":"0ff69825-7a9c-4a24-bc3f-a7a9fa73003b","html_url":"https://github.com/B3none/gdprconsent","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3none%2Fgdprconsent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3none%2Fgdprconsent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3none%2Fgdprconsent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3none%2Fgdprconsent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/B3none","download_url":"https://codeload.github.com/B3none/gdprconsent/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225693748,"owners_count":17509227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gdpr","gdpr-consent","gdpr-plugin","gdprconsent"],"created_at":"2024-11-21T08:10:46.295Z","updated_at":"2024-11-21T08:10:46.966Z","avatar_url":"https://github.com/B3none.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GDPR Consent\nA super flexible GDPR consent solution that, if implemented correctly, will make your site GDPR compliant.\n\n\nWhat can you tell me about GDPR? [This blog post](https://www.wired.co.uk/article/what-is-gdpr-uk-eu-legislation-compliance-summary-fines-2018) does an exceptional job at explaining it.\n\n## User Disclaimer\nThe current version, `1.0.0`, is the initial proof of concept and is subject to substantial change. As such we recommend that you watch the repository for releases:\n\n![Watch for releases](.github/README_ASSETS/watch_releases.png)\n\n## Installation\nTo install this project you will need to include the following code before all other scripts get loaded. If you do not do this then your site will not be able to be fully GDPR compliant as we cannot prevent other scripts from executing.\n```html\n\u003c!-- GDPR Consent --\u003e\n\u003cscript\u003e\n    // TODO: Implement config:\n    // https://github.com/b3none/gdprconsent#customisable-settings\n    window.gdprconsent = {};\n\u003c/script\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/b3none/gdprconsent@1.0.0/build/scripts/gdprconsent.min.js\"\u003e\u003c/script\u003e\n\n\u003c!-- Other scripts below this point --\u003e\n```\n\nYou should also include our default stylesheet using the following snippet:\n```html\n\u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/gh/b3none/gdprconsent@1.0.0/build/styles/gdprconsent.min.css\" /\u003e\n```\n\n#### *OR*\n\nIf the use of CDNs really isn't your style then please download the [latest release](https://github.com/b3none/gdprconsent/releases/latest) and replace the CDN urls with your own hosted version.\n\n## Customisable settings\nThis project allows you to specify custom settings.\nTo declare these settings you need to put a script tag above the library include containing the following:\n```html\n\u003cscript\u003e\n  window.gdprconsent = {\n    services: [\n      {\n        storage_key: '\u003cANY_KEY_YOU_WANT\u003e',\n        title: '\u003cTITLE_IN_SIDEBAR\u003e',\n        disable: function() {\n          // Callback used to disable the functionality\n        },\n        enable: function() {\n          // Callback to enable the functionality\n        },\n      }\n    ]\n  };\n\u003c/script\u003e\n```\n\n## Contributions\n\nWe're happy to accept contributions so long as you're open to constructive criticism! Nobody is perfect!\n\n## Versioning\n\nWe use [SemVer](http://semver.org/). For the versions available, see the [tags on this repository](https://github.com/b3none/gdprconsent/tags). \n\n## Authors\n\n* **Alex Blackham** - *Developer and Maintainer* - [B3none](https://github.com/b3none)\n\nSee also the list of [contributors](https://github.com/b3none/gdprconsent/contributors) who participated in this project.\n\n## Share the love\n\nIf you appreciate the project then please take the time to star our repository.\n\n![Star us](.github/README_ASSETS/star_us.png)\n\n## License\n\nThis project is licensed under the MIT License - see the [project license](license.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3none%2Fgdprconsent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb3none%2Fgdprconsent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3none%2Fgdprconsent/lists"}