Single file pure HTML tool for viewing LoRA metadata that can be run locally on your web browser without the need of installation or internet connectivity.
To use, just extract the attached Zip and open the extracted HTML file with the web browser of your choice. Alternatively, you can use the version hosted on Github: https://xypher7.github.io/lora-metadata-viewer
Not thoroughly tested, but should work with most modern web browsers. To be honest I didn't really intend to share this so its kind of low effort and pretty basic. However, I decided to post it since others might find it useful too. I don't really plan to update this as it already does what I need, plus I want to keep it as simple and lightweight as possible. Though suggestions are always welcome.
Github repository URL: https://github.com/Xypher7/lora-metadata-viewer
Features:
Configurable metadata summary
CivitAI resource lookup. (Requires internet connection)
Configurable training tag summary
Edit or remove metadata in the Safetensors file
Doro :3
Description
FAQ
Comments (9)
nice
You put like 100x more effort than my bash script! :D
Well, pretty hard to beat a 1 liner at that XD. Still, ChatGPT did most of the heavy lifting for me. Really wouldn't have bothered doing this without it
What a coincidence, I just built a very similar tool but for editing LoRa metadata. Swear to God, I didn't know about your project at all, but our results are so similar. Maybe it's just too straightforward, so we got the same result.
check mine: https://lorainfo.tools/
Oh cool, thanks for sharing. Not really surprised they are so similar though, there is only so much you can do with metadata lol. Still, even as similar as they appear, it seems like they are very different tools. This one is intended for ease of browsing while yours is for editing.
And I've been contributing to this tool for working with safetensors files. https://github.com/by321/safetensors_util
One thing we all should probably do is look for the "ss_training_started_at" item and use .toString() to convert its value to a human readable timestamp.
For editors, that's a little more complex since it would probably involve datepicker and timepicker HTML5 widgets to prevent users from accidentally entering in misformatted values (or better still, make that value not editable).
@ydoomenaud You mean you can't tell the date just by looking at 1687122758.4630542? XD
Good catch though. Really just ignored it since this was meant to be low effort, but might as well try to format these if I update again.
@Xypher I think the reason these keep getting developed is that they are so useful and needed. I requested one that got made months ago, but it is hit and miss reading files, so I'm still kinda looking for a great one. Thanks for both of your efforts on this!
@ydoomenaud Yes, you are right, that’s definitely the following development direction, I would add date support soon.

