html5ever VS tersenet

Compare html5ever vs tersenet and see what are their differences.

html5ever

High-performance browser-grade HTML5 parser (by servo)

tersenet

A new type of JavaScript-free light-weight fast browser built on rst and web assembly. Does not actually exist. (by runvnc)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
html5ever tersenet
5 8
1,983 107
2.6% -
7.6 1.8
7 days ago about 2 years ago
Rust Nim
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

html5ever

Posts with mentions or reviews of html5ever. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-22.
  • I'm fed up with it, so I'm writing a browser
    12 projects | news.ycombinator.com | 22 Sep 2023
    Would you consider using some libraries in your project? There are lots of good ones in the Rust ecosystem, and many of them are not part of any existing browsers.

    For example:

    - https://github.com/servo/html5ever (HTML parsing - note: this is used in Servo)

    - https://github.com/parcel-bundler/lightningcss (CSS parsing)

    - https://github.com/DioxusLabs/taffy (web layout)

    - https://github.com/pop-os/cosmic-text (text layout and rendering)

    Obviously you should be free to work on whatever you like, but just as a benchmark on the scope of your project: I spent ~6 months implementing just the CSS Grid algorithm in Taffy last year. An entire browser from literal scratch is probably a 10 year project for one person.

  • Ask HN: A fast, Rust HTML parser that works?
    4 projects | news.ycombinator.com | 23 Feb 2023
    So I'm doing some web scraping in Rust, and so I will need to parse HTML. [scraper](https://docs.rs/scraper/latest/scraper/) (which uses [html5ever](https://github.com/servo/html5ever)) is doing fine except that it's the bottleneck of my application.

    So I need a faster parser. I've tried [tl](https://docs.rs/tl/latest/tl/) which would've been perfect except that it doesn't actually work on the HTML I have. When I try to `query_selector` the elements I need, it returns nothing.

    [Kuchiki](https://docs.rs/kuchiki/latest/kuchiki/) is abandonded.

    I couldn't figure out how to get [lol-html](https://github.com/cloudflare/lol-html) to work for me (it's designed for re-writing HTML, whatever that means). It doesn't seem to have an API to extract the inner text of an element.

    [html5gum](https://github.com/untitaker/html5gum) seems to be just an HTML tokenizer, or otherwise just too low-level. I have not yet tried [quick-xml](https://github.com/tafia/quick-xml/) but judging from the README, it's pretty low-level too. I mean, if these are the only options left then I will try them. Otherwise, I would love to use a parser that's faster but as ergonomic as `scraper` or `tl`.

    At this point, I would be happy with an Lxml bridge/port of some sort. I don't need to mutate HTML, just parse and read data from it.

  • Any HTML parsing resources without going straight to W3C?
    1 project | /r/rust | 31 Aug 2022
  • I’m developing rust module like google pagespeed nginx module, which will rewrite html for each request it received for dynamic optimisation. what library is fastest to do this? I’m using this now
    1 project | /r/rust | 30 Aug 2021
  • What is the best way to parse HTML tags?
    1 project | /r/rust | 15 Jul 2021
    See https://github.com/servo/html5ever/tree/master/rcdom for an example implementation to imitate.

tersenet

Posts with mentions or reviews of tersenet. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-01.
  • Notcurses: Blingful character graphics/TUI library
    2 projects | news.ycombinator.com | 1 Feb 2024
    Is it able to show actual videos or is that just to make the demo more interesting and inserted externally?

    I would like to combine something like this with https://github.com/runvnc/tersenet or some of those ideas.

  • Software Disenchantment
    5 projects | news.ycombinator.com | 23 Oct 2023
    Here's an idea I had that is a bit related https://github.com/runvnc/tersenet

    Although I may never have time to actually work on it. Especially since it will be a complete waste of time unless I can get a huge number of people to adopt it.

  • I'm fed up with it, so I'm writing a browser
    12 projects | news.ycombinator.com | 22 Sep 2023
    "Writing a browser" (from scratch) at this point basically means you are implementing a type of portable operating-system-in-a-box (the web platform) and that it will be compatible with whatever Google decides to add to theirs.

    The browser is so comprehensive in functionality and APIs, and such a challenge to keep up with Google's constant churn of new features and total dominance, that not even Microsoft could do it.

    Here is my somewhat related pet project: Tersenet. https://github.com/runvnc/tersenet

  • Bye, Gemini
    4 projects | news.ycombinator.com | 8 Aug 2023
    I loved playing around with Gemini. Something loosely along those lines can definitely work. Who knows what will become popular in the future. Extreme web page bloat leaves the door open.

    Here are a couple of other alternative ideas for the web:

    https://freenet.org/

    https://github.com/runvnc/tersenet (an idea, not implemented)

  • Ask HN: If money was no object what software would you create?
    2 projects | news.ycombinator.com | 28 Nov 2022
    I might make a new version of this http://vintagesimulator.com with VR support.

    Or actually build this https://github.com/runvnc/tersenet

    What I have been thinking about for a few years is a SaaS that takes a video stream and in real-time outputs a 3d reconstruction with separate posed meshes, or maybe even some type of (CAD-like) boundary representation.

    It should be possible to use NeRFs to create a VR "teleportation" application.

    Also I think that VR or mixed reality user interfaces should be 3D and possibly haptic, and that doing everything in 2d windows in VR doesn't make much sense. So there will eventually be an OS for mixed reality that has 3D widgets or components that can interact and have interesting interfaces.

    It will also soon be possible to "clone" a person using dynamic NeRF-like technology combined with new multimodal models of behavior and cognition. Such as take every script from the Colbert show, feed it into a model that combines a LLM with gestures and some visual/spatial correspondence. Automatically create a late night monologue.

  • Show HN: We launched a new web browser
    8 projects | news.ycombinator.com | 25 Apr 2022
    Seems really interesting so I have been Googling to try to figure out what you are talking about. Is the Hydraulic product a way to easily deploy GraalVM software? And maybe by adding some type of search and document browsing capability, it can become a new type of web browser?

    Could you take a look at my comment in this thread and also at https://github.com/runvnc/tersenet

    I have not totally updated that but my current thinking is that we really want to finish deconstructing the overlay operating system that the "web browser" has become. For example, we should actually not bundle the information browsing program and application VM together, but rather have a simple standard for them to work together. Such as, the info browser can save the list of the application binaries to a file that the VM system knows to watch.

    We also actually want to further decompose this into a multilevel window manager concept. On the first level, just a rule that applications save and reload window layouts.

    I really think it should be a goal to standardize on some web assembly extension with simple UI features like canvas or framebuffer and keyboard events.

  • Ask HN: How do you feel about Chrome becoming a browser monopoly?
    1 project | news.ycombinator.com | 23 Apr 2022
    We should be working on an alternative paradigm. https://github.com/runvnc/tersenet
  • Seize the Means of Computation
    1 project | news.ycombinator.com | 18 Apr 2022
    Wow hello famous person.

    This weekend I got back to doing a little bit of work on my TerseNet concept, inspired by one of your articles "https://www.eff.org/deeplinks/2019/07/adblocking-how-about-n..." and things like the Gemini Protocol with the idea of combating monopolies by making protocols simple enough for the average programmer or small team to implement them.

    https://github.com/runvnc/tersenet -- still just some ideas, not an actual prototype.

What are some alternatives?

When comparing html5ever and tersenet you can also consider the following projects:

rust-htmlescape - A HTML entity encoding library for Rust

beacon - Beacon browser for desktop

serde - Serialization framework for Rust

MarginaliaSearch - Internet search engine for text-oriented websites. Indexing the small, old and weird web.

byteorder - Rust library for reading/writing numbers in big-endian and little-endian.

nyxt - Nyxt - the hacker's browser.

retrokit - :joystick: Bring back the old Web(Kit) and make it secure

public - TEXT://PROTOCOL CLIENT

bincode - A binary encoder / decoder implementation in Rust.

libjs-test262 - ✅ Tools for running the test262 ECMAScript test suite with SerenityOS's JavaScript engine (LibJS)

rust-bencode - Implementation of Bencode encoding written in rust

ui-editor - A collaboration tool for engineering teams. Working concept for design tool that can generate readable code. Aimed to replace modern bloatware like jira, slack, outlook, IDE, and redundant work. A developer tool built by developer to make designers do the developer's work.