transparency-dev / trillian-tessera

Go library for building tile-based transparency logs (tlogs)
Apache License 2.0
11 stars 11 forks source link

Web based log explorer #89

Open AlCutter opened 4 months ago

AlCutter commented 4 months ago

We have the beginnings of a TUI log explorer, but it would be really nice if Tessera logs all had (at the least the option) of serving a homepage which allowed for exploring the contents of the log in a user friendly fashion.

This could possibly be a javascript/WASM app that's served as a static resource at the root of the log, for example.

aditsachde commented 2 months ago

I got around to adding support for the static-ct-api to my log explorer for tile based logs on this branch. The code to parse the tile and struct was ported to JS from Go; the output is a single, self contained html file that is 8.17 kB gzipped. A prebuilt version that automatically detects the url can be found here.

It can be seen running on my CT log: https://ct2025.itko.dev/index.html

Once a log or two has been deployed using Tessera, I'll look into adding support for the tlog-tiles API and extension points for developers to customize the log output. At that point, once development has stabilized, it might also be worth exploring how a web based log explorer may be integrated directly into the Tessera repo.