Long ago, I made an app that controlled a headless Firefox instance and would manipulate a Chess.com webpage via an API. Then I found a guy to help build a custom wooden chess board I could monitor with an ESP32 and make calls to that API for moves, bridging a real board in a DIY setup. Never did finish the board, but realizing now I should have released the API layer.
In any event, glad Lichess exists.