Rustam is a single-page web app built entirely in Rust with Dioxus and compiled to WebAssembly. Alongside the usual portfolio pages, it ships three small productivity tools — a to-do list, a Pomodoro timer and a Markdown editor — that run fully in the browser (the to-do list and Pomodoro stats are saved to localStorage). It is deployed to GitHub Pages by a GitHub Actions workflow on every push to main.
- Portfolio pages — Home, About, Projects, Skills and Contact, with project cards, skill badges, a timeline and social links
- To-do list — add tasks with priorities, filter them, and keep them across reloads
- Pomodoro timer — configurable work / short break / long break lengths (25 / 5 / 15 min by default) with session stats
- Markdown editor — toolbar, live preview (rendered with
pulldown-cmark), and export as.mdor.html - Theming — light / dark / system theme
- Client-side routing with the Dioxus router and an SPA fallback for GitHub Pages
- Responsive layout with a mobile menu
| Area | Technology |
|---|---|
| Language | Rust (edition 2024) |
| UI framework | Dioxus 0.7 (web + router) |
| Target | WebAssembly (wasm32-unknown-unknown) |
| Browser APIs | web-sys, js-sys, wasm-bindgen, gloo-timers |
| Markdown | pulldown-cmark |
| Styling | Tailwind CSS (CDN) + custom CSS |
| Deployment | GitHub Actions → GitHub Pages |
- Rust (stable, with edition 2024 support)
- The WebAssembly target and the Dioxus CLI:
rustup target add wasm32-unknown-unknown
cargo install dioxus-cli --lockedgit clone https://github.com/aghorbani84/rustam.git
cd rustam
dx serveOpen the local URL printed by dx serve. The app is configured with the base path /rustam (see Dioxus.toml), matching its GitHub Pages address.
dx build --releaserustam/
├── src/
│ ├── main.rs, app.rs # Entry point, router and layout
│ ├── pages/ # Home, About, Projects, Skills, Contact, Todo, Pomodoro, Markdown…
│ ├── components/ # UI components (cards, timeline, todo/, pomodoro/, markdown/)
│ ├── hooks/ # use_local_storage, use_theme, use_interval, use_markdown
│ ├── models/ # Todo, Pomodoro and Markdown data types
│ └── styles/ # App CSS
├── assets/ # Preview images
├── index.html, manifest.json, robots.txt, sitemap.xml
├── Dioxus.toml
└── .github/workflows/deploy.yml
Licensed under Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 (CC BY-NC-ND 4.0). You may share it with attribution for non-commercial purposes, but not distribute modified versions. See LICENSE for details.
Built by @aghorbani84.
