{"id":15707044,"url":"https://github.com/healeycodes/file-share-cli","last_synced_at":"2025-05-12T19:13:02.641Z","repository":{"id":112378088,"uuid":"582642859","full_name":"healeycodes/file-share-cli","owner":"healeycodes","description":"📁 Share files with friends from your terminal.","archived":false,"fork":false,"pushed_at":"2023-01-03T16:39:42.000Z","size":8,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T19:12:56.239Z","etag":null,"topics":["share-files","terminal","upload-file"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/healeycodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-12-27T13:01:52.000Z","updated_at":"2023-02-23T00:58:04.000Z","dependencies_parsed_at":"2023-05-14T04:00:32.575Z","dependency_job_id":null,"html_url":"https://github.com/healeycodes/file-share-cli","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/healeycodes%2Ffile-share-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Ffile-share-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Ffile-share-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Ffile-share-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healeycodes","download_url":"https://codeload.github.com/healeycodes/file-share-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253805849,"owners_count":21967053,"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":["share-files","terminal","upload-file"],"created_at":"2024-10-03T20:33:07.777Z","updated_at":"2025-05-12T19:13:02.622Z","avatar_url":"https://github.com/healeycodes.png","language":"Go","readme":"# 📂 file-share-cli\n\n\u003e My blog post: [A Personal File Share CLI](https://healeycodes.com/a-personal-file-share-cli)\n\n\u003cbr\u003e\n\nA quick way to share public files with friends.\n\nI built this to get around Discord's file size limit.\n\nVisiting the home path `/` returns a copy-able shell function with a dynamic URL like this:\n\n```bash\n# if you are me, copy this to your ~/.bashrc\n# and use it like this: share somefile.txt\n# and a download link will be echoed\n# (don't forget to replace user/pass)\nfunction share () {\n\tcurl -u user:pass -F \"file=@$1\" https://my-url-at.railway.app/upload\n}\n```\n\nYou can then upload files from your terminal and get a download link.\n\nNote: dragging files into the terminal on macOS pastes the file's path!\n\n## Dev\n\nStart the server.\n\n```bash\nAUTH_USERNAME=a AUTH_PASSWORD=b go run .\n```\n\nVisit `localhost:4000` and copy the bash snippet.\n\n## Deploy\n\nDeployable via [Railway](https://railway.app).\n\nSet environmental variables `AUTH_USERNAME` and `AUTH_PASSWORD`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Ffile-share-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealeycodes%2Ffile-share-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Ffile-share-cli/lists"}