{"id":18663646,"url":"https://github.com/donpage/grid-composer","last_synced_at":"2026-04-28T17:35:13.781Z","repository":{"id":78524597,"uuid":"84740789","full_name":"DonPage/grid-composer","owner":"DonPage","description":"A layer on top of Selenium Docker that exposes docker-compose commands via API (using express)","archived":false,"fork":false,"pushed_at":"2017-05-25T18:07:03.000Z","size":22,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-18T04:37:08.259Z","etag":null,"topics":["docker-compose","docker-selenium","selenium-grid"],"latest_commit_sha":null,"homepage":"","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/DonPage.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":"2017-03-12T16:39:50.000Z","updated_at":"2017-04-28T17:18:44.000Z","dependencies_parsed_at":"2023-03-05T16:30:40.519Z","dependency_job_id":null,"html_url":"https://github.com/DonPage/grid-composer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DonPage/grid-composer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonPage%2Fgrid-composer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonPage%2Fgrid-composer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonPage%2Fgrid-composer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonPage%2Fgrid-composer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DonPage","download_url":"https://codeload.github.com/DonPage/grid-composer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DonPage%2Fgrid-composer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32392300,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T14:34:11.604Z","status":"ssl_error","status_checked_at":"2026-04-28T14:32:37.009Z","response_time":56,"last_error":"SSL_read: 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":["docker-compose","docker-selenium","selenium-grid"],"created_at":"2024-11-07T08:19:08.137Z","updated_at":"2026-04-28T17:35:13.770Z","avatar_url":"https://github.com/DonPage.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grid Composer\nGrid Composer is a layer on top of [Docker-Selenium](https://github.com/SeleniumHQ/docker-selenium) and [Docker-Compose](https://docs.docker.com/compose/) to provide API endpoints for commonly used commands for your Selenium Nodes.\n\n\n## API\n_All API methods are public by default. Passing in `{token: 'secretToken'}` will confirm request by checking the token parameter in the request. IE `/status?token=secretToken`._\n\n| Method | Endpoint | Docker-Compose equivalent | Description |\n| ---- | ----------- | ----------- | ----------- |\n| POST | `/start` | `$ docker-compose up -d` | boot up docker containers. |\n| POST | `/stop` | `$ docker-compose down` | shutdown docker containers. |\n| POST | `/restart` | `$ docker-compose restart` | restart all docker containers. |\n| PUT | `/scale/:browserName/:numberOfNodes` | `$ docker-compose scale \u003cbrowser\u003e=\u003cnumberOfNodes\u003e` | Scale up a specific browser node. |\n| GET | `/status` | `$ docker-compose ps` | get info on node containers. |\n\n## How to use\n1. cd into the location of `docker-compose.yml`.\n2. clone repo: `$ git clone https://github.com/DonPage/grid-composer.git .` (the `.` is so it clones everything _within_ in the repo.)\n3. (_optional_) create `config.json`.\n4. run `$ npm install`.\n5. run `$ npm start`.\n\n## Config options\n_These options should be a json format inside config.json_\n\n| Option | Type | Default | Description |\n| ---- | ----------- | ----------- | ----------- |\n| maxNodes | `number` | `20` | Max number of nodes that should be idle/up at any given time. |\n| token | `string` | `false` | token to confirm against before executing docker-compose commands. If `false`, all API endpoints will be open  |\n| port | `number` | `8080` | The open port you want the API to listen on. |\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonpage%2Fgrid-composer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonpage%2Fgrid-composer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonpage%2Fgrid-composer/lists"}