https://github.com/paulkinlan/is-it-a-button-lighthouse-audit
A lighthouse audit that uses an ML model to determine if a link looks like a button
https://github.com/paulkinlan/is-it-a-button-lighthouse-audit
Last synced: about 1 month ago
JSON representation
A lighthouse audit that uses an ML model to determine if a link looks like a button
- Host: GitHub
- URL: https://github.com/paulkinlan/is-it-a-button-lighthouse-audit
- Owner: PaulKinlan
- License: apache-2.0
- Created: 2023-01-05T11:36:06.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-12T18:54:29.000Z (almost 2 years ago)
- Last Synced: 2025-04-01T16:59:19.422Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 38.7 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Audit: audit/anchor-looks-like-a-button.js
Awesome Lists containing this project
README
# Is it a button Lighthouse audit?
This is an experiemental Lighthouse Audit that will look at all the `` elements on a page and try to determine if it looks like a button or not.
Learn more about [why](https://paul.kinlan.me/button-and-link-scraping-for-ml-training/) this is getting built.
## Caveats
1. The ML currently operates on a heavily compressed rendering of the page which the Model is not great at.
2. There are some training issues with links that go over multiple lines.## How to use
`lighthouse https://paul.kinlan.me/ --config-path=./audit/config.js --view`