jola

jola

Set up Open Graph (preview) images for my blog in Elixir and wrote up the work involved. You can see a sample image on this post I think!

The post should have everything you need to do it yourself if you want to, but I also link to a little NimblePublisher style library I wrote to do the same (which I’m now using).

Showing Posts 1 to 4

mudasobwa

mudasobwa

Creator of Cure

Nice!

I’ve been there and the only nitpick would be I wanted the actual image to take precedence over the generated one, if the page has an embedded image already.

Mine has been launched in the before-publisher era, but I believe it should not be too complicated to add such a functionality to ogmate. If you are interested in, I might provide a PR.

jola

jola OP

This is a scenario where the post has eg a header image? I think that might live in the non-library part, ie the part that picks what to put in the metadata?

mhanberg

mhanberg

Expert LSP Core Team

More of a comment than a question, I have a similar thing for my static site generator Tableau

mudasobwa

mudasobwa

Creator of Cure

Ah, indeed. Sorry for the noise.

— All posts loaded —

Where Next? Top

Trending in Blog Posts Top

mudasobwa
I am seeing a lot of aplications of Argumentum ad Vericundiam in software discussions. They do link some piece of writing and point us to...
New
bartblast
Hey folks, I just published a post about Hologram’s funding and where the project goes next - the short version: Curiosum as Main Spons...
New
pckrishnadas88
A while back, I had to process millions of database updates in a legacy system that was already hitting its 64 GB RAM limit, so scaling t...
New
rhcarvalho
At the heart of every Phoenix application is the often “invisible” HTTP server layer. For over a decade Cowboy has served the community ...
New
smaller_infinity
I recently figured out how to the the Rust hotpath profiling crate running in an elixir benchmark script (for profiling NIFs). I had some...
New
pckrishnadas88
I’ve published Part 3 of my Elixir distributed systems learning series. This part explores process monitoring using the low-level primit...
New
rhcarvalho
The Phoenix framework is notorious for its long term stability and dependability. Unlike most comparable projects, the Phoenix team activ...
New

Other Trending Topics Top

CodeSync
Hologram: The Journey to Local-First Elixir in the Browser - Bart Blast | ElixirConf EU 2026 https://www.youtube.com/watch?v=qqpNovT7cys...
New
garrison
Hobbes is a low-level distributed database for the Elixir programming language. Hobbes provides a simple, safe, and scalable storage lay...
New
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
wintermeyer
There are three potential reasons for members of this forum to have a look at https://vutuv.de You are tired or annoyed of LinkedIn. Yo...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews