{"id":18742167,"url":"https://github.com/donuts-are-good/imghost","last_synced_at":"2025-11-20T22:30:16.206Z","repository":{"id":205528939,"uuid":"714434001","full_name":"donuts-are-good/imghost","owner":"donuts-are-good","description":"its an img host","archived":false,"fork":false,"pushed_at":"2023-11-08T01:17:07.000Z","size":25,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T20:56:36.400Z","etag":null,"topics":["go","golang","image","image-hosting","image-processing","image-server","img","stdlib"],"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/donuts-are-good.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-11-04T21:35:43.000Z","updated_at":"2024-01-29T18:02:35.000Z","dependencies_parsed_at":"2023-11-08T06:47:26.228Z","dependency_job_id":null,"html_url":"https://github.com/donuts-are-good/imghost","commit_stats":null,"previous_names":["donuts-are-good/imghost"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donuts-are-good%2Fimghost","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donuts-are-good%2Fimghost/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donuts-are-good%2Fimghost/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/donuts-are-good%2Fimghost/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/donuts-are-good","download_url":"https://codeload.github.com/donuts-are-good/imghost/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239620934,"owners_count":19669793,"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":["go","golang","image","image-hosting","image-processing","image-server","img","stdlib"],"created_at":"2024-11-07T16:06:48.435Z","updated_at":"2025-11-20T22:30:16.133Z","avatar_url":"https://github.com/donuts-are-good.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![appserve](https://github.com/donuts-are-good/imghost/assets/96031819/46c17259-549a-4395-ab10-a4c5814f974e)\n![donuts-are-good's followers](https://img.shields.io/github/followers/donuts-are-good?\u0026color=555\u0026style=for-the-badge\u0026label=followers) ![donuts-are-good's stars](https://img.shields.io/github/stars/donuts-are-good?affiliations=OWNER%2CCOLLABORATOR\u0026color=555\u0026style=for-the-badge) ![donuts-are-good's visitors](https://komarev.com/ghpvc/?username=donuts-are-good\u0026color=555555\u0026style=for-the-badge\u0026label=visitors)\n\n\n# imghost\n**imghost** is an image server in Go. It accepts images via `POST`, resizes and crops images, and saves them to a directory. The server logs details about the images.\n\n## installation\n- Clone the repository.\n- Navigate to the project directory.\n- Run `go build`.\n\n\n## usage\n- Run the server with `./imghost`.\n- If `config.json` does not exist, a new one will be created. Modify this file as needed.\n- Send a `POST` request to the upload route in config.json. Include an image file and a secret key.\n\n## configuration\nThe `config.json` file has these fields:\n\n- `SecretKey`: A key to authorize image uploads.\n- `ImageDirectory`: A directory where images will be saved.\n- `ImageUrl`: A base URL for accessing the images.\n- `Port`: A port for the server.\n- `ResizeWidth`: A width to resize images to.\n- `ResizeHeight`: A height to resize images to.\n- `CropWidth`: A width to crop images to.\n- `CropHeight`: A height to crop images to.\n- `ImageFormat`: A format to save images in.\n- `UploadRoute`: A route to accept image uploads.\n- `AllowedIPs`: A list of IPs allowed to upload images.\n- `LogFilePath`: A path to a log file.\n\n\n## license\nMIT License 2023 donuts-are-good, for more info see license.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonuts-are-good%2Fimghost","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdonuts-are-good%2Fimghost","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdonuts-are-good%2Fimghost/lists"}