{"id":28401728,"url":"https://github.com/rvgpl/meta","last_synced_at":"2025-07-10T13:34:32.369Z","repository":{"id":204547859,"uuid":"709855449","full_name":"rvgpl/meta","owner":"rvgpl","description":"Extract metadata from any website with an API call.","archived":false,"fork":false,"pushed_at":"2023-10-30T19:21:30.000Z","size":65,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-28T20:40:02.116Z","etag":null,"topics":["api","og","opengraph","schema-org","seo"],"latest_commit_sha":null,"homepage":"https://getmetadata.fly.dev","language":"TypeScript","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/rvgpl.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,"zenodo":null}},"created_at":"2023-10-25T14:28:31.000Z","updated_at":"2025-04-12T00:24:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"75d6b41c-ecb7-4cbe-9816-eef9ac50554f","html_url":"https://github.com/rvgpl/meta","commit_stats":null,"previous_names":["rvgpl/meta"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rvgpl/meta","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvgpl%2Fmeta","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvgpl%2Fmeta/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvgpl%2Fmeta/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvgpl%2Fmeta/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rvgpl","download_url":"https://codeload.github.com/rvgpl/meta/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rvgpl%2Fmeta/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264585340,"owners_count":23632647,"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":["api","og","opengraph","schema-org","seo"],"created_at":"2025-06-01T13:38:20.556Z","updated_at":"2025-07-10T13:34:32.363Z","avatar_url":"https://github.com/rvgpl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/logo.png\" alt=\"Logo\" height=\"90\" /\u003e\n\u003c/p\u003e\n\n[![MIT](https://img.shields.io/github/license/rvgpl/meta)](https://github.com/rvgpl/meta/blob/main/LICENSE)\n\n# Meta\n\nExtract metadata from any website with an API call. The API allows fetching of metatags, open graph data and schema tags.\n\nBuilt with [Elysia](https://elysiajs.com/) + [Cheerio](https://cheerio.js.org/) with [Bun](https://bun.sh/) runtime\n\n## API\n\nUses Elysia for managing routing and cheerio to parse the HTML of the page and retrieve meta data.\n\nThe server is deployed using Docker on [Fly.io](https://fly.io). You can use the GET API with the any URL as a query parameter.\n\nSend a request with any URL :\n\n```\nhttps://getmetadata.fly.dev/v1/meta?url=\u003cinsert_url_to_fetch_metadata\u003e\n```\n\nResponds with the metadata, OpenGraph data and used [Schema](https://schema.org) tags\n\n# Demo\n\n\nHere is an example of fetching data from a Wikipedia article about Batman [https://en.wikipedia.org/wiki/Batman](https://en.wikipedia.org/wiki/Batman)\n\n```\nhttps://getmetadata.fly.dev/v1/meta?url=https://en.wikipedia.org/wiki/Batman\n```\n\nwhich returns the following JSON.\n\n```json\n{\n  \"meta\": {\n    \"title\": \"Batman - Wikipedia\",\n    \"description\": \"Batman\"\n  },\n  \"openGraph\": {\n    \"image\": \"https://upload.wikimedia.org/wikipedia/en/c/c7/Batman_Infobox.jpg\",\n    \"image:width\": \"640\",\n    \"image:height\": \"1061\",\n    \"title\": \"Batman - Wikipedia\",\n    \"type\": \"website\"\n  },\n  \"schema\": [\n    {\n      \"@context\": \"https://schema.org\",\n      \"@type\": \"Article\",\n      \"name\": \"Batman\",\n      \"url\": \"https://en.wikipedia.org/wiki/Batman\",\n      \"sameAs\": \"http://www.wikidata.org/entity/Q2695156\",\n      \"mainEntity\": \"http://www.wikidata.org/entity/Q2695156\",\n      \"author\": {\n        \"@type\": \"Organization\",\n        \"name\": \"Contributors to Wikimedia projects\"\n      },\n      \"publisher\": {\n        \"@type\": \"Organization\",\n        \"name\": \"Wikimedia Foundation, Inc.\",\n        \"logo\": {\n          \"@type\": \"ImageObject\",\n          \"url\": \"https://www.wikimedia.org/static/images/wmf-hor-googpub.png\"\n        }\n      },\n      \"datePublished\": \"2001-10-23T04:05:04Z\",\n      \"dateModified\": \"2023-10-28T07:19:29Z\",\n      \"image\": \"https://upload.wikimedia.org/wikipedia/en/c/c7/Batman_Infobox.jpg\",\n      \"headline\": \"comic book superhero\"\n    }]\n}\n```\n## Local Development\nTo get started, clone this repo, and paste this command into your terminal to install the dependencies:\n\n```sh\nbun install\n```\n\nand to start the development server run:\n\n```sh\nbun run dev\n```\n\nThe API server will be live on http://localhost:3000/\n\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvgpl%2Fmeta","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frvgpl%2Fmeta","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frvgpl%2Fmeta/lists"}