{"id":17118921,"url":"https://github.com/chyroc/serve","last_synced_at":"2025-06-16T00:06:39.734Z","repository":{"id":38210223,"uuid":"411953880","full_name":"chyroc/serve","owner":"chyroc","description":"Static file hosting","archived":false,"fork":false,"pushed_at":"2023-05-01T12:59:23.000Z","size":915,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T02:32:22.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/chyroc.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":"2021-09-30T06:47:38.000Z","updated_at":"2023-01-24T12:37:49.000Z","dependencies_parsed_at":"2024-06-21T09:04:56.823Z","dependency_job_id":null,"html_url":"https://github.com/chyroc/serve","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/chyroc/serve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fserve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fserve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fserve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fserve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chyroc","download_url":"https://codeload.github.com/chyroc/serve/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chyroc%2Fserve/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260072536,"owners_count":22954912,"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-10-14T17:55:46.739Z","updated_at":"2025-06-16T00:06:39.714Z","avatar_url":"https://github.com/chyroc.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# serve\n\n[![codecov](https://codecov.io/gh/chyroc/serve/branch/master/graph/badge.svg?token=Z73T6YFF80)](https://codecov.io/gh/chyroc/serve)\n[![go report card](https://goreportcard.com/badge/github.com/chyroc/serve \"go report card\")](https://goreportcard.com/report/github.com/chyroc/serve)\n[![test status](https://github.com/chyroc/serve/actions/workflows/test.yml/badge.svg)](https://github.com/chyroc/serve/actions)\n[![Apache-2.0 license](https://img.shields.io/badge/License-Apache%202.0-brightgreen.svg)](https://opensource.org/licenses/Apache-2.0)\n[![Go.Dev reference](https://img.shields.io/badge/go.dev-reference-blue?logo=go\u0026logoColor=white)](https://pkg.go.dev/github.com/chyroc/serve)\n[![Go project version](https://badge.fury.io/go/github.com%2Fchyroc%2Fserve.svg)](https://badge.fury.io/go/github.com%2Fchyroc%2Fserve)\n\n![](./header.png)\n\n## Features\n\n- Access to static files and folders\n- Random port selection\n- Local logging\n- Localhost HTTPS\n- Identify the Content-Type of the file\n\n## Install\n\n```shell\nbrew install chyroc/tap/serve\n```\n\n```shell\ngo install github.com/chyroc/serve@latest\n```\n\n## Usage\n\nSimple to use\n\n```shell\nserve\n```\n\nDeploy a directory\n\n```shell\nserve ./some-dic\n```\n\nEnable https\n\n```shell\nserve --https\n```\n\n|  |  |\n| --- | --- |\n| \u003cimg src=\"./screenshots/1.png\" width=\"250\"\u003e\u003c/a\u003e | \u003cimg src=\"./screenshots/2.png\" width=\"250\"\u003e\u003c/a\u003e | \n| \u003cimg src=\"./screenshots/3.png\" width=\"250\"\u003e\u003c/a\u003e | \u003cimg src=\"./screenshots/4.png\" width=\"250\"\u003e\u003c/a\u003e | \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchyroc%2Fserve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchyroc%2Fserve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchyroc%2Fserve/lists"}