og-image
DISCONTINUED
opengraph
Our great sponsors
og-image | opengraph | |
---|---|---|
19 | 164 | |
3,977 | 224 | |
- | - | |
3.6 | 0.0 | |
about 1 year ago | over 2 years ago | |
TypeScript | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
og-image
-
Generate dynamic OG images with Next.js and vercel edge functions
Now here's the thing since these are part of the meta tags, and The image shown in the tags are ... well! images, making them dynamic is a bit tricky. generating images isn't a menial task that just every web server can do ... it's resource intensive, time-consuming and all the other nightmares. and making it part of your dynamic web app is another ball game altogether. So what's new? well, @vercel/og is, this library lets you build image content from HTML/React that too insanely fast, like really fast . and you can pair this with any edge network like AWS Lambda on the edge, Cloudflare workers, etc to make it even faster.
-
Show HN: Satori – Convert HTML and CSS to SVG in Milliseconds
Thanks! Not to discourage anyone from using Vercel services if they’re interested (y’all are doing great stuff on this and lots of other fronts), but! I’d be remiss if I didn’t point out the unpublished-but-MIT-licensed repo I could find.
For anyone else who’s curious it looks like the pertinent source[1] can be self-hosted. I’m on mobile so I’m gonna limit my peering into the source, but it appears to wrap Chromium to do the PNG generation. Quite a bit different from my solution (which takes SVG-producing JSX and anything producing CSS, and renders to PNG with Sharp).
I’m curious how much overhead using Chromium adds, and whether alternatives like Sharp were considered.
-
How does github-readme-stats work?
It’s not embedding. When you paste that image url a serverless function running a headless browser requests say a next app which loads up a page based on the params in the url. Then we take a snapshot and image data is sent back as response to you hence the image appears. You can check out this: with NextJS and puppeteer
-
Dynamic Open Graph images with Next.js
But what if the content of the page is not visual at all, and no photo really suits the contents of the page? And what if we have a lot of these pages, with dynamically generated content? Luckily we are not limited to photography, we can use text! The prime example of this is how GitHub generates previews for issue URLs: they generate an image containing enough info such that users know what they will click on. These images are generated on-demand, as storing an image for every GitHub pull request or issue would be unfeasable. Another example is Vercel, which even open sourced their Open Graph Image as a Service that they occasionally use on blog posts or announcements.
-
Seamless Open Graph images generation library for Next.js
Hi, it is basically a embedded, better and easier (API-wise) version of https://github.com/vercel/og-image
-
How do I change the image that Google shows for my website?
Vercel has a really good simple generator if you don’t want to spend time on graphic design: https://og-image.vercel.app
-
What's Next(.js)? - Prologue
I ended up choosing Puppeteer and capture the web page, which is pretty far from what I initially wanted. Puppeteer needs more time and memory than I prefer. I can generate an image, download it, and then use it as a cover image. But, I want to create an API (with Next.js API routes) that functions as Open Graph Image as a Service. I later found out that Vercel already made this 🥲, still, I want to create my own.
-
Boring Avatars – react library to generate custom avatars
That sounds a great side project, since some developers might prefer a static svg dynamically created via url like boringavatar.app/[username here].
There's some prior work on this: e.g. https://github.com/lfades/static-tweet and https://github.com/vercel/og-image.
-
Automate Open Graph image creation
If you are a developer, you've probably seen the Open Graph images (part of Open Graph Protocol) generated by popular dev related websites like DEV.to or even Vercel's Open Graph Image as a Service. Both examples are using an approach to render image related to the content, so it contains some standard layout background, an image in it that is related to the content (vercel's logo or author's avatar), headline or title of the article, and a description.
opengraph
- Java virtual threads caused a deadlock in TPC-C for PostgreSQL
-
Making Dynamic Website Thumbnail
To explore more Open Graph properties, visit this website: Open Graph Protocol.
-
Displaying your full-sized YouTube thumbnail or a custom OG image in a Twitter card
Since Netlify introduced Edge Functions we've had an ideal way to add a tiny bit of logic into our link shortener which will return a page template of our own to anything looking to unfurl the URL to display its opengraph image.
-
28 years later, Windows finally supports RAR files
Very true. Google's Brotli and Facebook's Open Graph are standards these days everyone uses. They certainly have a lot of controversy, but what they have contributed to open source can't be overlooked or avoided in many cases.
-
Problem with YouTube embed thumbnail...
- The page is not returning opengraph metadata (if it's an html page, not a direct image/video link): https://ogp.me/
-
The 3 best tools I use to validate the meta tags present on my websites
The company Meta, formerly known as Facebook, developed the Open Graph protocol and Facebook uses it to display its cards view on sharing links. In this way, the Open Graph became a social sharing standard available on the web and this is stated on its home page:
-
Level Up Your Blog With Writer Analytics and Text-to-Speech
Optimized og:description based on content
- We should start to add “ai.txt” as we do for “robots.txt”
- Cómo puedo mejorar el seo de una app de vue.js?
-
Made a countdown
Metadata needs a description. You should also be leveraging OpenGraph metadata https://ogp.me/ to improve how your content will appear when shared on other websites (e.g Facebook, Twitter, etc). And ideally JSON+LD as well.
What are some alternatives?
python-goose - Html Content / Article Extractor, web scrapping lib in Python
Data Extractor - Combine XPath, CSS Selectors and JSONPath for Web data extracting.
react-helmet - A document head manager for React
trafilatura - Python & command-line tool to gather text on the Web: web crawling/scraping, extraction of text, metadata, comments
Google Fonts - Font files available from Google Fonts, and a public issue tracker for all things Google Fonts
python-readability - fast python port of arc90's readability tool, updated to match latest readability.js!
next-api-og-image - :bowtie: Easy way to generate open-graph images dynamically in HTML or React using Next.js API Routes. Suitable for serverless environment.
sumy - Module for automatic summarization of text documents and HTML pages.
Next-JS-Landing-Page-Starter-Template - 🚀 Free NextJS Landing Page Template written in Tailwind CSS 3 and TypeScript ⚡️ Made with developer experience first: Next.js 14 + TypeScript + ESLint + Prettier + Husky + Lint-Staged + VSCode + Netlify + PostCSS + Tailwind CSS
JSONPATH - A query expression for extracting data from JSON.
micawber - a small library for extracting rich content from urls
newspaper - newspaper3k is a news, full-text, and article metadata extraction in Python 3. Advanced docs: