{"id":13670141,"url":"https://github.com/nanmu42/dsf","last_synced_at":"2025-04-16T03:45:50.219Z","repository":{"id":57573885,"uuid":"352605297","full_name":"nanmu42/dsf","owner":"nanmu42","description":"DSF - Dead Simple Fileserver / 极简HTTP文件服务","archived":false,"fork":false,"pushed_at":"2023-02-14T03:07:14.000Z","size":11,"stargazers_count":94,"open_issues_count":0,"forks_count":10,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T04:43:18.766Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/nanmu42.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"nanmu42"}},"created_at":"2021-03-29T10:35:54.000Z","updated_at":"2024-10-30T07:49:06.000Z","dependencies_parsed_at":"2024-01-14T16:14:42.008Z","dependency_job_id":"9d7a4946-e334-4b8d-b367-a4dc93ee7398","html_url":"https://github.com/nanmu42/dsf","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fdsf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fdsf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fdsf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nanmu42%2Fdsf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nanmu42","download_url":"https://codeload.github.com/nanmu42/dsf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249192237,"owners_count":21227751,"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-08-02T09:00:33.692Z","updated_at":"2025-04-16T03:45:50.188Z","avatar_url":"https://github.com/nanmu42.png","language":"Go","funding_links":["https://github.com/sponsors/nanmu42"],"categories":["Go"],"sub_categories":[],"readme":"# DSF - Dead Simple Fileserver\n\n[![Go Reference](https://pkg.go.dev/badge/github.com/nanmu42/dsf.svg)](https://pkg.go.dev/github.com/nanmu42/dsf)\n[![Go Report Card](https://goreportcard.com/badge/github.com/nanmu42/dsf)](https://goreportcard.com/report/github.com/nanmu42/dsf)\n\n**English** | [中文](https://github.com/nanmu42/dsf/blob/main/README.zh-cn.md)\n\nA dead simple HTTP fileserver to share your files across LAN.\n\n## Motivation\n\nYes, `python3 -m http.server` works fine, but...\n\n* sometimes I got bitten by its single-threaded nature(serving one downloading at a time);\n* `dsf` prints copy-paste-friendly host IP and port, so I don't need to figure out by myself.\n\n## Usage\n\n```\n$ dsf -h\nUsage of dsf:\n  -port int\n    \tlistening port (default 8080)\n  -root string\n    \troot for files (default \"./\")\n```\n\nServe current working directory:\n\n```bash\n$ dsf\nlistening on: http://127.0.0.1:8080\nlistening on: http://::1:8080\nlistening on: http://192.168.0.6:8080\nlistening on: http://fe80::1234:1e11:abec:5678:8080\n```\n\nServe a specific directory and listen on a desired port:\n\n```bash\n$ dsf -port 3000 -root ~/images\nlistening on: http://127.0.0.1:3000\nlistening on: http://::1:3000\nlistening on: http://192.168.0.6:3000\nlistening on: http://fe80::1234:1e11:abec:5678:3000\n```\n\n## Installation\n\nPrecompiled binaries are available for Linux, Mac and Windows: https://github.com/nanmu42/dsf/releases/\n\nFor gophers:\n\n```bash\ngo install github.com/nanmu42/dsf@latest\n```\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanmu42%2Fdsf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnanmu42%2Fdsf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnanmu42%2Fdsf/lists"}