{"id":15673597,"url":"https://github.com/lmammino/prerender-daemon","last_synced_at":"2025-05-07T09:06:27.647Z","repository":{"id":25668307,"uuid":"29104118","full_name":"lmammino/prerender-daemon","owner":"lmammino","description":"Installer to have prerender/prerender running as daemon on a ubuntu/debian machine","archived":false,"fork":false,"pushed_at":"2017-01-19T19:43:14.000Z","size":7,"stargazers_count":12,"open_issues_count":2,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-07T09:06:18.015Z","etag":null,"topics":["installer","prerender","prerender-daemon","seo","seo-meta","seo-optimization","shell"],"latest_commit_sha":null,"homepage":"https://lmammino.github.io/prerender-daemon/","language":"Shell","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/lmammino.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":"2015-01-11T20:05:27.000Z","updated_at":"2017-03-24T16:36:54.000Z","dependencies_parsed_at":"2022-07-24T06:47:25.259Z","dependency_job_id":null,"html_url":"https://github.com/lmammino/prerender-daemon","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fprerender-daemon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fprerender-daemon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fprerender-daemon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmammino%2Fprerender-daemon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmammino","download_url":"https://codeload.github.com/lmammino/prerender-daemon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252847491,"owners_count":21813453,"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":["installer","prerender","prerender-daemon","seo","seo-meta","seo-optimization","shell"],"created_at":"2024-10-03T15:41:24.475Z","updated_at":"2025-05-07T09:06:27.630Z","avatar_url":"https://github.com/lmammino.png","language":"Shell","readme":"prerender-daemon\n================\n\nThis repository will help you to install/uninstall [prerender](https://github.com/prerender/prerender) as a system services on a linux machine using [System V init scripts](http://refspecs.linuxfoundation.org/LSB_3.1.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html).\n\nBy using this installer you will be able to start/stop a prerender instance as service (daemon):\n\n```bash\nsudo service prerender start|stop|restart\n```\n\n\n## Install\n\nThe installer assumes you've already installed [node.js](http://nodejs.org/), [npm](https://www.npmjs.org/)\n\nJust clone the repository with \n\n```bash\ngit clone https://github.com/lmammino/prerender-daemon.git\n```\n\nThen run \n\n```bash\nsudo prerender-daemon/install.sh\n```\n\n![Install script running example image](http://oi61.tinypic.com/os4v8k.jpg)\n\nand it will do all the following **hard work** for you:\n\n - Install prerender as global package\n - Creates a dedicate `prerender` user that will be used to run the daemon\n - Adds an init script to start the daemon\n - Starts the daemon\n\n\nThe installation command support few parameters:\n\n - `-h` or `--help`: Display the help\n - `-v` or `--verbose`: more verbose output\n - `-u` or `--uninstall`: Act as an unistaller removing prerender-daemon\n - `-p` or `--node-prefix`: specify a custom node prefix (eg. \"/usr\")\n - `-s` or `--server-script`: specify a custom server script that will be used to replace the default launch script (eg. to provide a custom configuration)\n\n\n## Advanced configuration\n\nIf you want to provide a custom script to run your prerender server (with custom configuration variables and plugins) you can use a custom `server.js` file (you have an example on [`config/server.js.dist`](/config/server.js.dist)) and pass its path as `--server-script` parameter to the installer script. This file will be copied and substituted to the default `server.js` script in your `node_modules` folder.\n\n\n## Uninstall\n\nJust run\n\n```bash\nsudo prerender-daemon/install.sh --uninstall\n```\n\nTo clean up everything that has been installed previously\n\n\n## License\n\nThis code is distributed under the MIT license. Please refer to the [LICENSE](/LICENSE) file to read the full version.\n\nContributions are always (and really) appreciated :wink:","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Fprerender-daemon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmammino%2Fprerender-daemon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmammino%2Fprerender-daemon/lists"}