{"id":20649084,"url":"https://github.com/soulim/ogi","last_synced_at":"2025-04-17T00:57:47.157Z","repository":{"id":138043409,"uuid":"366680889","full_name":"soulim/ogi","owner":"soulim","description":"A tool to generate social media images with a geopattern background.","archived":false,"fork":false,"pushed_at":"2021-11-26T14:40:02.000Z","size":419,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T05:51:13.395Z","etag":null,"topics":["generator","geopattern","tool"],"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/soulim.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":"2021-05-12T10:42:15.000Z","updated_at":"2024-04-24T21:18:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"3865eb95-da1b-4819-96ac-8863686094c5","html_url":"https://github.com/soulim/ogi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulim%2Fogi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulim%2Fogi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulim%2Fogi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/soulim%2Fogi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/soulim","download_url":"https://codeload.github.com/soulim/ogi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249295870,"owners_count":21246207,"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":["generator","geopattern","tool"],"created_at":"2024-11-16T17:12:28.664Z","updated_at":"2025-04-17T00:57:47.140Z","avatar_url":"https://github.com/soulim.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ogi\n\n`ogi` (**o**pen **g**raph **i**mage) is a tool that generates social media images with a geopattern background.\n\n## Install\n\n```ShellSession\n$ go get github.com/soulim/ogi\n```\n\n## Usage\n\n```ShellSession\n$ ogi --text=\"Hello, world.\" \\\n      --note=\"https://www.example.com\" \\\n      --width=1200 \\\n      --height=628 \\\n      --pattern=\"nested-squares\" \\\n  \u003e cover.png\n```\n\nThe command above created `cover.png` file with the following image:\n\n![Example](./docs/examples/cover.png)\n\nSee more examples in [docs/examples](./docs/examples) directory.\n\n**NOTE:** The color of the background depends on the value of the `text` option.\nThis value is used a seed for color generation. In other words, each text has\nit's own color.\n\n## Credits\n\n* [\"Programatically generate gorgeous social media images in Go.\"](https://pace.dev/blog/2020/03/02/dynamically-generate-social-images-in-golang-by-mat-ryer.html) by Mat Ryer\n* [JetBrains Mono font](https://www.jetbrains.com/lp/mono/)\n* [Go Graphics](https://github.com/fogleman/gg) package for Go\n* [`geopattern`](https://github.com/pravj/geopattern) package for Go\n* [`oksvg`](https://github.com/srwiley/oksvg) package for Go\n\nThank you everyone for making `ogi` possible!\n\n## Contributing\n\nPRs accepted.\n\n## License\n\nMIT © Alexander Sulim\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoulim%2Fogi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoulim%2Fogi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoulim%2Fogi/lists"}