{"id":21142640,"url":"https://github.com/klipitkas/fs-go","last_synced_at":"2025-07-09T05:32:40.854Z","repository":{"id":74121383,"uuid":"216339634","full_name":"klipitkas/fs-go","owner":"klipitkas","description":"A tiny CLI tool to start a local file server.","archived":false,"fork":false,"pushed_at":"2019-11-06T10:01:17.000Z","size":8,"stargazers_count":17,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-20T08:01:51.568Z","etag":null,"topics":["cli","fileserver","fs","ftp","go","golang"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/klipitkas.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":"2019-10-20T09:50:36.000Z","updated_at":"2023-03-07T06:38:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"90f38982-8211-4e02-a990-a35806626106","html_url":"https://github.com/klipitkas/fs-go","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/klipitkas%2Ffs-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klipitkas%2Ffs-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klipitkas%2Ffs-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/klipitkas%2Ffs-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/klipitkas","download_url":"https://codeload.github.com/klipitkas/fs-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225489459,"owners_count":17482378,"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":["cli","fileserver","fs","ftp","go","golang"],"created_at":"2024-11-20T07:57:48.691Z","updated_at":"2024-11-20T07:57:49.418Z","avatar_url":"https://github.com/klipitkas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FS Go\n\nFS Go is a tiny CLI tool in order to spawn a local file server.\n\n### REQUIREMENTS\n\n- [Go](https://golang.org) \u003e= **1.13**\n\n### BUILD\n\nIn order to build the executable run the following command:\n\n```bash\ngo build\n```\n\n### START THE SERVER\n\nStarting the server is easy:\n\n```bash\n./fs-go -addr 8080 -dir .\n```\n\nOnly two parameters are needed:\n\n- **dir**: The directory that will be served. (**default**: `.`)\n- **addr**: The address that the server will listen to. (**default**: `:8080`)\n\n### INSTALL GLOBALLY\n\nIf you only want to use this CLI tool as a binary then you can do that\neasily:\n\n```bash\ngo install\n```\n\nNow you can use:\n\n```bash\nfs-go\n```\n\nFrom anywhere in your system.\n\n### BUILD AND RUN WITH DOCKER\n\nTo build the Docker image:\n\n```bash\ndocker build -t fs:local .\n```\n\nRun the server using Docker:\n```\ndocker run --rm -v $(pwd):/data -p 8080:8080 -d fs:local\n```\n\nTo run the server using Docker in a different port:\n```\ndocker run --rm -v $(pwd):/data -p 9000:9000 fs:local -addr :9000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklipitkas%2Ffs-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fklipitkas%2Ffs-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fklipitkas%2Ffs-go/lists"}