{"id":19227317,"url":"https://github.com/drupal-spider/website-comparison","last_synced_at":"2025-02-23T10:25:33.941Z","repository":{"id":165383320,"uuid":"476109942","full_name":"drupal-spider/website-comparison","owner":"drupal-spider","description":"A simple Node.js tool to compare web pages between two sites.","archived":false,"fork":false,"pushed_at":"2023-06-05T01:50:30.000Z","size":31,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-04T22:19:38.474Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/drupal-spider.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-03-31T01:36:46.000Z","updated_at":"2022-10-20T02:57:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"57249ca3-5441-4909-9a2c-8dc6bec1e0a0","html_url":"https://github.com/drupal-spider/website-comparison","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupal-spider%2Fwebsite-comparison","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupal-spider%2Fwebsite-comparison/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupal-spider%2Fwebsite-comparison/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drupal-spider%2Fwebsite-comparison/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drupal-spider","download_url":"https://codeload.github.com/drupal-spider/website-comparison/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240301123,"owners_count":19779770,"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":[],"created_at":"2024-11-09T15:22:44.119Z","updated_at":"2025-02-23T10:25:33.852Z","avatar_url":"https://github.com/drupal-spider.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# website-comparison\nA simple tool to compare web pages between two sites. A common use case is to compare between production and stage site before deployment.\n\n## Install\n\n```bash\n# install required package\nnpm i\n```\n\n## Usage\n\nCreate a `.env` file in the root of this project:\n\nFor example\n\n```dosini\nWEBSITES = {\"production\": \"https://www.google.com\", \"host\": \"www.google.com\",\"stage\": \"https://www.google.com.au\"}\nBASE_PATH = /,/search?keys=business,/contact-us\nMAX_SHOT = 30\nVIEW_PORT = { \"width\": \"1440\", \"height\": \"600\" }\nHEADLESS = true\nMEM_SIZE = 1024\n```\n\nThe `.env` file contains the following arguments:\n\n* WEBSITES: The website addresses to check.\n* BASE_PATH: The base pathes of those site to check.\n* MAX_SHOT: The maximum number of screenshots will take or pages to check.\n* VIEW_PORT: The view port dimension.\n* HEADLESS: Whether to run browser in headless mode.\n* MEM_SIZE: The (approximate) maximum memory that jpeg-js should allocate while attempting to decode.\n\n## Run\n\n`npm run start`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrupal-spider%2Fwebsite-comparison","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrupal-spider%2Fwebsite-comparison","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrupal-spider%2Fwebsite-comparison/lists"}