{"id":18486821,"url":"https://github.com/jrodal98/transfer","last_synced_at":"2025-05-13T22:14:31.729Z","repository":{"id":116040531,"uuid":"266212989","full_name":"jrodal98/transfer","owner":"jrodal98","description":"A bash script for uploading and downloading from https://transfer.sh/ and https://0x0.st/","archived":false,"fork":false,"pushed_at":"2020-05-23T19:51:58.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T22:18:53.395Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/jrodal98.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":"2020-05-22T21:41:28.000Z","updated_at":"2024-10-24T12:05:25.000Z","dependencies_parsed_at":"2023-03-17T18:30:16.346Z","dependency_job_id":null,"html_url":"https://github.com/jrodal98/transfer","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/jrodal98%2Ftransfer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrodal98%2Ftransfer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrodal98%2Ftransfer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrodal98%2Ftransfer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrodal98","download_url":"https://codeload.github.com/jrodal98/transfer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254036843,"owners_count":22003654,"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-11-06T12:49:51.554Z","updated_at":"2025-05-13T22:14:31.680Z","avatar_url":"https://github.com/jrodal98.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# transfer\n\nA bash script for uploading and downloading from \u003chttps://transfer.sh/\u003e and \u003chttps://0x0.st\u003e.\n\nSubmit an issue for support for similar sites.\n\n## Features\n\n* Upload files\n* Upload directories (archives them as they are being uploaded)\n* Download files\n* Encrypt files as they are being uploaded\n* Decrypt files as they are being downloaded\n* Decrypt files after they are downloaded\n* Log urls to `~/.transfer_history`\n* Provide default password with `pass`\n\n## Dependencies\n\n* bash\n* curl\n* gpg\n* tee\n* tar\n* pass (optional)\n\nThese are installed by default on most Linux systems. Refer to your package manager if you need to install them.\n\n## Installation\n\n0) Clone the repository `git clone https://github.com/jrodal98/transfer.git \u0026\u0026 cd transfer`\n1) Install the dependencies listed above using your package manager. \n2) Optionally, set a default password using `pass insert transfer` and/or change the default password in the `transfer.sh` file (highly recommended)\n3) Add `$HOME/bin` to your path. If you use bash, then you would add `export PATH=\"$HOME/bin:$PATH\"` to your `~/.bashrc`. If using zsh, add that line of code to your `~/.zshrc` file.\n4) Run `./install.sh`\n\nAlternatively, you can just call the `transfer.sh` script directly instead of doing steps 3-4, but I don't recommend this, as it's more verbose. You could also install the program by running `sudo mv transfer.sh /usr/bin/transfer`, but I'm not sure if there are other shell scripts called transfer in the wild, so this could be dangerous.\n\n## Examples\n\n* Upload a file or directory: `transfer \u003cFILE|DIRECTORY\u003e`\n* Automatically encrypt a file or directory using a default password while uploading: `transfer -e \u003cFILE|DIRECTORY\u003e`\n* Automatically encrypt a file or directory using a provided password while uploading: `transfer -e -p \u003cPASSWORD\u003e \u003cFILE|DIRECTORY\u003e`\n* Download a file: `transfer \u003cURL\u003e`\n* Automatically decrypt a file using a default password while downloading: `transfer -d \u003cURL\u003e`\n* Automatically decrypt a file using a provided password while downloading: `transfer -d -p \u003cpassword\u003e \u003cURL\u003e`\n* Decrypt file with default password: `transfer -d \u003cFILE\u003e`\n* Decrypt file with a provided password `transfer -d -p \u003cpassword\u003e \u003cFILE\u003e`\n* Do all of the above but upload to \u003chttps://0x0.st\u003e instead: `transfer -s 0x0.st \u003ceverything else\u003e`\n\n## Unimplemented features\n\n* Automatically copy urls to clipboard (`-c flag`, will add xclip as a dependency)\n* Specify maximum number of downloads\n* Specify maximum life of url\n* cronjob for deleting expired urls from `~/.transfer_history`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrodal98%2Ftransfer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrodal98%2Ftransfer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrodal98%2Ftransfer/lists"}