#html #render #server #ssr #rust

bin+lib rusty-render

A simple Rust-based server that listens on a TCP socket and renders HTML pages dynamically based on incoming requests

7 releases

0.1.14 Nov 12, 2024
0.1.13 Nov 12, 2024

#1796 in Web programming

Download history 541/week @ 2024-11-08 51/week @ 2024-11-15 3/week @ 2024-11-22 4/week @ 2024-11-29 2/week @ 2024-12-06

96 downloads per month

MIT license

14KB
140 lines

rusty-render

rusty-render is a simple Rust-based server that renders HTML pages dynamically on incoming TCP requests. It listens on a specified address and serves the requested pages.

Features

  • TCP Listener: The server listens for incoming connections on a specific address and port (port).
  • HTML Rendering: The server renders HTML pages dynamically for each incoming request using the render crate.
  • Simple and Lightweight: This server provides a minimalistic setup to demonstrate basic HTML rendering in Rust.

Requirements

  • Rust: You need to have the latest version of Rust installed.
  • Cargo: Cargo is the Rust package manager used for building and running the project.

Installation

To set up and run the project:

  1. Clone the Repository
git clone https://github.com/HashiramaSenjuhari/rusty-render
cd rusty-render

Dependencies

~5–16MB
~240K SLoC