{"id":18056209,"url":"https://github.com/micheam/imgcontent","last_synced_at":"2025-04-05T09:44:44.213Z","repository":{"id":107586468,"uuid":"195778858","full_name":"micheam/imgcontent","owner":"micheam","description":"CLI tool for upload images as a web content.","archived":false,"fork":false,"pushed_at":"2024-12-19T07:52:06.000Z","size":97,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-10T20:25:31.164Z","etag":null,"topics":["golang","google-cloud-storage","upload-images","utility-application"],"latest_commit_sha":null,"homepage":"","language":"Go","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/micheam.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}},"created_at":"2019-07-08T09:21:08.000Z","updated_at":"2024-12-19T07:51:20.000Z","dependencies_parsed_at":"2023-06-08T13:31:13.378Z","dependency_job_id":null,"html_url":"https://github.com/micheam/imgcontent","commit_stats":null,"previous_names":["micheam/contentmgmt"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheam%2Fimgcontent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheam%2Fimgcontent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheam%2Fimgcontent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheam%2Fimgcontent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micheam","download_url":"https://codeload.github.com/micheam/imgcontent/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247318721,"owners_count":20919483,"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":["golang","google-cloud-storage","upload-images","utility-application"],"created_at":"2024-10-31T01:14:21.705Z","updated_at":"2025-04-05T09:44:44.190Z","avatar_url":"https://github.com/micheam.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# imgcontent\n\n![](https://github.com/micheam/contentmgmt/workflows/Test/badge.svg)\n\nCLI tool for image content management.\nRegister image files used for blog posts, etc. in the cloud storage.\n\nAt the time of initial development, [Google Cloud Storage] is targeted.\n\n## Installation\n\n[Notice] We have not yet distributed prebuilt binaries 😴\n\nget src and build binary with `go get`:\n\n    go get github.com/micheam/contentmgmt/cmd/imgcontent\n\n`imgcontent` binary will be installed:\n\n    imgcontent help\n\n## Environment values\n\nenv | content | note\n--|--|--\nIMGCONTENT_GCS_CREDENTIALS | Path to Google CloudStorage Credential file (json) | $HOME/.config/imgcontent/your-bucket-999999999999.json\nIMGCONTENT_GCS_BUCKET | bucket name | your-bucket\n\n## Usage\n\n```\nNAME:\n   imagecontent - manage img content\n\nUSAGE:\n   imgcontent [global options] command [command options] [arguments...]\n\nVERSION:\n   0.2.0\n\nAUTHOR:\n   Michto Maeda \u003chttps://github.com/micheam\u003e\n\nCOMMANDS:\n     upload   upload file as a web content\n     help, h  Shows a list of commands or help for one command\n\nGLOBAL OPTIONS:\n   --help, -h     show help\n   --version, -v  print the version\n```\n\n## Command: Upload\n\n```\nNAME:\n   imgcontent upload - upload file as a web content\n\nUSAGE:\n   imgcontent upload [command options] \u003cfilepath\u003e\n\nOPTIONS:\n   --format value  Display result with specified format. [mkd,html,adoc]\n   --clipboard, -c  Write result to clipboard\n```\n\nUpload your content to Google-CloudStorage:\n\n    imgcontent upload ./sample.jpeg\n\nResult will print via stdout:\n\n```console\n$ imgcontent upload ./sample.jpeg\nhttps://storage.googleapis.com/micheam-image-content/2019/11/17/070934.image.jpg\n```\n\nYou can specify result format with `--format`:\n\n```console\n$ imgcontent upload --format mkd ./sample.jpeg\n![sample.jpeg](https://storage.googleapis.com/micheam-image-content/2019/11/19/100607.sample.jpeg)\n```\n\n## Author\n[micheam](https://github.com/micheam) - \u003chttps://github.com/micheam/\u003e\n\n[Google Cloud Storage]: https://cloud.google.com/storage/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicheam%2Fimgcontent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicheam%2Fimgcontent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicheam%2Fimgcontent/lists"}