{"id":22608996,"url":"https://github.com/bitfinexcom/svc-js-cli","last_synced_at":"2025-04-11T06:18:30.506Z","repository":{"id":141634179,"uuid":"107973228","full_name":"bitfinexcom/svc-js-cli","owner":"bitfinexcom","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-27T21:17:44.000Z","size":25,"stargazers_count":9,"open_issues_count":1,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-11T06:18:27.614Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitfinexcom.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":"2017-10-23T11:32:38.000Z","updated_at":"2023-11-01T17:31:12.000Z","dependencies_parsed_at":"2024-12-08T15:10:33.973Z","dependency_job_id":"a0756f24-04ba-47f7-8213-0a6c52d7c66f","html_url":"https://github.com/bitfinexcom/svc-js-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitfinexcom%2Fsvc-js-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitfinexcom%2Fsvc-js-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitfinexcom%2Fsvc-js-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitfinexcom%2Fsvc-js-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitfinexcom","download_url":"https://codeload.github.com/bitfinexcom/svc-js-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248351497,"owners_count":21089288,"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-12-08T15:10:31.407Z","updated_at":"2025-04-11T06:18:30.477Z","avatar_url":"https://github.com/bitfinexcom.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# svc-js-cli\n\nBootstraps Grenache Services.\n\n## Installation\n\n```\nnpm i -g https://github.com/bitfinexcom/svc-js-cli.git\n\n# or link it (good for development):\n\ngit clone https://github.com/bitfinexcom/svc-js-cli\ncd svc-js-cli\nnpm link\n```\n\nYou'll also need an up-to-date fork of the base repo you want to use as service base, e.g.\n\n - https://github.com/bitfinexcom/bfx-svc-js\n - https://github.com/bitfinexcom/bfx-util-js\n - https://github.com/bitfinexcom/bfx-ext-js\n\n## Usage\n\nInternally the CLI copies a base service, e.g. bfx-util-js over to the new target directory and creates required files and configurations to run a basic service. The first two arguments are the service-name and the port for the new service. After that you have to provide the service source, e.g. `bfx-util-js`.\n\n*Note:* the upstream path is derived from the directory name of the service source, but can be overriden with the `--upstream` argument.\n\nTo setup a util-js based Grenache API service, run:\n\n```\nsvc-js-cli init grenache-api-base \u003cservice-name\u003e \u003cport\u003e \u003csvc-src\u003e\n\nExample:\n\nsvc-js-cli init grenache-api-base bfx-util-net-js 1337 ~/bitfinex/bfx-util-js\n```\n\nThe CLI sets this repo as an origin called upstream. If you need to merge upstream run:\n\n```\nbash upstream_merge.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfinexcom%2Fsvc-js-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitfinexcom%2Fsvc-js-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitfinexcom%2Fsvc-js-cli/lists"}