🚀 Init public commit

This commit is contained in:
Markus Scully 2025-07-27 00:42:40 +03:00
commit 62fbf6d17c
Signed by: mascully
GPG key ID: 93CA5814B698101C
42 changed files with 7433 additions and 0 deletions

39
README.md Normal file
View file

@ -0,0 +1,39 @@
# Mascully Website
My personal website. Hosted at [mascully.com](https://mascully.com). The currently hosted version may not always exactly reflect the contents of this repo.
Built using [Leptos](https://leptos.dev/) with [Axum](https://github.com/tokio-rs/axum).
## Running
### Nix
Run directly with
```bash
nix develop -c cargo-leptos serve
```
Develop with
```bash
nix develop
cargo-leptos watch
```
I'm still working on getting the flake working, so for now you can't use `nix run`. I also haven't figured out how to bundle it as a standalone binary yet.
### Other systems
- Install Rust nightly.
- Install [Cargo Leptos](https://github.com/leptos-rs/cargo-leptos).
- `cargo-leptos serve`
## Code structure
- `crates/app`: The actual website.
- `crates/frontend`: Images, fonts, CSS.
- `crates/server`: A minimal Axum server for serving pages.
- `flake.nix`: This doesn't work; ignore it.
## License
MIT