{"id":19675380,"url":"https://github.com/baudev/gdpr-checker-backend","last_synced_at":"2025-08-09T03:52:28.699Z","repository":{"id":71059156,"uuid":"329130868","full_name":"baudev/gdpr-checker-backend","owner":"baudev","description":"The free and open-source GDPR compliance scanner","archived":false,"fork":false,"pushed_at":"2021-06-15T14:32:44.000Z","size":389,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-18T06:39:10.763Z","etag":null,"topics":["gdpr","gdpr-compliant","gdpr-cookie"],"latest_commit_sha":null,"homepage":"https://baudev.github.io/gdpr-checker-frontend/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/baudev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-12T22:39:16.000Z","updated_at":"2024-11-23T20:22:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"6461d3a9-2d8d-4ae9-b2c3-cfe5d581f548","html_url":"https://github.com/baudev/gdpr-checker-backend","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/baudev/gdpr-checker-backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baudev%2Fgdpr-checker-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baudev%2Fgdpr-checker-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baudev%2Fgdpr-checker-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baudev%2Fgdpr-checker-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/baudev","download_url":"https://codeload.github.com/baudev/gdpr-checker-backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/baudev%2Fgdpr-checker-backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269527574,"owners_count":24432442,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-compliant","gdpr-cookie"],"created_at":"2024-11-11T17:23:35.073Z","updated_at":"2025-08-09T03:52:28.621Z","avatar_url":"https://github.com/baudev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![banner](banner.png)\n\nThis repository contains the code of a backend trying to identify the sites respecting the GDPR or not.\nAn instance of this server is available at https://gdpr-checker.herokuapp.com/ \n\n\n\u003cdiv style=\"text-align:center\"\u003e\u003c/div\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/29781702/122070676-7562f300-cdf6-11eb-970f-7f286393e510.png\" height=\"500px\" /\u003e\u003cbr\u003e\n    \u003cb\u003eAn interface demo is available at https://baudev.github.io/gdpr-checker-frontend/\u003c/b\u003e\n\u003c/p\u003e\n\n\n## Installation\n\n- Install dependencies\n\n``` \nnpm install\n```\n\n- Edit the `.env` file. Do not forget to specify database credentials.\n\n- Run using `npm start:dev` or `npm start:prod`\n\n- Open https://localhost:8080\n\n## How to use it?\n\n- **/report**  \n*Method:* POST  \n*Param:* domain (string). E.g `https://www.google.com`. The URL of the website to analyze.  \n*Description:* Returns the related identifier of the requested domain.  \n*Returns:*  \n```json\n{\n    \"domain\": \"www.google.com\",\n    \"uuid\": \"9960b336-3cbd-4261-ba61-fb1f4d502f19\",\n    \"updatedAt\": \"2021-01-01T00:00:00.000Z\"\n}\n```  \n\n- **/report/:uuid**  \n*Method:* GET  \n*Param:* `uuid` (string). The uuid retrieved by the previous route.  \n*Description:* Returns an `EventStream` containing GDPR related information concerning the website.  \n*Returns:*\n```json\n{\n   \"percentage\":100,\n   \"report\":{\n      \"domain\":\"google.com\",\n      \"uuid\":\"c69d4eae-6e5b-45d6-8a79-6f5ac3cbfb73\",\n      \"createdAt\":\"2021-01-15T21:48:53.260Z\",\n      \"updatedAt\":\"2021-01-16T11:22:27.085Z\",\n      \"urls\":[\n         {\n            \"path\":\"google.com\",\n            \"isHttps\":true,\n            \"cookies\":[\n               {\n                  \"name\":\"NID\",\n                  \"domain\":\"google.com\",\n                  \"provider\":\"Google\",\n                  \"type\":\"Marketing\",\n                  \"description\":\"This cookies is used to collect website statistics and track conversion rates and Google ad personalisation\",\n                  \"retentionPeriod\":\"1 year\",\n                  \"termsLink\":\"https://privacy.google.com/take-control.html\",\n                  \"IP\":\"74.125.193.139\",\n                  \"countryCodeIso\":\"US\",\n                  \"hasAdequateLevelOfProtection\":false,\n                  \"country\":\"United States\"\n               }\n            ]\n         }\n      ]\n   }\n}\n```\n\n## TODO\n- [X] Create a release (with master branch, database migrations...)\n- [ ] Clean the code\n- [ ] Write tests\n- [ ] Implement more complex logic to detect non GDPR compliant websites\n- [ ] Scan several urls for each domain\n\n## CREDITS\n\n\u003cdiv\u003eIcons made by \u003ca href=\"https://www.flaticon.com/authors/smashicons\" title=\"Smashicons\"\u003eSmashicons\u003c/a\u003e from \u003ca href=\"https://www.flaticon.com/\" title=\"Flaticon\"\u003ewww.flaticon.com\u003c/a\u003e\u003c/div\u003e\n\n## LICENSE\n\n```\nMIT License  \n  \nCopyright (c) 2021 Baudev.  \n  \nPermission is hereby granted, free of charge, to any person obtaining a copy  \nof this software and associated documentation files (the \"Software\"), to deal  \nin the Software without restriction, including without limitation the rights  \nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell  \ncopies of the Software, and to permit persons to whom the Software is  \nfurnished to do so, subject to the following conditions:  \n  \nThe above copyright notice and this permission notice shall be included in all  \ncopies or substantial portions of the Software.  \n  \nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR  \nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,  \nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE  \nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER  \nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,  \nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE  \nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaudev%2Fgdpr-checker-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbaudev%2Fgdpr-checker-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbaudev%2Fgdpr-checker-backend/lists"}