HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
paulrouget
servo-embedding-example
CSS2018–2024
paulrouget / servo-embedding-example

servo-embedding-example

An example of how to embed Servo

8Distinct people
8Mentions
0Explicit recommenders
237GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

An example of how to embed Servo

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year8 dated mentions

Observed mentions: 2018-08-10 18:54:49 UTC to 2024-02-08 02:58:31 UTC.

0122018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC101
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC101
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC202
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC101
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101

What Hacker News says

8 sources
Gecko and servo are both not easily embeddable. Servo isn't a finished rendering engine yet and the browser I saw that could exclusively use servo was not compliant enough and since mozilla fired the servo team there is no certain future for it anymore. Projects that tried to make servo embeddable are all dead and gone (see https://github.com/paulrouget/servo-embedding-example for example) So yeah last time I tried to use gecko I failed and didn't try again (years ago) nobody is willing to do the work and mozilla seems to focus more on other stuff...
In Ask HN: Why do new browsers use Chromium instead of Firefox as their base?
The problem is that embedding servo is not that easy. This is the only info I found on it: https://github.com/paulrouget/servo-embedding-example And it is a 4-year old example. This, from the same author, is also abandoned: https://github.com/paulrouget/servo-embedding-api https://github.com/servo/servo/issues/18479 I don't think that embedding is their focus at all, although it does sound like a killer feature to keep the project alive.
In Servo Engine contributions this year
> Good luck embedding Servo! You know, it doesn't really seem that hard to embed Servo in a Rust application [0]. It's a pretty interesting read. Anyone know how stable Servo is for this kind of thing? It's not uninteresting as a cross-platform GUI solution or as more lightweight alternative to CEF (assuming it is more lightweight, I haven't done the science on it or anything). Given that you have total control over everything it renders, it's not massively important if it's not 100% HTML compliant or whatever. Interesting space to watch for the future. Hopefully the Mozilla layoffs don't doom Servo. [0]: https://github.com/paulrouget/servo-embedding-example
In C++ Lightweight, cross-platform, HTML rendering engine for desktop apps
Is it easily embeddable yet? I’ve tried several times over the last years to use it instead of WebKitGTK, I’ve tried both servo-embedding-example [1] and servo-shell [2] and they were a pain to set up. I can compile servo and make it load a URL, but that’s it. [1] https://github.com/paulrouget/servo-embedding-example [2] https://github.com/glennw/servo-shell I also tried the examples in the WebRender crate, several times, and I never get any kind of text rendered, just rectangles. Due to lacking documentation I’m not sure whether I should be seeing text or not, but drawing rectangles is something I can do on my own with OpenGL or heck, even poking [64] the pixels myself! [64] I first learned about computer graphics with my Commodore 64. This is on Ubuntu with Intel integrated graphics (i7-4650U), which I guess might not be supported. Is t
Read the rest
hat documented somewhere? Anyhow, every time I try again I end up wasting several hours, so I’m still using WebKit for my application prototypes. Some of my use cases do not require a full browser engine (thus trying out WebRender), the most important part is text layout and I’m very interested in using Pathfinder [3], hopefully from a higher-level API like libservo or WebRender. [3] https://github.com/servo/pathfinder
In Servo, the Parallel Browser Engine Project

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.