{"id":16938610,"url":"https://github.com/dsnet/file-server","last_synced_at":"2025-04-13T15:26:10.543Z","repository":{"id":57615838,"uuid":"383052879","full_name":"dsnet/file-server","owner":"dsnet","description":"Simple HTTP file server.","archived":false,"fork":false,"pushed_at":"2024-01-03T11:41:32.000Z","size":39,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T06:22:29.511Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dsnet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-07-05T07:30:01.000Z","updated_at":"2024-04-11T11:42:10.000Z","dependencies_parsed_at":"2024-01-03T12:44:17.118Z","dependency_job_id":null,"html_url":"https://github.com/dsnet/file-server","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/dsnet%2Ffile-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsnet%2Ffile-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsnet%2Ffile-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsnet%2Ffile-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsnet","download_url":"https://codeload.github.com/dsnet/file-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248734261,"owners_count":21153184,"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-13T21:01:12.387Z","updated_at":"2025-04-13T15:26:10.520Z","avatar_url":"https://github.com/dsnet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# File Server\n\nThis program is a simple HTTP file server.\n\n## Usage\n\nThe server can be installed with:\n```\n$ go install github.com/dsnet/file-server@latest\n```\n\nThe server is started up by running:\n```\n$ file-server\n```\n\nBy default, the server starts up listening on `:8080` and\nserves files from the current working directory.\n\nFor more options, see `file-server -help`:\n```\nUsage: ./file-server [OPTION]...\n\n  -addr string\n    \tThe network address to listen on. (default \":8080\")\n  -deny string\n    \tRegular expression of file paths to deny.\n    \tPaths matching this pattern are excluded from directory listings\n    \tand direct requests for this path report StatusForbidden.\n  -hide string\n    \tRegular expression of file paths to hide.\n    \tPaths matching this pattern are excluded from directory listings,\n    \tbut direct requests for this path are still resolved. (default \"/[.][^/]+/?$\")\n  -index string\n    \tRegular expression of file paths to treat as index.html pages.\n    \t(e.g., '/index[.]html$'; default none)\n  -root string\n    \tDirectory to serve files from. (default \".\")\n  -sendfile\n    \tAllow the use of the sendfile syscall. (default true)\n  -verbose\n    \tLog every HTTP request.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsnet%2Ffile-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsnet%2Ffile-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsnet%2Ffile-server/lists"}