Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mkhan45/rustscript_site
Personal resume/portfolio site written in RustScript
https://github.com/mkhan45/rustscript_site
Last synced: about 1 month 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 (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-27T22:10:39.000Z (6 months ago)
- Last Synced: 2024-05-28T08:04:48.089Z (6 months ago)
- Language: HTML
- Homepage: https://mikail-khan.com/
- Size: 778 KB
- Stars: 2
- Watchers: 3
- 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.