{"id":14978569,"url":"https://github.com/makenova/nodeginx-cli","last_synced_at":"2025-06-24T08:03:32.206Z","repository":{"id":65463332,"uuid":"47939428","full_name":"makenova/nodeginx-cli","owner":"makenova","description":"An nginx CLI helper.","archived":false,"fork":false,"pushed_at":"2017-01-08T05:45:48.000Z","size":19,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-03T18:46:48.931Z","etag":null,"topics":["cli","nginx","nodejs"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/nodeginx-cli","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/makenova.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-13T22:39:35.000Z","updated_at":"2023-08-28T11:45:04.000Z","dependencies_parsed_at":"2023-03-10T18:48:12.785Z","dependency_job_id":null,"html_url":"https://github.com/makenova/nodeginx-cli","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/makenova/nodeginx-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenova%2Fnodeginx-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenova%2Fnodeginx-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenova%2Fnodeginx-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenova%2Fnodeginx-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makenova","download_url":"https://codeload.github.com/makenova/nodeginx-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makenova%2Fnodeginx-cli/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261632032,"owners_count":23187268,"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":["cli","nginx","nodejs"],"created_at":"2024-09-24T13:57:55.714Z","updated_at":"2025-06-24T08:03:32.184Z","avatar_url":"https://github.com/makenova.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nodeginx CLI\n\nA interactive CLI helper for managing [Nginx](https://www.nginx.com) virtual\nhost configs and the `nginx` process. This assumes you are using the\nsites-available and sites-enabled setup, where those directories are arranged as\nso,\n\n```\n/etc\n|-- nginx\n     |-- nginx.config\n     |-- sites-enabled\n     |    +-- site-two\n     +-- sites-available\n          |-- site-one\n          +-- site-two\n```\n\nserver blocks are setup in the sites-available directory and are \"turned on\"\nby creating a symbolic link to the sites-enabled directory. In the example\nabove, site-one and site-two are setup but only site-two is served by nginx.\n\n## Installation\n\nThis is an [NPM](https://www.npmjs.com) package, [Node.js](https://nodejs.org/en/)\nis a prerequisite.\n\n```\n$ npm install -g nodeginx-cli\n```\n\n## Use\n\nType `nodeginx` on the command line, your sites should be listed, and you\nwill be prompted. The nginx config files are usually in a directory that\nrequires root permission. You may be prompted for you password if your user is\nnot set up for pasword-less sudo (not tested).\n\n```\nmakenova@gia:~$ nodeginx\n\nsite-one (disabled)\nsite-two (enabled)\n\n? What would you like to do? (Use arrow keys)\n❯ enable/disable a site\n  add a site\n  remove a site\n  start/stop/restart nginx\n  exit\n```\n## Bugs\nPlease report any bugs to: \u003chttps://github.com/makenova/nodeginx-cli/issues\u003e\n\n## License\n\nLicensed under the MIT License: \u003chttps://opensource.org/licenses/MIT\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakenova%2Fnodeginx-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakenova%2Fnodeginx-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakenova%2Fnodeginx-cli/lists"}