https://github.com/jonathanhelianthicusdoe/gag_combo_gen_web
Generates optimal single-cog gag combinations given user constraints (front-end)
https://github.com/jonathanhelianthicusdoe/gag_combo_gen_web
agpl-v3 combinatorial-optimization dynamic-programming frontend gag gag-combo-gen gags optimization rust toontown toontown-online toontown-rewritten toontownonline toontownrewritten ttr typescript wasm web-assembly webapp webassembly
Last synced: 2 months ago
JSON representation
Generates optimal single-cog gag combinations given user constraints (front-end)
- Host: GitHub
- URL: https://github.com/jonathanhelianthicusdoe/gag_combo_gen_web
- Owner: JonathanHelianthicusDoe
- License: agpl-3.0
- Created: 2019-08-22T21:54:30.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-31T10:34:12.000Z (almost 5 years ago)
- Last Synced: 2024-01-30T01:23:31.649Z (over 1 year ago)
- Topics: agpl-v3, combinatorial-optimization, dynamic-programming, frontend, gag, gag-combo-gen, gags, optimization, rust, toontown, toontown-online, toontown-rewritten, toontownonline, toontownrewritten, ttr, typescript, wasm, web-assembly, webapp, webassembly
- Language: HTML
- Homepage: https://zz.nfshost.com/gag_combo_gen_web/index.html
- Size: 1.11 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gag\_combo\_gen\_web
[](./LICENSE)
[](https://github.com/rust-secure-code/safety-dance/)The front-end implementation of the gag combo generator found
[here](https://zz.nfshost.com/gag_combo_gen_web/index.html). For the inner
library part, see
[gag\_combo\_gen](https://github.com/JonathanHelianthicusDoe/gag_combo_gen).## Build dependencies
* `cargo` and the latest stable Rust toolchain
([https://rustup.rs/](https://rustup.rs/))
* `wasm32-unknown-unknown` target support
(`rustup target add wasm32-unknown-unknown`)
* `npm` ([https://www.npmjs.com/](https://www.npmjs.com/))
* `wasm-opt` ([https://github.com/WebAssembly/binaryen][binaryen])## How to deploy
```bash
git clone https://github.com/JonathanHelianthicusDoe/gag_combo_gen.git
git clone https://github.com/JonathanHelianthicusDoe/gag_combo_gen_web.git
cd gag_combo_gen_web
npm install
./build.sh # You can pass -s as an argument to optimize for size with wasm-opt,
# but in that case you probably also want to set opt-level="z" in
# the Cargo.toml beforehand.# For testing
cd test
npm install
npm start &
firefox localhost:3000
```## Legal
This software is licensed to anyone under the terms of the [GNU Affero General
Public License, version 3](https://www.gnu.org/licenses/agpl-3.0.en.html) (or
any higher version of the same license, at your option).[](https://www.gnu.org/licenses/agpl-3.0.en.html)[binaryen]: https://github.com/WebAssembly/binaryen