Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamenskiyyyy/open-graph-image-example
Dynamic generation image example
https://github.com/kamenskiyyyy/open-graph-image-example
nextjs ogimage seo
Last synced: 8 days ago
JSON representation
Dynamic generation image example
- Host: GitHub
- URL: https://github.com/kamenskiyyyy/open-graph-image-example
- Owner: kamenskiyyyy
- Created: 2022-09-02T16:22:40.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T17:40:38.000Z (11 months ago)
- Last Synced: 2023-12-15T18:53:42.414Z (11 months ago)
- Topics: nextjs, ogimage, seo
- Language: TypeScript
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Open Graph - dynamic generation image example
First, run the development server:
```bash
npm run dev
# or
yarn dev
```Open [http://localhost:3000/api/og-image?title=Title&desc=Testing%20dynamic%20preview.](http://localhost:3000/api/og-image?title=Title&desc=Testing%20dynamic%20preview.) with your browser to see the result.
![og:image example](og-image-example.png)