{"id":16365268,"url":"https://github.com/xiaoluoboding/metafy-og","last_synced_at":"2026-02-12T10:30:17.913Z","repository":{"id":200537013,"uuid":"705745959","full_name":"xiaoluoboding/metafy-og","owner":"xiaoluoboding","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-19T08:29:05.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-30T22:11:14.311Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://metafy-og.vercel.app","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/xiaoluoboding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"xiaoluoboding"}},"created_at":"2023-10-16T16:00:19.000Z","updated_at":"2023-10-17T04:04:33.000Z","dependencies_parsed_at":"2024-11-14T12:01:06.829Z","dependency_job_id":null,"html_url":"https://github.com/xiaoluoboding/metafy-og","commit_stats":null,"previous_names":["xiaoluoboding/metafy-og"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoluoboding%2Fmetafy-og","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoluoboding%2Fmetafy-og/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoluoboding%2Fmetafy-og/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xiaoluoboding%2Fmetafy-og/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xiaoluoboding","download_url":"https://codeload.github.com/xiaoluoboding/metafy-og/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239809592,"owners_count":19700649,"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":[],"created_at":"2024-10-11T02:43:10.901Z","updated_at":"2026-02-12T10:30:17.872Z","avatar_url":"https://github.com/xiaoluoboding.png","language":"TypeScript","readme":"# Metafy SVG\n\n![metafy-svg](https://vercelbadge.vercel.app/api/xiaoluoboding/metafy-svg)\n\n\u003e Easily crawl a website's metadata and generate SVG as a service.\n\n## Render In README.md\n\nYou can render the bookmark.style card as a SVG in the GitHub README.md now.\n\n### Code\n\n```markdown\n[![onetab.group](https://svg.bookmark.style/api?url=https://onetab.group\u0026mode=light)](https://onetab.group)\n```\n\n### Preview\n\n|  Card Style  |                                          Light Mode                                          |                                          Dark Mode                                          |\n| :----------: | :------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------: |\n| Twitter Like |          ![](https://svg.bookmark.style/api?url=https://bookmark.style\u0026mode=light)           |          ![](https://svg.bookmark.style/api?url=https://bookmark.style\u0026mode=dark)           |\n| Notion Like  | ![](https://svg.bookmark.style/api?url=https://tech-stack.tools\u0026mode=light\u0026style=horizontal) | ![](https://svg.bookmark.style/api?url=https://tech-stack.tools\u0026mode=dark\u0026style=horizontal) |\n\n### Customize the gradient color\n\nThe hex color in the URL can not contain the `#` character, so you can write like this `#000000` to `000000`\n\n#### Type\n\n```ts\ntype GradidentColor = {\n  formColor: string\n  viaColor?: string\n  toColor: string\n}\n```\n\n#### URL\n\n```bash\ncurl https://svg.bookmark.style/api?url=$URL\u0026formColor=$FROM_COLOR\u0026viaColor=$VIA_COLOR\u0026toColor=$TO_COLOR\n```\n\n#### Demo without `viaColor`\n\n```bash\nhttps://svg.bookmark.style/api?url=https://onetab.group\u0026mode=light\u0026fromColor=fa4\u0026toColor=a4f\n```\n\n![](https://svg.bookmark.style/api?url=https://onetab.group\u0026mode=light\u0026fromColor=fa4\u0026toColor=a4f\u0026style=horizontal)\n\n#### Demo with `viaColor`\n\n```bash\nhttps://svg.bookmark.style/api?url=https://onetab.group\u0026mode=light\u0026fromColor=fa4\u0026viaColor=4af\u0026toColor=a4f\n```\n\n![](https://svg.bookmark.style/api?url=https://onetab.group\u0026mode=light\u0026fromColor=fa4\u0026viaColor=4af\u0026toColor=a4f\u0026style=horizontal)\n\n## Usage\n\nEnter a valid `$URL` as params\n\n```bash\ncurl https://svg.bookmark.style/api?url=$URL\n```\n\n## Types\n\n```ts\ntype Params = {\n  url: string\n  mode?: 'light' | 'dark'\n  style?: 'vertical' | 'horizontal'\n  formColor?: string\n  viaColor?: string\n  toColor?: string\n}\n```\n\n## Example\n\n### Input\n\n```bash\ncurl https://svg.bookmark.style/api?url=https://onetab.group\u0026mode=light\n```\n\n### Output\n\n[![onetab.group](https://svg.bookmark.style/api?url=https://onetab.group\u0026mode=light)](https://onetab.group)\n\n## Deploy your own instance\n\nDeploy your `Metafy` on your own instance with one-click.\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fxiaoluoboding%2Fmetafy-svg)\n\n## Tech Stack\n\n- [vercel](https://vercel.com/) - Develop. Preview. Ship. For the best frontend teams.\n- [metascraper](https://metascraper.js.org/) - metascraper, easily scrape metadata from an article on the web.\n- [typescript](https://www.typescriptlang.org/) - Typed JavaScript at Any Scale.\n- [got](https://github.com/sindresorhus/got) - 🌐 Human-friendly and powerful HTTP request library for Node.js\n- [html-escaper](https://github.com/WebReflection/html-escaper) - A simple module to escape/unescape common problematic entities.\n- [esno](https://github.com/antfu/esno) - TypeScript / ESNext node runtime powered by esbuild\n\n## License\n\nMIT [xiaoluoboding](https://github.com/xiaoluoboding)\n","funding_links":["https://github.com/sponsors/xiaoluoboding"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoluoboding%2Fmetafy-og","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxiaoluoboding%2Fmetafy-og","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxiaoluoboding%2Fmetafy-og/lists"}