{"id":51463141,"url":"https://github.com/rrbe/localshare","last_synced_at":"2026-07-06T08:00:27.229Z","repository":{"id":362594979,"uuid":"1259912034","full_name":"rrbe/LocalShare","owner":"rrbe","description":"Tiny macOS app to share files \u0026 folders over WiFi — scan a QR code and browse them in your phone's browser. No cloud, no setup. 局域网文件分享，扫码即在手机浏览器中打开","archived":false,"fork":false,"pushed_at":"2026-07-06T04:21:04.000Z","size":3163,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-07-06T05:08:05.023Z","etag":null,"topics":["airdrop-alternative","apple-silicon","cli","file-preview","file-server","file-sharing","file-transfer","html-preview","http-server","lan","local-network","localsend-alternative","macos","macos-app","qr-code","qrcode","static-file-server","swift","swiftui","wifi"],"latest_commit_sha":null,"homepage":null,"language":"Swift","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/rrbe.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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-05T01:35:28.000Z","updated_at":"2026-07-06T04:18:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rrbe/LocalShare","commit_stats":null,"previous_names":["rrbe/localshare"],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/rrbe/LocalShare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrbe%2FLocalShare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrbe%2FLocalShare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrbe%2FLocalShare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrbe%2FLocalShare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rrbe","download_url":"https://codeload.github.com/rrbe/LocalShare/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rrbe%2FLocalShare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35182322,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-06T02:00:07.184Z","response_time":106,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["airdrop-alternative","apple-silicon","cli","file-preview","file-server","file-sharing","file-transfer","html-preview","http-server","lan","local-network","localsend-alternative","macos","macos-app","qr-code","qrcode","static-file-server","swift","swiftui","wifi"],"created_at":"2026-07-06T08:00:21.716Z","updated_at":"2026-07-06T08:00:27.217Z","avatar_url":"https://github.com/rrbe.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LocalShare — share Mac files, scan a QR code to view or save them in your phone's browser\n\n[简体中文](README_CN.md) | English\n\nA small macOS app that moves files and text between your Mac and other devices (phone, tablet…) over WiFi — the other end just uses a browser, with no client to install.\n\n- Pick a file or folder, scan the QR code that appears (or just open the link), and browse the files in your phone's browser (HTML, PDF, Markdown, images…)\n- Two-way text transfer — type some text and share it via a QR code, or send text back from the phone to the Mac\n\n\u003ctable\u003e\n  \u003ctr\u003e\n    \u003ctd align=\"center\"\u003e\u003cimg src=\"docs/images/screenshot-main-page.png\" alt=\"Home\" width=\"260\"\u003e\u003cbr\u003eHome\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cimg src=\"docs/images/screenshot-share-file.png\" alt=\"Share Files\" width=\"260\"\u003e\u003cbr\u003eShare Files\u003c/td\u003e\n    \u003ctd align=\"center\"\u003e\u003cimg src=\"docs/images/screenshot-share-text.png\" alt=\"Transfer Text\" width=\"260\"\u003e\u003cbr\u003eTransfer Text\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/table\u003e\n\n## Features\n\n- Share files and text by QR code, or just by opening the link\n- Serves HTML / PDF / video / images; previews Markdown / JSON / CSV\n- After you share, the other end can send files and text back\n- Shows who's currently viewing\n- `localshare` command line: bring up the window to share, or `--headless` to print the link and QR code in the terminal\n\n## Why this app exists\n\n- When AirDrop is flaky, or the other device isn't an Apple device\n- iPhone Safari can't open local HTML files directly, so previewing the web pages you vibe-coded is awkward\n- No need to spin up `python3 -m http.server`\n- No need to install a client like LocalSend\n- Preview only — no need to actually save files onto the phone\n- Quickly pass text around, without relying on flaky Handoff\n\n## GUI usage\n\nScan the QR code, or open the LAN address directly. If macOS shows a firewall prompt on first launch, click \"Allow\".\n\nThe QR code points to something like `http://192.168.x.x:8080/?t=\u003crandom-token\u003e`: the link carries a one-time token, so whoever scans it gets in seamlessly, while anyone who only knows the IP:port cannot access it.\n\n\u003e ⚠️ Traffic is plain HTTP (unencrypted). Best avoided on public networks like airports and cafés.\n\n## Terminal usage\n\nIn Settings → Command-Line Tool, click \"Install\". After that you can share from the terminal in one command:\n\n```bash\nlocalshare a.html b.pdf        # bring up the LocalShare window to share these files\nlocalshare ~/Documents/report  # folders work the same; mix and match multiple items\nlocalshare --headless ./dist   # no window — print the link and QR code in the terminal (Ctrl-C to stop)\n```\n\n## Download\n\nhttps://github.com/rrbe/LocalShare/releases\n\n## Notes\n\nThe app is ad-hoc signed, so **opening** it may be blocked by Gatekeeper (warning that it's \"damaged\" or \"can't be opened\").\n\n- In System Settings → Privacy \u0026 Security → Security, find the prompt and click \"Open Anyway\"; or\n- run the command below in the terminal to strip the quarantine attribute, then open the app normally:\n\n```bash\nxattr -dr com.apple.quarantine /Applications/LocalShare.app\n```\n\n## License\n\nMIT — see [LICENSE](LICENSE).\n\n## Credits\n\nThis project was inspired by:\n\n- [localsend](https://github.com/localsend/localsend)\n- [dufs](https://github.com/sigoden/dufs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrbe%2Flocalshare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frrbe%2Flocalshare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frrbe%2Flocalshare/lists"}