{"id":40114499,"url":"https://github.com/rosvik/og.248.no","last_synced_at":"2026-01-19T12:06:04.375Z","repository":{"id":233172453,"uuid":"786211861","full_name":"rosvik/og.248.no","owner":"rosvik","description":"Get Open Graph data from a given URL","archived":false,"fork":false,"pushed_at":"2025-12-25T21:03:42.000Z","size":78,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-27T07:14:19.175Z","etag":null,"topics":["opengraph"],"latest_commit_sha":null,"homepage":"https://og.248.no","language":"Rust","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/rosvik.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-13T18:54:16.000Z","updated_at":"2025-12-25T21:03:45.000Z","dependencies_parsed_at":"2025-07-29T01:22:01.383Z","dependency_job_id":null,"html_url":"https://github.com/rosvik/og.248.no","commit_stats":null,"previous_names":["rosvik/og.248.no"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rosvik/og.248.no","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosvik%2Fog.248.no","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosvik%2Fog.248.no/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosvik%2Fog.248.no/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosvik%2Fog.248.no/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rosvik","download_url":"https://codeload.github.com/rosvik/og.248.no/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rosvik%2Fog.248.no/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28567863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T08:53:44.001Z","status":"ssl_error","status_checked_at":"2026-01-19T08:52:40.245Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["opengraph"],"created_at":"2026-01-19T12:06:00.389Z","updated_at":"2026-01-19T12:06:04.361Z","avatar_url":"https://github.com/rosvik.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# og.248.no\n\nA simple Rust-based API that pulls [Open Graph](https://ogp.me/) data from a given URL. It works by fetching the HTML content of the URL and returning the values of any Open Graph meta tags. There is a built in cache, which makes it blazingly fast to fetch the same URL multiple times.\n\nA hosted version is available at [https://og.248.no](https://og.248.no).\n\n## How to Use\n\n### Setup\n\n```bash\ncargo run\n```\n\nThe API will start running on `http://127.0.0.1:2340`.\n\n### Usage\n\nFetch data by making an API call on this format:\n\n`GET /api?url=\u003cURL\u003e`\n\nThe response will be a JSON formatted array with pairs of `property` and `content`.\n\n```ts\nArray\u003c{\n  property: string;\n  content: string;\n}\u003e\n```\n\n## Example\n\nUsing the URL for this GitHub repository as an example:\n\n`GET` https://og.248.no/api?url=https://github.com/rosvik/og.248.no\n\n```json\n[\n  {\n    \"property\": \"twitter:image\",\n    \"content\": \"https://opengraph.githubassets.com/3237a9a882e420d99c3e74a10d9386e5bdce72efe8f025e37e0317833a47629d/rosvik/og.248.no\"\n  },\n  {\n    \"property\": \"twitter:site\",\n    \"content\": \"@github\"\n  },\n  {\n    \"property\": \"twitter:card\",\n    \"content\": \"summary_large_image\"\n  },\n  {\n    \"property\": \"twitter:title\",\n    \"content\": \"GitHub - rosvik/og.248.no: Get Open Graph data from a given URL\"\n  },\n  {\n    \"property\": \"twitter:description\",\n    \"content\": \"Get Open Graph data from a given URL. Contribute to rosvik/og.248.no development by creating an account on GitHub.\"\n  },\n  {\n    \"property\": \"og:image\",\n    \"content\": \"https://opengraph.githubassets.com/3237a9a882e420d99c3e74a10d9386e5bdce72efe8f025e37e0317833a47629d/rosvik/og.248.no\"\n  },\n  {\n    \"property\": \"og:image:alt\",\n    \"content\": \"Get Open Graph data from a given URL. Contribute to rosvik/og.248.no development by creating an account on GitHub.\"\n  },\n  {\n    \"property\": \"og:image:width\",\n    \"content\": \"1200\"\n  },\n  {\n    \"property\": \"og:image:height\",\n    \"content\": \"600\"\n  },\n  {\n    \"property\": \"og:site_name\",\n    \"content\": \"GitHub\"\n  },\n  {\n    \"property\": \"og:type\",\n    \"content\": \"object\"\n  },\n  {\n    \"property\": \"og:title\",\n    \"content\": \"GitHub - rosvik/og.248.no: Get Open Graph data from a given URL\"\n  },\n  {\n    \"property\": \"og:url\",\n    \"content\": \"https://github.com/rosvik/og.248.no\"\n  },\n  {\n    \"property\": \"og:description\",\n    \"content\": \"Get Open Graph data from a given URL. Contribute to rosvik/og.248.no development by creating an account on GitHub.\"\n  }\n]\n```\n\n\u003cdiv align=\"right\"\u003e\u003cimg src=\"https://github-production-user-asset-6210df.s3.amazonaws.com/1774972/269361517-d0d8e30e-4a25-4ba2-b926-2a42da1156f8.svg\" width=\"32\" alt=\"248\"\u003e\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosvik%2Fog.248.no","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosvik%2Fog.248.no","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosvik%2Fog.248.no/lists"}