https://github.com/wyvernixtl/fibonacci-toy-website
Calculate fibonacci numbers, fast, on the web!
https://github.com/wyvernixtl/fibonacci-toy-website
vanjs
Last synced: 6 months ago
JSON representation
Calculate fibonacci numbers, fast, on the web!
- Host: GitHub
- URL: https://github.com/wyvernixtl/fibonacci-toy-website
- Owner: WyvernIXTL
- License: mpl-2.0
- Created: 2025-03-10T20:24:17.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2025-05-17T15:40:42.000Z (8 months ago)
- Last Synced: 2025-07-08T19:13:40.206Z (6 months ago)
- Topics: vanjs
- Language: TypeScript
- Homepage: https://fibrs.pages.dev/
- Size: 1.55 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `fibonacci-toy-website`
**Calculate fibonacci numbers, fast, on the web!**
[](https://fibrs.pages.dev/)
## Building
### Prerequisites
* [Rust](https://www.rust-lang.org/tools/install)
* [`wasm32-unknown-unknown`](https://doc.rust-lang.org/nightly/rustc/platform-support/wasm32-unknown-unknown.html)
Installable via `rustup`: `rustup target add wasm32-unknown-unknown`
* [`npm`](https://nodejs.org/en)
* [`wasm-pack`](https://rustwasm.github.io/wasm-pack/installer/)
Installable via `npm`: `npm install -g wasm-pack`
Installable via `cargo`: `cargo install wasm-pack`
### Change
If you wish to deploy this webpage for yourself you'll likely need to change `assetPrefix` in [`./rsbuild.config.ts`](./rsbuild.config.ts).
See [rsbuild docs](https://rsbuild.dev/guide/basic/static-deploy) for more.
### Build
```
cd ./fibonacci-toy-rs-4-web
wasm-pack build --release
cd ..
npm ci
npm run build
```