Skip to content

victorhqc/simple-page

Repository files navigation

simple-page

About

Nothing really useful. Just me learining about gotham, hyper, tokio and Async programming in Rust in general. I'm pretty new to Futures but it's super interesting.

Watch this video to understand how it all works.

Idea

I just want to have a very simple static HTML that renders some random gifs from giphy. I would like to update those gifs every 5 minutes and just store them in memory for each request.

idea

Requirements

  • Rust >= 1.36

How to run

ADDRESS=127.0.0.1:7879 cargo run
  1. Start webserver
cargo run

How to run (nested iframes)

  1. Compile production build
cargo build --release
  1. Run start script
./scripts/start.sh

About

A very simple website built with rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published