https://github.com/mkhan45/rustscript_site
Personal resume/portfolio site written in RustScript
https://github.com/mkhan45/rustscript_site
Last synced: 24 days ago
JSON representation
Personal resume/portfolio site written in RustScript
- Host: GitHub
- URL: https://github.com/mkhan45/rustscript_site
- Owner: mkhan45
- Created: 2021-11-19T00:07:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-05-07T16:07:48.000Z (2 months ago)
- Last Synced: 2025-05-07T17:24:10.347Z (2 months ago)
- Language: HTML
- Homepage: https://mikail-khan.com/
- Size: 783 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
A server for my personal resume/portfolio, written completely in [RustScript](https://mkhan45.github.io/RustScript2)
___
This server relies on two RustScript helper libraries:
- - to parse the TOML files in the assets folder (i.e. the `parse_toml()` function)
- - for routing/HTML templating (i.e. `template_file_string()` and `serve_endpoints()`)While `rustscript_web` handles all of the routing and a lot of HTTP setup, the actual HTTP(S) implementation is done through RustScript's `start_server()` and `start_server_ssl()` builtins, which leverage the [`ocaml-cohttp`](https://github.com/mirage/ocaml-cohttp) library.