Easily scrape metadata from websites as a service.
Enter a valid $URL as params
curl https://yourworker.yourdomain.workers.dev/?url=$URLcurl https://yourworker.yourdomain.workers.dev/?url=https://newstral.com{
"title": "One Tab Group: Your all-in-one tab/tab group manager for Chrome.",
"description": "onetab.group is a chrome extension that allows you to manage your tabs & tab groups in one place. One-click to aggregate all tabs & tab groups into one session.",
"author": "",
"image": "https://onetab.group/preview.jpg",
"feeds": [],
"date": "",
"lang": "",
"logo": "https://onetab.group/logo.png",
"video": "",
"keywords": "",
"jsonld": "",
"url": "https://www.onetab.group/",
"type": "link"
}- clone the repo
- define a secret CLOUDFLARE_API_TOKEN ( if the value is "public", anyone can access your service )
Deploy your Metafy on your own instance with one-click.
- vercel - Develop. Preview. Ship. For the best frontend teams.
- metascraper - metascraper, easily scrape metadata from an article on the web.
- typescript - Typed JavaScript at Any Scale.
- got - 🌐 Human-friendly and powerful HTTP request library for Node.js
- esno - TypeScript / ESNext node runtime powered by esbuild
MIT xiaoluoboding