{"id":13479178,"url":"https://github.com/ram-on/imgurbash2","last_synced_at":"2025-03-27T09:30:52.501Z","repository":{"id":205271795,"uuid":"55419079","full_name":"ram-on/imgurbash2","owner":"ram-on","description":"A bash script that uploads images \u0026 videos to IMGUR.  It can also delete previously uploaded images/videos.","archived":false,"fork":false,"pushed_at":"2023-11-03T12:46:57.000Z","size":74,"stargazers_count":54,"open_issues_count":0,"forks_count":7,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-01T16:55:42.461Z","etag":null,"topics":["bash","bash-script","imgur","imgur-api","imgur-client"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/ram-on.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}},"created_at":"2016-04-04T14:41:35.000Z","updated_at":"2024-05-18T13:26:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"88b0c72d-02f4-4f28-8733-febb0e4da459","html_url":"https://github.com/ram-on/imgurbash2","commit_stats":null,"previous_names":["ram-on/imgurbash2"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ram-on%2Fimgurbash2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ram-on%2Fimgurbash2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ram-on%2Fimgurbash2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ram-on%2Fimgurbash2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ram-on","download_url":"https://codeload.github.com/ram-on/imgurbash2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222222233,"owners_count":16951405,"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":["bash","bash-script","imgur","imgur-api","imgur-client"],"created_at":"2024-07-31T16:02:10.906Z","updated_at":"2024-10-30T12:31:38.097Z","avatar_url":"https://github.com/ram-on.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# imgurbash2\n\nimgurbash2 is a simple bash script that allows you to upload **images** and **videos** to\n[imgur](https://imgur.com/). Once an image/video is uploaded, the link is displayed \non the terminal and copied to your clipboard (see below or refer to the \n[manual](https://github.com/ram-on/imgurbash2/blob/master/examples.md)).\n\nTested on Linux, macOS, FreeBSD and Windows (WSL).\n\n## Features\n\n* Upload remote HTTP/HTTPS images and videos to imgur.\n* Upload multiple images and videos at one go.\n* Upload images/videos to your album and to your account.\n* Delete previously uploaded images/videos.\n* Automatically images/videos deletion.\n* Copy uploaded images/videos' URLs to clipboard.\n\n## Usage\n### Upload Images\n\nUpload the images named cow.png and fish.jpg to imgur:\n```bash\nimgurbash2 cow.png https://myserver.io/fish.jpg\n```\n\nThe above command will output something like this:\n```bash\nhttp://i.imgur.com/HDVh123.png (Delete Hash = mo02q3r)\nhttp://i.imgur.com/QCfh256.png (Delete Hash = blub1qx)\n```\n\nThe outputted links are the URLs of the uploaded images. Such URLs are copied to\nyour clipboard if the right programs are installed.\n\n### Upload Videos\n\nUpload these two videos skunk.mp4 and raccoon.webm to imgur:\n```bash\nimgurbash2 skunk.mp4 https://10.0.0.1/web/raccoon.webm\n```\n\n### Upload To Your Album\n\nUpload the image named cow.png to your imgur album:\n```bash\nimgurbash2 -l -a abc134 cow.png\n```\n\n### Delete Images\n\n```bash\nimgurbash2 ~/tmp/test.png\nhttp://i.imgur.com/HDVh123.png (Delete Hash = vgdTM62vQ08xaxa)\n```\n\nTo delete the above uploaded image:\n```bash\nimgurbash2 -d vgdTM62vQ08xaxa\n```\n\n### Automatically Image Deletion\n\n```bash\nimgurbash2 -D 5m ~/tmp/test.png\n```\n\nUploaded image will automatically be deleted after 5 minutes.\n\n\n## Manual\n\nMore examaples and a detailed manual is available at https://github.com/ram-on/imgurbash2/blob/master/examples.md.\nDetails about the configuration file are also explained.\n\n\n## Installation\n\n* [Arch Linux / EndeavourOS / Manjaro](https://aur.archlinux.org/packages/imgurbash2)\n* [FreeBSD](https://www.freshports.org/sysutils/imgurbash2/)\n* [Gentoo](https://packages.gentoo.org/packages/app-misc/imgurbash2)\n* [NixOS](https://search.nixos.org/packages?show=imgurbash2\u0026type=packages)\n\n### Linux / macOS / UN*X / WSL\n\n```bash\ncurl -O https://raw.githubusercontent.com/ram-on/imgurbash2/master/imgurbash2\nchmod u+x imgurbash2\n```\n\n## Dependencies\n\n| Program                      | Optional | Reason |\n| ---------------------------- | -------- | ------------- |\n| `bash` 4.0+                  | No       | To run this script.  Given that macOS ships with an old Bash version, it is recommended that the latest Bash is installed via `brew install bash`  |\n| `curl`                       | No       | Uploads images  |\n| `xsel`, `xclip` or `wl-copy` | Yes      | Copies URL (image) link to clipboard if using Linux - no separate program is required for macOS |\n\n\n## License\n\n[MIT License](https://raw.githubusercontent.com/ram-on/imgurbash2/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fram-on%2Fimgurbash2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fram-on%2Fimgurbash2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fram-on%2Fimgurbash2/lists"}