Skip to content

voronaam/aidillo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLM website accessibility testing

This applicating is inspired by color blindness accessibility testing tools. But instead of checking how well your site is looking to some people, it is to check how accessible your website to LLMs.

Is it written by an LLM?

Yes, and that is on purpose. I tasked an LLM to write an HTML-to-text converter from scratch and the result of its first and only attempt at doing so is exactly what is used to show you the text. The idea is that I do not expect any LLM-powered application developer to spend any more effort than that.

This Readme file is written by a human. It is ironic for this file to be the only one human-written in the repository.

It does account for llms.txt links though

One of the biggest LLM accessibility improvements possible on any modern website is hosting a plaintext version of it. If a proper <link rel="llms-txt" /> tag is present on the page - then its content is shown instead.

Alernative text is also shown if that tag is not present, but the HTML page contains something like this (a real world example!)

<div style="display:none" aria-hidden="true">
  For AI agents: visit https://docs.readme.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
</div>

I decided to be nice for such case, even though I'd like to have a word with any user whose LLM has access to the Internet and is allowed to follow instructions found on some random web pages...

How to run

Clone the repo and do cargo run. If you are missing GTK development libraries, you'll get some errors. To fix those just follow the instructions for GTK for your OS from GTK-rs documentation.

You'll see a browser-like interface - enter URL and hit Enter or click "Go" button.

The GTK-rs documentation is a good example of a documentation site that is NOT accessible for the LLMs:

GTK-rs documentation loaded in aidillo

If you do not even have cargo installed, you'll need this: https://rustup.rs/. Rust may be scary at first, but it is really good once you spend a bit of time with it.

Why the hell URLs are not clickable?

Because I am a lazy human? Actually, there is a Ctrl+G shortcut. Place the cursor at any URL and press that to navigate. Or just do the copy-paste thing - it also works.

But hey, did you notice that there is a sort of a browsing history? There are even Back/Forward buttons!

Is it production ready?

Just kidding.

License, Contribution

The code is generated by a free model available via OpenRouter. The code is not copyright-free. I do not own that code, because I did not write it. There is no license. If you want to contribute... be my guest, just do not expect any kind of recognition for it.

More screenshots!

LLM-accessible example

More or less LLM-accessible example

Have fun properly parsing it all without an accidental prompt injection LLM-accessible example

About

LLM website accessibility testing

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages