My First Blog Post
Foreword
Hi, I’m Dandelion! My friends usually call me Dande. Welcome to my personal website, built with the Leptos web framework and Axum.
Why Using Leptos
I’ve been using Next.js and React since 2022, before diving into the world of Rust.
I genuinely enjoy Rust’s programming philosophy and wanted to incorporate it as much as possible in my work. While I recognize that the JavaScript ecosystem is quite mature, I was determined to build my personal website with Rust.
I spent about a week experimenting with both Leptos and Dioxus, and found that Leptos’ JSX-like syntax was easier for me to use. That’s why I ultimately chose Leptos.
I also recommended using Dioxus for the front end. A lot of people are contributing to its ecosystem.
Acknowledgements
This blog template is highly inspired by itehax/rust-blog and timlrx/tailwind-nextjs-starter-blog.
I also learned a lot from leptos-rs/leptos/examples/static-routing and this discussion on GitHub.
Later in development, I realized I should compile static posts at build time. NiklasEi/cinnog_example provided significant inspiration for this approach.
In the early stages of this project, I referenced the layouts of timlrx/timlrx.com and hta218/leohuynh.dev.
Thanks to the following projects, which I’ve used to build this website:
- akesson/cargo-leptos
- bram209/leptosfmt
- carloskiki/leptos-icons
- favicon.io
- fontsource/font-files
- gaucho-labs/tailwind-fuse
- igorshubovych/markdownlint-cli
- leptos-rs/leptos
- lint-staged/lint-staged or hyf0/rslint-staged
- markdownlint/markdownlint
- prettier/prettier
- rayon-rs/rayon
- rust-lang/rust
- Synphonyte/leptos-use
- tailwindlabs/tailwindcss
- tamasfe/taplo
- timlrx/rehype-prism-plus
- tokio-rs/axum
- typicode/husky or rhysd/cargo-husky
- twitter/twemoji
At last, and most importantly, I would like to express my sincere gratitude to my mentors and friends, dacozai, leonzchang and vpochapuis, who provided invaluable assistance and guidance throughout the development of this project.
Future Plans
I hope to continuously improve and implement component libraries necessary for this blog, and take time to share some development-related experiences (after all, I spent some time improving the code highlighting functionality).
I also hope that perhaps in the near future, I can pick up my interest in photography again and share some pictures of my life. I wish to document various things about myself.