Skip to content

VictosVertex/templess

Repository files navigation

TempLess

A Dark Age of Camelot Template Solver built with Dioxus and Clingo.

Development

Clingo

This project uses clingo as the solver. To bundle clingo into the application, we use a build.rs script that compiles clingo from source and links it to the Rust code.

The libraries are compiled depending on the profile (debug or release). This means

cargo build --features bundle-clingo

and

cargo build --release --features bundle-clingo

will produce debug and release builds of clingo respectively.

Styling

For styling, we use Tailwind CSS. The tailwind.css file contains the Tailwind directives, and we compile it to assets/tailwind.css for use in the application.

To compile tailwind, run

npx tailwindcss -i ./tailwind.css -o ./assets/tailwind.css --watch

Serving

To run the app with hot reloading, use

dx serve --hot-reload true

To run with rust hot patching

dx serve --hotpatch

About

Dark Age of Camelot Template Solver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages