{"id":13399500,"url":"https://github.com/hrbrmstr/gepetto","last_synced_at":"2025-06-17T21:36:33.025Z","repository":{"id":141238203,"uuid":"145881349","full_name":"hrbrmstr/gepetto","owner":"hrbrmstr","description":"🎎 ScrapingHub Splash-like REST API for Headless Chrome","archived":false,"fork":false,"pushed_at":"2018-08-24T05:01:05.000Z","size":249,"stargazers_count":14,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T02:36:39.597Z","etag":null,"topics":["hapi","hapijs","headless-chrome","node-js","nodejs","npm","r-cyber","splash"],"latest_commit_sha":null,"homepage":"https://hrbrmstr.github.io/gepetto/index.html","language":"JavaScript","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/hrbrmstr.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":"2018-08-23T16:40:43.000Z","updated_at":"2025-03-22T11:03:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"7f022781-4ff9-4929-9ba7-77d6c24a1e13","html_url":"https://github.com/hrbrmstr/gepetto","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hrbrmstr/gepetto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fgepetto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fgepetto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fgepetto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fgepetto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrbrmstr","download_url":"https://codeload.github.com/hrbrmstr/gepetto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fgepetto/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260443533,"owners_count":23010035,"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":["hapi","hapijs","headless-chrome","node-js","nodejs","npm","r-cyber","splash"],"created_at":"2024-07-30T19:00:38.529Z","updated_at":"2025-06-17T21:36:28.008Z","avatar_url":"https://github.com/hrbrmstr.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# gepetto\n\n[ScrapingHub Splash](https://github.com/scrapinghub/splash)-like REST API for [Headless Chrome](https://developers.google.com/web/updates/2017/04/headless-chrome) based on [Puppeteer](https://github.com/GoogleChrome/puppeteer/blob/v1.7.0/docs/api.md)\n\n## Description\n\nSplash is a lightweight, scriptable browser as a service with an HTTP API. This project aims to create the same for Headless Chrome and duplicate the high-level Splash API and offer similiar functionality as is provided by Splash's Lua interface (without supporting Lua).\n\nThe goal is not to become a full [WebDriver](https://www.w3.org/TR/webdriver/) (i.e. it's not aiming to replace [Selenium](https://www.seleniumhq.org/projects/webdriver/)) but to provide a straigthforward/concise facility for loading URLs in a javascript context and obtaining HTML, PDF or screenshot data back. \n\nIt requires a recent installation of [Node.js](https://nodejs.org/en/) and [npm](https://www.npmjs.com/).\n\n## Installation\n\n    npm install https://gitlab.com/hrbrmstr/gepetto.git --global \n\nor:\n\n    git clone git@gitlab.com/hrbrmstr/gepetto\n    cd gepetto\n    npm install [-g] # use -g for global installation which may require sudo on some systems\n\nThis will grab all the dependencies and also download a module-copy of Chromium for the platfor you are on.\n\n## What's Inside the Tin?\n\n### Starting the Server\n\nIf you only performed a local installation, then you can fire up `gepetto` in the module directory with:\n\n    $ node index\n    🚀 Launch browser!\n    👍 gepetto running on: http://localhost:3000\n\nIf you already have a service running on TCP port 3000, then you can change the port `gepetto` uses via:\n\n    $ PORT=#### node index\n\nIf you performed a global installation, you now have a `gepetto` command on your `PATH` and can just do:\n\n    $ gepetto\n\nor:\n\n    PORT=#### gepetto\n\nYou can use the `HOST` environment variable to change what IP address the service listens on.\n\n### API Documentation\n\nThere is online API documentation for `gepetto` at the `/documentation` endpoint. i.e., if you're running with the defaults, you can go go \u003chttp://localhost:3000/documentation\u003e and see the API documentation there. \n\nStatic documenation is avaiable at `docs/index.html` from the module's top-level directory.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fgepetto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrbrmstr%2Fgepetto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fgepetto/lists"}