{"id":51038692,"url":"https://github.com/gnussonnet/cli-webserver","last_synced_at":"2026-06-22T09:00:44.202Z","repository":{"id":57698078,"uuid":"497343371","full_name":"GnussonNet/cli-webserver","owner":"GnussonNet","description":"This CLI simplifies the creation and renewal of a webserver running with SSL certificates. With a modified Nginx Dockerfile and Let's Encrypts client called Certbot, it takes seconds to be up and running.","archived":false,"fork":false,"pushed_at":"2022-06-04T13:29:11.000Z","size":787,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-31T19:21:40.340Z","etag":null,"topics":["cli","cli-app","cli-webserver","letsencrypt","nginx","nodejs","ssl","ssl-certificates","websever"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/cli-webserver","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/GnussonNet.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}},"created_at":"2022-05-28T14:36:31.000Z","updated_at":"2022-05-31T11:42:04.000Z","dependencies_parsed_at":"2022-09-26T21:01:58.374Z","dependency_job_id":null,"html_url":"https://github.com/GnussonNet/cli-webserver","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/GnussonNet/cli-webserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GnussonNet%2Fcli-webserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GnussonNet%2Fcli-webserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GnussonNet%2Fcli-webserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GnussonNet%2Fcli-webserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GnussonNet","download_url":"https://codeload.github.com/GnussonNet/cli-webserver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GnussonNet%2Fcli-webserver/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34641636,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-22T02:00:06.391Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cli","cli-app","cli-webserver","letsencrypt","nginx","nodejs","ssl","ssl-certificates","websever"],"created_at":"2026-06-22T09:00:29.651Z","updated_at":"2026-06-22T09:00:44.180Z","avatar_url":"https://github.com/GnussonNet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cbr /\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/GnussonNet/cli-webserver\"\u003e\n  \u003cimg src=\"https://github.com/GnussonNet/cli-webserver/blob/master/.github/logo.svg\" alt=\"logo\" width=\"200\" height=\"200\"\u003e\n  \u003c/a\u003e\n\n  \u003ch1 align=\"center\"\u003e🔥 cli-webserver, simplifies webservers 🔥\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003e\n\t\t\u003ca href=\"https://github.com/GnussonNet/cli-webserver/graphs/contributors\"\u003e\u003cimg alt=\"Downloads per month\" src=\"https://img.shields.io/github/contributors/GnussonNet/cli-webserver.svg?style=for-the-badge\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/GnussonNet/cli-webserver/network/members\"\u003e\u003cimg alt=\"NPM Version\" src=\"https://img.shields.io/github/forks/GnussonNet/cli-webserver.svg?style=for-the-badge\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/GnussonNet/cli-webserver/stargazers\"\u003e\u003cimg alt=\"Dependencies\" src=\"https://img.shields.io/github/stars/GnussonNet/cli-webserver.svg?style=for-the-badge\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/GnussonNet/cli-webserver/issues\"\u003e\u003cimg alt=\"Contributors\" src=\"https://img.shields.io/github/issues/GnussonNet/cli-webserver.svg?style=for-the-badge\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/GnussonNet/cli-webserver/blob/master/LICENSE\"\u003e\u003cimg alt=\"Custom badge\" src=\"https://img.shields.io/github/license/GnussonNet/cli-webserver.svg?style=for-the-badge\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://linkedin.com/in/gnussonnet\"\u003e\u003cimg alt=\"Maintained\" src=\"https://img.shields.io/badge/-LinkedIn-black.svg?style=for-the-badge\u0026logo=linkedin\u0026colorB=555\"/\u003e\u003c/a\u003e\n\t\u003c/p\u003e\n\n  \u003cp align=\"center\"\u003e\n    This CLI simplifies the creation and renewal of a webserver running with SSL certificates. With a modified Nginx Dockerfile and \u003ca href=\"https://letsencrypt.org/\"\u003eLet's Encrypts\u003c/a\u003e client called \u003ca href=\"https://github.com/certbot/certbot\"\u003eCertbot\u003c/a\u003e, it takes seconds to be up and running.\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/GnussonNet/cli-webserver/issues/new?assignees=\u0026labels=\u0026template=bug_report.md\"\u003e🕵🏽 Report Bug\u003c/a\u003e\n    -\n    \u003ca href=\"#contact\"\u003e✍🏼 Contact\u003c/a\u003e\n    -\n    \u003ca href=\"https://github.com/GnussonNet/cli-webserverissues/new?assignees=\u0026labels=\u0026template=feature_request.md\"\u003e🙇 Request Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cimg title=\"Product Screenshot\" alt=\"Product screenshot\" src=\"https://github.com/GnussonNet/cli-webserver/blob/master/.github/preview.png\"\u003e\n\n\u003cbr /\u003e\n\n## Table of Contents\n\u003col\u003e\n  \u003cli\u003e\n    \u003ca href=\"#cli-webserver-with-ssl\"\u003eAbout The Project\u003c/a\u003e\n    \u003cul\u003e\n      \u003cli\u003e\u003ca href=\"#built-with\"\u003eBuilt With\u003c/a\u003e\u003c/li\u003e\n    \u003c/ul\u003e\n  \u003c/li\u003e\n  \u003cli\u003e\n    \u003ca href=\"#getting-started\"\u003eGetting Started\u003c/a\u003e\n    \u003cul\u003e\n      \u003cli\u003e\u003ca href=\"#perquisites\"\u003ePerquisites\u003c/a\u003e\u003c/li\u003e\n      \u003cli\u003e\u003ca href=\"#installation\"\u003eInstallation\u003c/a\u003e\u003c/li\u003e\n      \u003cli\u003e\u003ca href=\"#uninstall\"\u003eUninstall\u003c/a\u003e\u003c/li\u003e\n    \u003c/ul\u003e\n  \u003c/li\u003e\n  \u003cli\u003e\n    \u003ca href=\"#usage\"\u003eUsage\u003c/a\u003e\n    \u003cul\u003e\n      \u003cli\u003e\u003ca href=\"#setup-webserver\"\u003eSetup Webserver\u003c/a\u003e\u003c/li\u003e\n      \u003cli\u003e\u003ca href=\"#webserver-command-line-options\"\u003eCommand-line options\u003c/a\u003e\u003c/li\u003e\n    \u003c/ul\u003e\n  \u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#contributing\"\u003eContributing\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#license\"\u003eLicense\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#contact\"\u003eContact\u003c/a\u003e\u003c/li\u003e\n  \u003cli\u003e\u003ca href=\"#acknowledgments\"\u003eAcknowledgments\u003c/a\u003e\u003c/li\u003e\n\u003c/ol\u003e\n\n\u003cbr /\u003e\n\n## Built With\n* [Node](https://nodejs.org)\n* [Docker](https://www.docker.com/)\n* [NGINX](https://nginx.org/)\n* [NPM Dependencies](hhttps://www.npmjs.com/package/cli-webserver)\n\n\u003cbr /\u003e\n\n## Getting Started\n### Disclaimer\nThis project is still under development which means it have not been tested on other machines, USE AT YOUR OWN RISK.\n\n### Perquisites\nYour system must have these following packages installed and running:\n\n* [Docker](https://www.docker.com)\n* [Node](https://nodejs.org)\n\n### Installation\n1. Install via NPM (globally)\n   ```sh\n   npm install -g cli-webserver\n   ```\n   \n### Uninstall\n1. Uninstall via NPM (globally)\n   ```sh\n   npm uninstall -g cli-webserver\n   ```\n\n\u003cbr /\u003e\n\n## Usage\nThis script is farley straight forward to use\n\n### Setup Webserver\n1. Run the CLI\n   ```sh\n   webserver \u003cenvironment\u003e [options]\n   ```\n    or\n   ```sh\n   cliWebserver \u003cenvironment\u003e [options]\n   ```\n   or\n   ```sh\n   cli-webserver \u003cenvironment\u003e [options]\n   ```\n\n   Then follow the instructions on the screen\n\n### Webserver command-line options\nOption | Arguments  | Description\n---|---|---\nenvironment | `development`, `production` | Skips first question regarding dev/prod menu | null\n-d | `domain.com` | Your domain is passed to Certbot and NGINX | null\n-f | `PATH to frontend directory` | Path to your frontend directory | null\n-c | `PATH to nginx config file` | Path to your nginx config file | null\n-p | `0-9999` | Port to expose host (only development) | null\n-e | `name@domain.com` | Email to register certificate (passed directly to Certbot) | null\n\n\n\u003cbr /\u003e\n\n## Contributing\nContributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.\n\nIf you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag \"enhancement\".\nDon't forget to give the project a star! Thanks again!\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n\u003cbr /\u003e\n\n## License\nDistributed under the MIT License. See `LICENSE` for more information.\n\n\u003cbr /\u003e\n\n## Contact\nFilip \"Gnusson\" Magnusson - [@GnussonNet](https://twitter.com/GnussonNet) - admin@gnusson.net\n\nProject Link: [Github.com/GnussonNet/cli-webserver(https://github.com/GnussonNet/cli-webserver)\n\n\u003cbr /\u003e\n\n## Acknowledgments\nSpecial thanks to the below users who gave me a great start when creating this project.\n\n* [Jonas Alfredssons](https://github.com/JonasAlfredsson) repository [docker-nginx-certbot](https://github.com/JonasAlfredsson/docker-nginx-certbot/blob/master/src/Dockerfile-alpine)\n* [othneildrews](https://github.com/othneildrew) readme template [Best README Template](https://github.com/othneildrew/Best-README-Template)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnussonnet%2Fcli-webserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnussonnet%2Fcli-webserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnussonnet%2Fcli-webserver/lists"}