https://github.com/xiaoluoboding/netlify-metafy
Easily scrape metadata from websites as a service using Netlify.
https://github.com/xiaoluoboding/netlify-metafy
metadata netlify-functions scraper serverless-functions
Last synced: 10 months ago
JSON representation
Easily scrape metadata from websites as a service using Netlify.
- Host: GitHub
- URL: https://github.com/xiaoluoboding/netlify-metafy
- Owner: xiaoluoboding
- License: mit
- Created: 2022-09-26T03:29:40.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-09T15:45:37.000Z (about 3 years ago)
- Last Synced: 2024-12-30T22:11:11.743Z (12 months ago)
- Topics: metadata, netlify-functions, scraper, serverless-functions
- Language: JavaScript
- Homepage: https://get-metafy.netlify.app/.netlify/functions/api?url=https://github.com/one-tab-group/netlify-metafy
- Size: 101 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Metafy on Netlify
[](https://app.netlify.com/sites/get-metafy/deploys)
> Easily scrape metadata from websites as a service.
## Usage
Enter a valid `$URL` as params
```bash
curl https://get-metafy.netlify.app/.netlify/functions/api?url=$URL
```
## Example
### Input
```bash
curl https://get-metafy.netlify.app/.netlify/functions/api?url=https://github.com/xiaoluoboding/netlify-metafy
```
### Output
```json
{
"author": "xiaoluoboding",
"logo": "https://logo.clearbit.com/github.com",
"publisher": "GitHub",
"description": "Easily scrape metadata from websites as a service. - GitHub - xiaoluoboding/netlify-metafy: Easily scrape metadata from websites as a service.",
"image": "https://opengraph.githubassets.com/010acaa83e7292daf897869b2824afbc1128675c4cbbc3b404f71e2849562e71/xiaoluoboding/netlify-metafy",
"title": "GitHub - xiaoluoboding/netlify-metafy: Easily scrape metadata from websites as a service."
}
```
## Deploy your own instance
Deploy your `Metafy` on your own instance with one-click.
[](https://app.netlify.com/start/deploy?repository=https://github.com/xiaoluoboding/netlify-metafy)
## Tech Stack
- [netlify](https://netlify.com/) - The fastest way to combine your favorite tools and APIs to build the fastest sites, stores, and apps for the web.
- [metascraper](https://metascraper.js.org/) - metascraper, easily scrape metadata from an article on the web.
- [typescript](https://www.typescriptlang.org/) - Typed JavaScript at Any Scale.
- [got](https://github.com/sindresorhus/got) - 🌐 Human-friendly and powerful HTTP request library for Node.js
- [esno](https://github.com/antfu/esno) - TypeScript / ESNext node runtime powered by esbuild
- [tsup](https://github.com/egoist/esno) - The simplest and fastest way to bundle your TypeScript libraries.
## Similar Project
- [vercel-metafy](https://github.com/xiaoluoboding/vercel-metafy) - Easily scrape metadata from websites as a service with `Vercel`.
## License
MIT [@xiaoluoboding](https://github.com/xiaoluoboding)