{"id":13764071,"url":"https://github.com/michiwend/goplaceholder","last_synced_at":"2025-04-12T22:06:13.045Z","repository":{"id":21779024,"uuid":"25101373","full_name":"michiwend/goplaceholder","owner":"michiwend","description":"a small golang lib to generate placeholder images","archived":false,"fork":false,"pushed_at":"2016-01-17T18:24:14.000Z","size":13,"stargazers_count":29,"open_issues_count":1,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T22:06:02.230Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/michiwend.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}},"created_at":"2014-10-12T00:50:46.000Z","updated_at":"2024-12-20T15:18:52.000Z","dependencies_parsed_at":"2022-07-21T20:18:16.075Z","dependency_job_id":null,"html_url":"https://github.com/michiwend/goplaceholder","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michiwend%2Fgoplaceholder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michiwend%2Fgoplaceholder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michiwend%2Fgoplaceholder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michiwend%2Fgoplaceholder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michiwend","download_url":"https://codeload.github.com/michiwend/goplaceholder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637769,"owners_count":21137538,"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":[],"created_at":"2024-08-03T15:01:11.917Z","updated_at":"2025-04-12T22:06:13.014Z","avatar_url":"https://github.com/michiwend.png","language":"Go","funding_links":[],"categories":["工具库`可以提升效率的通用代码库和工具`","Utilities","工具库","公用事业公司","实用工具","Utility"],"sub_categories":["查询语","HTTP Clients","Utility/Miscellaneous","实用程序/Miscellaneous","Advanced Console UIs","交流","\u003cspan id=\"高级控制台用户界面-advanced-console-uis\"\u003e高级控制台用户界面 Advanced Console UIs\u003c/span\u003e","Fail injection"],"readme":"goplaceholder\n=============\na small golang lib to generate placeholder images.\n\n## Usage\nget it\n```\n$ go get github.com/michiwend/goplaceholder\n```\n\nsimple example\n```Go\nplaceholder, err := goplaceholder.Placeholder(\n    \"Lorem ipsum!\",\n    \"/usr/share/fonts/TTF/DejaVuSans-Bold.ttf\",\n    color.RGBA{150, 150, 150, 255},\n    color.RGBA{204, 204, 204, 255},\n    400, 200)\n```\n\nresults in\n\n![example placeholder](example/lorem.png)\n\n## Webservice\nYou can try it as a web service at\n[placeholder.michiwend.com](http://placeholder.michiwend.com/400x300.png?text=lorem%20ipsum!).\n\nThe following requests are allowed:\n* /800x600.png\n* /800x600.png?text=foo\n* /500.png\n* /500.png?text=foo\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichiwend%2Fgoplaceholder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichiwend%2Fgoplaceholder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichiwend%2Fgoplaceholder/lists"}