{"id":18573911,"url":"https://github.com/basedwon/servn","last_synced_at":"2025-05-15T23:34:12.805Z","repository":{"id":57356822,"uuid":"482151316","full_name":"basedwon/servn","owner":"basedwon","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-28T04:43:42.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T14:05:57.540Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/basedwon.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}},"created_at":"2022-04-16T04:06:35.000Z","updated_at":"2022-04-16T04:07:12.000Z","dependencies_parsed_at":"2022-09-16T19:50:59.292Z","dependency_job_id":null,"html_url":"https://github.com/basedwon/servn","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/basedwon%2Fservn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedwon%2Fservn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedwon%2Fservn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/basedwon%2Fservn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/basedwon","download_url":"https://codeload.github.com/basedwon/servn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442345,"owners_count":22071863,"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-11-06T23:13:22.521Z","updated_at":"2025-05-15T23:34:12.764Z","avatar_url":"https://github.com/basedwon.png","language":"JavaScript","readme":"# Servn\n\nBasically, I wanted a Browserify CLI tool that watches files and serves over HTTPS, and thus, Servn was born\n\n## Installation\n\n```sh\nnpm install -g servn\n```\n\n## Usage\n`servn -f main.js`\n\n## Help\n\n```sh\n  Servn\n\n  Usage: servn ...args [options]\n\n  Options:\n    --host       define the host\n    -f, --file   define the entry file\n    -e, --entry  define the entry path\n    -p, --port   define the port\n    -s, --tls    whether to use https or http\n    -d, --dir    define the TLS cert directory\n    -c, --cert   define the TLS cert\n    -k, --key    define the TLS key\n    -h, --help   show this dialog\n\n  Examples:\n    servn\n    servn . -p 3000\n    servn ~/project --host example.com --file index.js\n```\n\n## References\n\n[local https tutorial](https://web.dev/how-to-use-local-https)\n\n[mkcert](https://github.com/FiloSottile/mkcert)\n\n```bash\nmkcert -install\nmkcert localhost\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasedwon%2Fservn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasedwon%2Fservn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasedwon%2Fservn/lists"}