Skip to content

AnthonyZhOon/simple-http-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple HTTP server

# Multithreaded http server # 0 Dependencies Install rust from here https://rustup.rs/ Once you have rust installed do cargo run in the top-level dir cargo run

This will make the server listen to 127.0.0.1:7878. Use 127.0.0.1:7878 as a url in your browser

Feel free to modify hello.html to serve whatever

Us

Roadmap

  • Write the HTML in Rust to serve dynamic content? I'll try looking behind the html! macro
    • I can add a time since startup thing
  • Host a webpage on this in a Docker instance on as Raspberri Pi at home
  • Put my resume pdf somewhere there
  • Fun?
  • Use some APIs to fetch cool info?
  • Use this to store my reading list 🔥
  • Create daily logs, storing a week to month of data?
  • Use types and regex to decompose HTTP requests

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages