{"id":17355189,"url":"https://github.com/zephinzer/prerender","last_synced_at":"2026-02-17T05:32:02.967Z","repository":{"id":39759706,"uuid":"192700889","full_name":"zephinzer/prerender","owner":"zephinzer","description":"Prerender","archived":false,"fork":false,"pushed_at":"2023-01-10T22:00:14.000Z","size":116,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-09T10:06:14.165Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/zephinzer.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}},"created_at":"2019-06-19T09:24:21.000Z","updated_at":"2020-06-23T04:47:51.000Z","dependencies_parsed_at":"2023-02-08T20:16:22.105Z","dependency_job_id":null,"html_url":"https://github.com/zephinzer/prerender","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zephinzer/prerender","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Fprerender","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Fprerender/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Fprerender/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Fprerender/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zephinzer","download_url":"https://codeload.github.com/zephinzer/prerender/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zephinzer%2Fprerender/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29534934,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T05:00:25.817Z","status":"ssl_error","status_checked_at":"2026-02-17T04:57:16.126Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-10-15T17:42:35.242Z","updated_at":"2026-02-17T05:32:02.951Z","avatar_url":"https://github.com/zephinzer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prerender Image\n\nThis repository contains a Prerender deployment packaged in a Docker image.\n\n# Quick Use\n\nRun:\n\n```sh\ndocker run -it -p 3000:3000 zephinzer/prerender:latest;\n```\n\nOpen your browser:\n\n```sh\nxdg-open \"http://localhost:3000/https://www.mycareersfuture.sg\"\n```\n\n# Get Started\n\n## Install Pre-Requisites\n\n- [Docker]()\n\n## Install Dependencies\n\n```sh\n# run this in the repository root\nnpm install\n```\n\n## Run locally\n\n\u003e Find out where you Chrome browser is and replace the variable below with the full absolute path of your Chrome\n\n```sh\nCHROME_LOCATION=/path/to/chrome npm start\n```\n\n## Build Docker image\n\n```sh\n# run this in the repository root\ndocker build -t zephinzer/prerender:latest .\n```\n\n## Run Docker container\n\n```sh\n# run this in the repository root\ndocker run -it -v $(pwd):/app -v $(pwd)/node_modules:/app/node_modules -p 3000:3000 zephinzer/prerender:latest;\n```\n\n# Configuration\n\n| Environment Variable | Description |\n| --- | --- |\n| `CHROME_FLAGS` | Defines the flags to start Chrome with. Defaults to `--no-sandbox --headless --disable-gpu --remote-debuggingport=9222 --hide-scrollbars` |\n| `CHROME_LOCATION` | Defines the absolute path to the location of Chrome. Defaults to `/usr/bin/chrome` |\n| `LOG_FLUENTD_HOST` | Defines the host where the FluentD service can be found. Defaults to `\"\"` - if left as default, disables FluentD |\n| `LOG_FLUENTD_PORT` | Defines the port where the FluentD service can be found. Defaults to `-1` - if left as default, disables FluentD |\n| `PRERENDER_PAGE_DONE_CHECK_INTERVAL_MS` | Defines the intervals in milliseconds between which prerender will attempt to verify that the page is done loading. Defaults to `1000` |\n| `PRERENDER_PAGE_LOAD_TIMEOUT_MS` | Defines the page load timeout in milliseconds. Defaults to `60000` |\n| `PRERENDER_USER_AGENT` | Defines the user agent header used by prerender. Defaults to `prerender-${PRERENDER_VERSION}` |\n| `SERVER_LOG_REQUESTS` | Defines whether prerender should log requests. Defaults to `true` |\n| `SERVER_PORT` | Defines the port on which the container will listen on for connections. Defaults to `3000` |\n\n# License\n\nCode herein is licensed under [the permissive MIT license](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephinzer%2Fprerender","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzephinzer%2Fprerender","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzephinzer%2Fprerender/lists"}