{"id":18885986,"url":"https://github.com/meldiron/almost-bannerbear","last_synced_at":"2025-09-04T08:32:36.350Z","repository":{"id":194815817,"uuid":"691648970","full_name":"Meldiron/almost-bannerbear","owner":"Meldiron","description":"Function to dynamically generate OG images for your web app.","archived":false,"fork":false,"pushed_at":"2023-09-26T18:31:31.000Z","size":4395,"stargazers_count":12,"open_issues_count":2,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-27T13:51:55.237Z","etag":null,"topics":["appwrite"],"latest_commit_sha":null,"homepage":"https://og-image-generator.appwrite.global/","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/Meldiron.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-09-14T15:43:04.000Z","updated_at":"2024-10-02T23:41:29.000Z","dependencies_parsed_at":"2024-11-08T07:38:51.915Z","dependency_job_id":null,"html_url":"https://github.com/Meldiron/almost-bannerbear","commit_stats":null,"previous_names":["meldiron/og-image-generator","meldiron/almost-bannerbear"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meldiron%2Falmost-bannerbear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meldiron%2Falmost-bannerbear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meldiron%2Falmost-bannerbear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Meldiron%2Falmost-bannerbear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Meldiron","download_url":"https://codeload.github.com/Meldiron/almost-bannerbear/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231944848,"owners_count":18449784,"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":["appwrite"],"created_at":"2024-11-08T07:23:34.693Z","updated_at":"2024-12-31T04:43:14.869Z","avatar_url":"https://github.com/Meldiron.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Cover](docs/og-image.png)\n\n# ⚡ Node.js OG Image Generator Function\n\nFunction to dynamically generate OG images for your web app.\n\n## 🧰 Usage\n\n### GET /\n\nReturns HTML website with form to build your OG image HTML tag.\n\n**Response**\n\nSample `200` Response:\n\n```html\n\u003c!doctype html\u003e ...\n```\n\n![HTML page](docs/builder.png)\n\n### GET /image.png\n\nReturns PNG of generated OG image.\n\n**Parameters**\n\n| Name  | Description                                                                  | Location | Type   | Sample Value  |\n| ----- | ---------------------------------------------------------------------------- | -------- | ------ | ------------- |\n| title | Page title                                                                   | URL      | String | `Hello World` |\n| url   | URL of page to genrate subtitle                                              | FormURL  | String | `/template`   |\n| icon  | Icon name from [Heroicons](https://heroicons.com/) to use in OG image design | URL      | String | `globe-alt`   |\n\n**Response**\n\n`200` Response:\n\n```json\n(image buffer)\n```\n\n## ⚙️ Configuration\n\n| Setting           | Value         |\n| ----------------- | ------------- |\n| Runtime           | Node (18.0)   |\n| Entrypoint        | `src/main.js` |\n| Build Commands    | `npm install` |\n| Permissions       | `any`         |\n| Timeout (Seconds) | 15            |\n\n## 🔒 Environment Variables\n\n### THEME\n\nToggle between dark and light theme for OG image.\n\n| Question      | Answer            |\n| ------------- | ----------------- |\n| Required      | No                |\n| Sample Value  | `dark` or `light` |\n| Default Value | `dark`            |\n\n### BRAND_COLOR\n\nHex color of your brand to personalize OG image color scheme.\n\n| Question      | Answer    |\n| ------------- | --------- |\n| Required      | No        |\n| Sample Value  | `#3b82f6` |\n| Default Value | `#f02e65` |\n\n### BRAND_NAME\n\nName of your company used when generating OG image.\n\n| Question      | Answer     |\n| ------------- | ---------- |\n| Required      | No         |\n| Sample Value  | `Appwrite` |\n| Default Value | `Website`  |\n\n## 📽️ Demo\n\nhttps://github.com/Meldiron/og-image-generator/assets/19310830/726e1d96-e594-4be3-898a-6400bba82dc9\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeldiron%2Falmost-bannerbear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeldiron%2Falmost-bannerbear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeldiron%2Falmost-bannerbear/lists"}