{"id":16206872,"url":"https://github.com/strafe/grumi","last_synced_at":"2025-03-19T07:31:31.913Z","repository":{"id":220837362,"uuid":"185417113","full_name":"strafe/grumi","owner":"strafe","description":"🖼️ Upload an image, video or album to Imgur via the command line","archived":false,"fork":false,"pushed_at":"2024-02-05T00:47:34.000Z","size":44,"stargazers_count":12,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T16:41:14.830Z","etag":null,"topics":["bash","image","imgur","uploader","video"],"latest_commit_sha":null,"homepage":"https://imgur.com","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/strafe.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-07T14:20:41.000Z","updated_at":"2024-01-28T19:30:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"d6968ad8-54a1-4d0f-ab78-335e80da3515","html_url":"https://github.com/strafe/grumi","commit_stats":{"total_commits":44,"total_committers":1,"mean_commits":44.0,"dds":0.0,"last_synced_commit":"bc6d605a4103bb839e3582ac1bd18bb678dab0b9"},"previous_names":["strafe/grumi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strafe%2Fgrumi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strafe%2Fgrumi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strafe%2Fgrumi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/strafe%2Fgrumi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/strafe","download_url":"https://codeload.github.com/strafe/grumi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243976644,"owners_count":20377694,"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","image","imgur","uploader","video"],"created_at":"2024-10-10T10:02:40.417Z","updated_at":"2025-03-19T07:31:31.907Z","avatar_url":"https://github.com/strafe.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# grumi\n\u003e 🖼️ Upload an image, video or album to Imgur via the command line.\n\n## Dependencies\n- [`jq`](https://stedolan.github.io/jq)\n\n## Installation\n- macOS (`jq` will be automatically installed)\n```\nbrew install strafe/tap/grumi\n```\n\n- Linux\n\t- You know what you're doing :penguin:.\n\n## Usage\n```\nUsage: grumi [OPTIONS] \u003cfile1\u003e \u003cfile2\u003e...\nUpload an image, video or album to Imgur.\n\nOptions:\n    -h, --help              Output this message.\n    -v, --version           Output the current version.\n    -a, --album             Creates an album containing the provided image(s)/video(s).\n    -c, --client_id         Imgur Client ID (overrides ${HOME}/.config/grumi/client_id).\n    -d, --disable_audio     Disables audio in provided videos.\n```\n\n## Setup\n`grumi` requires you to provide your own Client ID to authenticate with the Imgur API. This is **not** used to associate uploads with your account, but simply to access the API.\n\nTo generate one, register a new application with Imgur [here](https://api.imgur.com/oauth2/addclient). The fields listed below are **required**. What you choose to provide is mostly up to you, as ***Authorization type*** is the only important field.\nField|Value\n-|-\n_Application name_|`grumi`\n_Authorization type_|`Anonymous usage without user authentication`\n_Authorization callback URL_|`example.com`\n_Email_|`grumi@example.com`\n\u003cbr\u003e\n\nOnce submitted you'll be given a `Client ID` and `Client secret`. Copy the `Client ID` and place it in `$HOME/.config/grumi/client_id` (or use `$XDG_CONFIG_HOME/grumi/client_id` if you wish). You can also use the `-c, --client_id` option instead of the config file if it better fits your use case.\n\n## Restrictions\nImgur impose some harsher restrictions on API uploads compared to their website uploader.\n- The following MIME types are supported:\n  - Images: `image/jpeg`, `image/gif`, `image/apng`, `image/tiff` \u0026 `image/png`.\n  - Videos: `video/mp4`, `video/webm`, `video/x-matroska`, `video/quicktime`, `video/x-flv`, `video/x-msvideo`, `video/x-ms-wmv` \u0026 `video/mpeg`.\n- Images are limited to 10MB in file size, and videos are limited to 200MB in file size.\n- Videos are limited to 60 seconds in length.\n\n## Examples\nUpload a single image or video (videos may take a while to process).\n```\n$ grumi image.png\ngrumi: https://i.imgur.com/abcdef.png (image.png)\n\n$ grumi video.mp4\ngrumi: https://i.imgur.com/ghijkl.mp4 (video.mp4)\n```\n\nUpload multiple files at once.\n```\n$ grumi image.png video.mp4\ngrumi: https://i.imgur.com/abcdef.png (image.png)\ngrumi: https://i.imgur.com/ghijkl.mp4 (video.mp4)\n```\n\nUpload multiple files to an album.\n```\n$ grumi -a image.png video.mp4\ngrumi: https://imgur.com/a/mnopqr\n```\n\nUpload an image by URL.\n```\n$ grumi https://example.com/example.png\ngrimi https://i.imgur.com/abcdef.png (example.png)\n```\n\nUpload a video without audio.\n```\n$ grumi -d video.mp4\ngrumi: https://i.imgur.com/ghijkl.mp4 (video.mp4)\n```\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrafe%2Fgrumi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstrafe%2Fgrumi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstrafe%2Fgrumi/lists"}