{"id":18069835,"url":"https://github.com/gjgd/open-graph-preview-demo","last_synced_at":"2026-04-30T15:32:25.648Z","repository":{"id":42725744,"uuid":"284742094","full_name":"gjgd/open-graph-preview-demo","owner":"gjgd","description":"The purpose of this project is to show how to use open graph annotations to have a rich preview of a link in Slack (or other websites)","archived":false,"fork":false,"pushed_at":"2023-01-07T20:43:37.000Z","size":302,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T16:41:18.667Z","etag":null,"topics":["lambda","open-graph","serverless","slack"],"latest_commit_sha":null,"homepage":"https://l3mukrh389.execute-api.us-east-1.amazonaws.com/dev/2","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gjgd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-03T15:52:12.000Z","updated_at":"2021-05-11T22:19:16.000Z","dependencies_parsed_at":"2023-02-08T01:32:15.171Z","dependency_job_id":null,"html_url":"https://github.com/gjgd/open-graph-preview-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gjgd/open-graph-preview-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gjgd%2Fopen-graph-preview-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gjgd%2Fopen-graph-preview-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gjgd%2Fopen-graph-preview-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gjgd%2Fopen-graph-preview-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gjgd","download_url":"https://codeload.github.com/gjgd/open-graph-preview-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gjgd%2Fopen-graph-preview-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32469344,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["lambda","open-graph","serverless","slack"],"created_at":"2024-10-31T08:22:59.679Z","updated_at":"2026-04-30T15:32:25.618Z","avatar_url":"https://github.com/gjgd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# open-graph-preview-demo\n\n## Install\n\nInstall `serverless` (and its alias `sls`)\n\n```bash\nnpm i -g serverless\n```\n\nTo deploy:\n\n```bash\nsls deploy\n```\n\n## Try it:\n\nhttps://l3mukrh389.execute-api.us-east-1.amazonaws.com/dev/2\n\nIf you paste this link in Slack, it will recognize the user agent and return open graph annotation\n\nIf you paste this link in a normal browser, it will return a Hello world sentence\n\n## Links\n\n- https://medium.com/slack-developer-blog/everything-you-ever-wanted-to-know-about-unfurling-but-were-afraid-to-ask-or-how-to-make-your-e64b4bb9254\n- https://ogp.me/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgjgd%2Fopen-graph-preview-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgjgd%2Fopen-graph-preview-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgjgd%2Fopen-graph-preview-demo/lists"}