TASTyViz is a web-based visualizer for TASTy, the Scala 3 interchange format. It is currently minimally usable but very much still a work in progress. Please report issues or request features on the GitHub project, or open a pull request!
After cloning the repository:
- Edit the file
src/main/scala/tastyviz/controller/Config.scala
to specify the hostname at which you will serve TASTyViz (http://localhost:8080
will be fine in most cases) and URLs for the JARs you want to browse. If, as in the example, your JARs are also atlocalhost
URLs, place them under thewww/
directory. - Run
sbt copyToWWW
from the project root directory. This will populate thewww/
directory with all the files needed to serve TASTyViz on a web server. - Start your preferred web server in the
www/
directory, e.g. withpython -m http.server 8080
, and open the corresponding page in your browser.
Note that TASTyViz can take several seconds to start after opening the page in the browser. Note also that it needs a working Internet connection to load its JavaScript dependencies (JSZip, jQuery, and jsTree).