{"id":13581914,"url":"https://github.com/micheleriva/gauguin","last_synced_at":"2025-10-07T21:15:53.487Z","repository":{"id":44384143,"uuid":"303397762","full_name":"micheleriva/gauguin","owner":"micheleriva","description":"🎨  High performances Golang server for generating social share images dynamically (beta).","archived":false,"fork":false,"pushed_at":"2022-09-29T19:38:59.000Z","size":1256,"stargazers_count":115,"open_issues_count":5,"forks_count":14,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-05T16:30:16.307Z","etag":null,"topics":["chromedp","gauguin","go","golang","opengraph","opengraph-data","opengraph-images","opengraph-tags"],"latest_commit_sha":null,"homepage":"https://micheleriva.gitbook.io/gauguin","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/micheleriva.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["MicheleRiva"],"patreon":"michelerivacode","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-10-12T13:17:38.000Z","updated_at":"2025-02-10T20:13:03.000Z","dependencies_parsed_at":"2022-07-14T14:17:20.278Z","dependency_job_id":null,"html_url":"https://github.com/micheleriva/gauguin","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"purl":"pkg:github/micheleriva/gauguin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheleriva%2Fgauguin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheleriva%2Fgauguin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheleriva%2Fgauguin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheleriva%2Fgauguin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/micheleriva","download_url":"https://codeload.github.com/micheleriva/gauguin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/micheleriva%2Fgauguin/sbom","scorecard":{"id":641997,"data":{"date":"2025-08-11","repo":{"name":"github.com/micheleriva/gauguin","commit":"311b9619a24d9fb91d43b2a908db78a20e94d732"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/26 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/create-docker-image.yaml:1","Warn: no topLevel permission defined: .github/workflows/create-release.yaml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: GNU General Public License v3.0: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-docker-image.yaml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/micheleriva/gauguin/create-docker-image.yaml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/create-release.yaml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/micheleriva/gauguin/create-release.yaml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/create-release.yaml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/micheleriva/gauguin/create-release.yaml/main?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1","Warn: containerImage not pinned by hash: Dockerfile:11: pin your Docker image by updating golang:1.17.5-alpine to golang:1.17.5-alpine@sha256:4918412049183afe42f1ecaf8f5c2a88917c2eab153ce5ecf4bf2d55c1507b74","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   3 out of   4 third-party GitHubAction dependencies pinned","Info:   0 out of   2 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"12 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2021-0052 / GHSA-h395-qcrw-5vmq","Warn: Project is vulnerable to: GHSA-3vp4-m3rf-835h","Warn: Project is vulnerable to: GO-2023-1737 / GHSA-2c4m-59x9-fr2g","Warn: Project is vulnerable to: GO-2021-0227 / GHSA-3vm4-22fp-5rfm","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2024-2611 / GHSA-8r3f-844c-mc37"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T11:00:21.296Z","repository_id":44384143,"created_at":"2025-08-21T11:00:21.296Z","updated_at":"2025-08-21T11:00:21.296Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278848367,"owners_count":26056497,"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-07T02:00:06.786Z","response_time":59,"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":["chromedp","gauguin","go","golang","opengraph","opengraph-data","opengraph-images","opengraph-tags"],"created_at":"2024-08-01T15:02:19.007Z","updated_at":"2025-10-07T21:15:53.467Z","avatar_url":"https://github.com/micheleriva.png","language":"Go","funding_links":["https://github.com/sponsors/MicheleRiva","https://patreon.com/michelerivacode","https://github.com/sponsors/micheleriva"],"categories":["Go"],"sub_categories":[],"readme":"\u003cimg src=\"/assets/cover.png\" alt=\"Gauguin - Generate opengraph images at runtime\" /\u003e\n\n\u003ca href=\"https://www.producthunt.com/posts/gauguin?utm_source=badge-featured\u0026utm_medium=badge\u0026utm_souce=badge-gauguin\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=276795\u0026theme=dark\" alt=\"Gauguin - Generate dynamic OpenGraph or social images in real-time | Product Hunt\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\"  align=\"center\"/\u003e\u003c/a\u003e\n\n**Gauguin** (pronounced `/ˈɡoʊɡæ̃/`) is an high performances Golang server that generates dynamic **opengraph** images at runtime.\n\n🎉 Read the quickstart post [here](https://levelup.gitconnected.com/generate-dynamic-opengraph-images-using-gauguin-b53c5dc8ec2f)!\n\n# Sponsors\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://graphcms.com?utm_source=https://github.com/micheleriva/krabs\"\u003e\n    \u003cimg src=\"/assets/sponsor-graphcms.svg\" alt=\"GraphCMS\" target=\"_blank\" width=\"250px\" /\u003e\n  \u003c/a\u003e\n\n  \u003cbr /\u003e\n  \u003ca align=\"center\" href=\"https://github.com/sponsors/micheleriva\" target=\"_blank\"\u003e\n    \u003cb\u003eBecome a sponsor\u003c/b\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n# Gauguin in 6 easy steps\n\n1) Create a configuration file called `gauguin.yaml`\n\n```yml\nversion: 0.0.1\nroutes:\n  - path: /articles/opengraph\n    params:\n      - title\n      - author\n      - imgUrl\n    size: 1200x630\n    template: ./templates/article.tmpl\n  - path: /author/opengraph\n    params:\n      - username\n      - imgUrl\n    size: 1200x630\n    template: ./templates/user.tmpl\n```\n\n2) For each route, create a Golang `tmpl` file (named the same way you named it inside the configuration file):\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cstyle\u003e\n      body {\n        margin: 0;\n        font-family: Arial;\n        color: #fff;\n      }\n      .article-template {\n        display: flex;\n        justify-content: center;\n        align-items: center;\n        flex-direction: column;\n        width: 1200px;\n        height: 630px;\n        background: #001f1c;\n      }\n      h1 {\n        margin: 0;\n        font-size: 32px;\n      }\n      img {\n        width: 200px;\n        height: 200px;\n        object-fit: cover;\n        border-radius: 15px;\n        margin-bottom: 25px;\n      }\n    \u003c/style\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv class=\"article-template\"\u003e\n      \u003cimg src=\"{{.imgUrl}}\" /\u003e\n      \u003ch1\u003e{{.title}}\u003c/h1\u003e\n      \u003cp\u003eWritten by \u003cb\u003e{{.author}}\u003c/b\u003e\u003c/p\u003e\n    \u003c/div\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n3) Copy [this](/docker-compose.yaml) docker-compose file locally and run `docker-compose up -d`\n4) Choose a title, an author and an image for your article opengraph image. Pass them via querystrng to the route you defined in your configuration file.\n5) Go to `http://localhost:5491/articles/opengraph?author=Bojack%20Horseman\u0026title=A%20Post%20About%20my%20Garden\u0026imgUrl=https%3A%2F%2Fimages.unsplash.com%2Fphoto-1525498128493-380d1990a112%3Fixlib%3Drb-1.2.1%26ixid%3DeyJhcHBfaWQiOjEyMDd9%26auto%3Dformat%26fit%3Dcrop%26w%3D300%26q%3D80`\n6) Admire the following image:\n\n\u003cimg src=\"/assets/example.jpeg\" alt=\"Gauguin opengraph image example\" /\u003e\n\n# Documentation\n\nI'm currently writing more documentation, it will be available on **Gitbook**: [http://micheleriva.gitbook.io/gauguin](http://micheleriva.gitbook.io/gauguin)\n\n# Env Variables\n```env\nPORT=\u003cnumber\u003e         # HTTPS Port\nDOCKERIZED=\u003cboolean\u003e  # Set to true if running Gauguin in Docker\nCHROME_URL=\u003cstring\u003e   # Optional, the URL of the Chrome REST Debugging APIs \n```\n\n# License\n**Gauguin** is distributed under the [GPLv3 open source license](/LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicheleriva%2Fgauguin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicheleriva%2Fgauguin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicheleriva%2Fgauguin/lists"}