Rust HTML

Open-source Rust projects categorized as HTML

Top 23 Rust HTML Projects

  • dioxus

    Fullstack GUI library for web, desktop, mobile, and more.

  • Project mention: Inkdown is a Markdown reading, editing, and sharing tool | news.ycombinator.com | 2024-06-14

    There's also Tauri which https://dioxuslabs.com/ uses.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • tera

    A template engine for Rust based on Jinja2/Django

  • Project mention: Getting Started with Axum - Rust's Most Popular Framework | dev.to | 2023-12-06

    You can also use HTML templating with crates like askama, tera and maud! This can be combined with the power of lightweight JavaScript libraries like htmx to speed up time to production. You can read more about this on our other article about using HTMX with Rust which you can find here.. We also collaborated with Stefan Baumgartner on an article for serving HTML with Askama!

  • trunk

    Build, bundle & ship your Rust WASM application to the web.

  • Project mention: Secure Pattern for Deploying WASM on S3 | dev.to | 2024-05-11

    Going back to building the WASM package, I used a tool called Trunk to build and bundle the Rust code. When I run the command trunk build I'm presented with the following images. The first is what the build looks like from the console and the second is the contents of the dist directory that is created and populated.

  • askama

    Type-safe, compiled Jinja-like templates for Rust

  • Project mention: Deploying your Rust WASM Game to Web with Shuttle & Axum | dev.to | 2024-02-14

    I have inlined the CSS here, and you can use Rust-based tooling like Lightning CSS to minify and bundle CSS here. You might also want to create a Rust build script to generate the HTML from a template, using the askama crate (works a little like Jinja).

  • sycamore

    A library for creating reactive web apps in Rust and WebAssembly

  • Project mention: Building a Rust app with Perseus | dev.to | 2023-07-05

    Perseus is a fast frontend web development framework for Rust with built-in support for reactivity using Sycamore, server-side rendering, and much more. Sycamore is a frontend library that allows you to build interactive user interfaces with Rust. I’d say that Perseus is to Sycamore as Next.js is to React, so it’ll be helpful for you to have a fair understanding of Sycamore before jumping into using Perseus — although it’s not necessary to follow along in this article.

  • html5ever

    High-performance browser-grade HTML5 parser

  • Project mention: I'm fed up with it, so I'm writing a browser | news.ycombinator.com | 2023-09-22

    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.

  • maud

    :pencil: Compile-time HTML templates for Rust

  • Project mention: Templ: A language for writing HTML user interfaces in Go | news.ycombinator.com | 2023-12-10

    I would like to mention maud in this context:

    https://github.com/lambda-fairy/maud

    It is refreshingly different from other Rust templating libraries. It uses a proc-macro that compiles your HTML into Rust code. I also happen to use it in conjunction with HTMX and it works very well for me (at least in small projects).

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • sauron

    A versatile web framework and library for building client-side and server-side web applications

  • Project mention: Ultron - a WIP web base editor with themes and syntax highlighting | /r/rust | 2023-07-01

    This project started as a way to test out sauron web framework, but it turns out to be usable and can be embedded in a web applications such as markdown source code renderer.

  • lol-html

    Low output latency streaming HTML parser/rewriter with CSS selector-based API

  • quick-xml

    Rust high performance xml reader and writer

  • crowbook

    Converts books written in Markdown to HTML, LaTeX/PDF and EPUB

  • sauron-native

    Truly cross platform, truly native. multiple backend GUI for rust

  • ructe

    Rust Compiled Templates with static-file handling

  • mogwai

    The minimalist, obvious, graphical, web application interface

  • CommonMarker

    Ruby wrapper for the comrak (CommonMark parser) Rust crate

  • markup.rs

    A blazing fast, type-safe template engine for Rust.

  • horrorshow-rs

    A macro-based html builder for rust

  • rsspls

    Generate RSS feeds from websites

  • Project mention: RSS Please – Generate RSS feeds from web pages | news.ycombinator.com | 2024-03-11
  • render.rs

    🔏 A safe and simple template engine with the ergonomics of JSX

  • css-inline

    High-performance library for inlining CSS into HTML 'style' attributes

  • ryde

    ryde is a single person, single file hypermedia web framework for rust

  • Project mention: Ryde is a single person, single file web development library for rust | news.ycombinator.com | 2024-02-29
  • syn-rsx

    syn-powered parser for JSX-like TokenStreams

  • html5gum

    A WHATWG-compliant HTML5 tokenizer and tag soup parser

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust HTML discussion

Log in or Post with

Rust HTML related posts

  • RSS Please – Generate RSS feeds from web pages

    1 project | news.ycombinator.com | 11 Mar 2024
  • CSS for Printing to Paper

    15 projects | news.ycombinator.com | 3 Mar 2024
  • Deploying your Rust WASM Game to Web with Shuttle & Axum

    4 projects | dev.to | 14 Feb 2024
  • Getting Started with Actix Web - The Battle-tested Rust Framework

    2 projects | dev.to | 15 Dec 2023
  • Getting Started with Axum - Rust's Most Popular Framework

    5 projects | dev.to | 6 Dec 2023
  • RustGPT: ChatGPT UI Built with Rust, Htmx, SQLite

    4 projects | news.ycombinator.com | 19 Nov 2023
  • Announcing Stilts v0.1 A new template engine like Askama

    2 projects | /r/rust | 4 Jul 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 15 Jun 2024
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source HTML projects in Rust? This list will help you:

Project Stars
1 dioxus 19,019
2 tera 3,289
3 trunk 3,241
4 askama 3,196
5 sycamore 2,702
6 html5ever 2,019
7 maud 1,965
8 sauron 1,928
9 lol-html 1,421
10 quick-xml 1,116
11 crowbook 697
12 sauron-native 632
13 ructe 428
14 mogwai 424
15 CommonMarker 412
16 markup.rs 342
17 horrorshow-rs 315
18 rsspls 265
19 render.rs 227
20 css-inline 219
21 ryde 185
22 syn-rsx 177
23 html5gum 147

Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com