This simple Hono app wraps nbbaier/createFileTree in an endpoint.
There's a single route: https://nbbaier-projecttree.web.val.run/:username/:valname where:
username is the Val Town usernamevalname is the name of the val/projectFor example, to get the file tree for this val, you would use:
https://project-tree.val.run/nbbaier/projectTree