{"id":36484730,"url":"https://github.com/duruyao/goshare","last_synced_at":"2026-01-12T01:44:56.510Z","repository":{"id":64304504,"uuid":"428520109","full_name":"duruyao/goshare","owner":"duruyao","description":"GoShare provides a simple Web UI and a file transfer service which using HTTP protocol.","archived":false,"fork":false,"pushed_at":"2024-07-29T08:47:22.000Z","size":195,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-02T11:58:07.023Z","etag":null,"topics":["cross-platform","go","golang","http","share-file"],"latest_commit_sha":null,"homepage":"","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/duruyao.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-11-16T04:46:42.000Z","updated_at":"2024-07-29T08:47:08.000Z","dependencies_parsed_at":"2023-12-19T09:56:49.432Z","dependency_job_id":"5a3a244f-081e-47ee-9c94-53527bed3368","html_url":"https://github.com/duruyao/goshare","commit_stats":null,"previous_names":["duruyao/gofs"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/duruyao/goshare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duruyao%2Fgoshare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duruyao%2Fgoshare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duruyao%2Fgoshare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duruyao%2Fgoshare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duruyao","download_url":"https://codeload.github.com/duruyao/goshare/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duruyao%2Fgoshare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28331253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T00:36:25.062Z","status":"ssl_error","status_checked_at":"2026-01-12T00:36:15.229Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cross-platform","go","golang","http","share-file"],"created_at":"2026-01-12T01:44:55.810Z","updated_at":"2026-01-12T01:44:56.506Z","avatar_url":"https://github.com/duruyao.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoShare\n\nGoShare provides a simple Web UI and a file transfer service which using HTTP protocol.\n\n## Install\n\n### Download executable\n\nDownload the compiled **[releases](https://github.com/duruyao/goshare/releases)** for your platform.\n\n## Usage\n\nType `goshare -h` to show help manual.\n\n```text\n\n   _____       _____ _\n  / ____|     / ____| |\n | |  __  ___| (___ | |__   __ _ _ __ ___\n | | |_ |/ _ \\\\___ \\| '_ \\ / _' | '__/ _ \\\n | |__| | (_) |___) | | | | (_| | | |  __/\n  \\_____|\\___/_____/|_| |_|\\__,_|_|  \\___|\n\n\nUsage: goshare [OPTIONS]\n\nGoShare shares files and directories via HTTP protocol\n\nOptions:\n    -h, --help                  Display this help message\n    --host STRING               Host address to listen (default: '0.0.0.0:80')\n    --path STRING               Path or directory (default: '${PWD}')\n    --scheme STRING             Scheme name (default: 'http')\n    --url-prefix STRING         Custom URL prefix (default: '/')\n    -v, --version               Print version information and quit\n\nExamples:\n    ./goshare -host 0.0.0.0:80 -path ${PWD}\n    ./goshare --host 0.0.0.0:80 --path ${PWD} --url-prefix /\n    ./goshare --host=0.0.0.0:80 --path=${PWD} --url-prefix=/\n\nSee more about GoShare at https://github.com/duruyao/goshare\n\n```\n\nStart goshare in the foreground.\n\n```bash\nsudo goshare --host=localhost:3927 --url-prefix=$PWD --path=$PWD\n```\n\nStart goshare in the background.\n\n```bash\nsudo goshare --host=localhost:3927 --url-prefix=$PWD --path=$PWD \u0026\n```\n\nStart goshare in the background via **Nohup**.\n\n```bash\nsudo nohup goshare --host=localhost:3927 --url-prefix=$PWD --path=$PWD \u003c/dev/null 1\u003e/tmp/goshare.out 2\u003e\u00261 \u0026\n```\n\nShare the files with your group members by using the **LAN IP** or **WAN IP** instead of `localhost`, `127.0.0.1`, `*` or `0.0.0.0`.\n\nBrowse the file system via a web browser.\n\n![web_page.png](./web_page.png)\n\nDownload files via `wget` or `curl`.\n\n```bash\nwget \u003chttps://ip:port/path/to/file\u003e\n\ncurl \u003chttps://ip:port/path/to/file\u003e -o \u003cfile\u003e\n```\n\nDownload the directories via `wget`.\n\n```bash\nwget -r -np -nH -R \"index.html*\" \u003chttps://ip:port/path/to/dir\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduruyao%2Fgoshare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduruyao%2Fgoshare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduruyao%2Fgoshare/lists"}