{"id":21374435,"url":"https://github.com/hixraid/dummy-image-generator","last_synced_at":"2025-10-03T23:46:00.788Z","repository":{"id":211163834,"uuid":"727904919","full_name":"HixRaid/dummy-image-generator","owner":"HixRaid","description":"Dummy image generator on (Go, Gin)","archived":false,"fork":false,"pushed_at":"2024-03-03T20:37:55.000Z","size":363,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-16T09:17:43.984Z","etag":null,"topics":["dummy-images","go","image-generator"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/HixRaid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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-12-05T20:21:06.000Z","updated_at":"2024-06-10T23:44:05.000Z","dependencies_parsed_at":"2023-12-29T22:30:32.330Z","dependency_job_id":"41d96208-1a42-4c42-9bdb-ace900c12429","html_url":"https://github.com/HixRaid/dummy-image-generator","commit_stats":null,"previous_names":["hixraid/dummy-image","hixraid/dummy-image-generator"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/HixRaid/dummy-image-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HixRaid%2Fdummy-image-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HixRaid%2Fdummy-image-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HixRaid%2Fdummy-image-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HixRaid%2Fdummy-image-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HixRaid","download_url":"https://codeload.github.com/HixRaid/dummy-image-generator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HixRaid%2Fdummy-image-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278245374,"owners_count":25955013,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dummy-images","go","image-generator"],"created_at":"2024-11-22T08:42:26.080Z","updated_at":"2025-10-03T23:46:00.773Z","avatar_url":"https://github.com/HixRaid.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🖼️ Dummy Image Generator\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"static/img/logo.svg\" width=300\u003e\n\u003c/p\u003e\n\n## What is this\n\nDummy Image Generator allows you to dynamically create and return images of various sizes, colors and styles, providing flexible customization of image generation through a simple and user-friendly URL interface.\n\n\u003e Built with Go 1.21.4\n\n## 🗂️ Project\n\n### Structure\n\n- Executable file\n- Config `config.yaml`\n- Fonts `arial.ttf`\n- Resources `favicon.ico`\n- Static `css` `img` `js`\n- Views `index.html`\n\n### Config\n\n- server\n  - addr `host` : `port`\n- image\n  - default_format `image format`\n  - size\n    - min_size `size format`\n    - max_size `size format`\n    - size_clamp `bool`\n  - color\n    - default_background_color `color format`\n    - default_text_color `color format`\n\n### Build and run\n\n```\ngo mod download\ngo build -ldflags=\"-s -w\" -o http_server.exe cmd\\http_server\\main.go\n.\\http_server.exe\n```\n\n\u003e Example for Windows\n\n## 📃 URL\n\n/ `size` / `background_color` / `text_color` / `format` ? `text`\n\n### Formats\n\n- Size: `100x100` `100` `HD` [and other...](RESOLUTIONS.md)\n\n  \u003e Required\n\n- Color: `F` `FF` `FFF` `FFFFFF` `255,255,255` `White` [and other...](COLORS.md)\n\n  \u003e Default: background is `Black` text is `White`\n\n- Text: `Hello world` `no_text`\n\n  \u003e Default: `width x height`\n\n- Image: `PNG` `JPEG` `WEBP` `GIF` `SVG`\n\n  \u003e Default: `PNG`\n\n### Limits\n\n- Min size: `10x10`\n- Max size: `2000x2000`\n\n\u003e Automatic size clamp\n\nExamples\n\n```\nhttp://127.0.0.1:8080/800x800/FFF/000/gif?text=Hello%20world\n```\n\n\u003e size, background_color, text_color, format, text\n\n```\nhttp://127.0.0.1:8080/HD/F1E2D3/webp?text=Hello%20world\n```\n\n\u003e size, background_color, format, text\n\n```\nhttp://127.0.0.1:8080/400\n```\n\n\u003e size\n\n## 📦 Libraries\n\n| Name   | Module                                                           | Version  |\n| :----- | :--------------------------------------------------------------- | :------- |\n| gin    | [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin)     | `1.9.1`  |\n| viper  | [github.com/spf13/viper](https://github.com/spf13/viper)         | `1.17.0` |\n| logrus | [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) | `1.9.3`  |\n| gg     | [github.com/fogleman/gg](https://github.com/fogleman/gg)         | `1.3.0`  |\n| webp   | [github.com/chai2010/webp](https://github.com/chai2010/webp)     | `1.1.1`  |\n| svgo   | [github.com/ajstarks/svgo](https://github.com/ajstarks/svgo)     | `0.0.0`  |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhixraid%2Fdummy-image-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhixraid%2Fdummy-image-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhixraid%2Fdummy-image-generator/lists"}