{"id":16550860,"url":"https://github.com/tmaize/dev-server","last_synced_at":"2025-10-05T01:20:36.241Z","repository":{"id":57694661,"uuid":"487569647","full_name":"TMaize/dev-server","owner":"TMaize","description":"A simple dev server, support https","archived":false,"fork":false,"pushed_at":"2024-07-14T03:28:51.000Z","size":61,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-28T01:48:33.179Z","etag":null,"topics":["dev-server","https-server","proxy-server","static-server"],"latest_commit_sha":null,"homepage":"","language":"Go","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/TMaize.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":"2022-05-01T15:16:11.000Z","updated_at":"2024-07-14T03:27:59.000Z","dependencies_parsed_at":"2024-06-20T01:47:04.135Z","dependency_job_id":"d761b47e-ca65-4828-a245-1969537a370c","html_url":"https://github.com/TMaize/dev-server","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"d1e4ee117f42f8a1795239d2075580cb32dd32d9"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/TMaize/dev-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMaize%2Fdev-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMaize%2Fdev-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMaize%2Fdev-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMaize%2Fdev-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TMaize","download_url":"https://codeload.github.com/TMaize/dev-server/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TMaize%2Fdev-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278399305,"owners_count":25980330,"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","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"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":["dev-server","https-server","proxy-server","static-server"],"created_at":"2024-10-11T19:35:38.062Z","updated_at":"2025-10-05T01:20:36.213Z","avatar_url":"https://github.com/TMaize.png","language":"Go","readme":"# DEV-SERVER\r\n\r\nA simple dev server.\r\n\r\nIf https is enabled, You should trust the root CA. It is generated in ` ~/.dev-server/ca.cer`.\r\n\r\n![cer](./doc/cer.png)\r\n\r\n## Install\r\n\r\n- download [releases](https://github.com/TMaize/dev-server/releases)\r\n\r\n- Go\r\n\r\n  ```shell\r\n  go install github.com/TMaize/dev-server@latest\r\n  ```\r\n\r\n- Node.js\r\n\r\n  ```shell\r\n  npm install @tmaize/dev-server -g\r\n  ```\r\n\r\n## Feature\r\n\r\n- [x] static server\r\n\r\n- [x] https support\r\n\r\n- [x] list dir\r\n\r\n- [x] http reverse proxy, cors\r\n\r\n- [ ] [trust Root CA](https://github.com/FiloSottile/mkcert/blob/master/truststore_windows.go)\r\n\r\n- [ ] mock data\r\n\r\n## Usage\r\n\r\nstatic server\r\n\r\n```\r\ndev-server start\r\ndev-server start -p 8443 --https --domain test.com /site/demo\r\n```\r\n\r\nhttp reverse proxy\r\n\r\n```\r\ndev-server proxy --target https://uptream.com:8443\r\n```\r\n\r\n## Acknowledgments\r\n\r\n[spf13/cobra](https://github.com/spf13/cobra)\r\n\r\n[https://github.com/kubernetes/client-go/blob/master/util/cert/cert.go](https://github.com/kubernetes/client-go/blob/master/util/cert/cert.go#L84)\r\n\r\n[https://github.com/vitejs/vite/blob/main/packages/vite/src/node/certificate.ts](https://github.com/vitejs/vite/blob/main/packages/vite/src/node/certificate.ts)\r\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmaize%2Fdev-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmaize%2Fdev-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmaize%2Fdev-server/lists"}