react

Highlight Text From Multiple User Selections in React

TL;DR - This is a simple React component that allows you to make multiple highlights in a text from user selections. Why? Working on a side project I wanted a way for users (and me as the current only user) to save words that they don’t know from a text. I found this great example blog that demonstrated one way to do this in React, but it didn’t allow for multiple highlights.
Read more

YOLO-ing All the Traffic Cams

TL;DR - Here’s a web app to list labelled traffic cam images from the RI DOT website. I used YOLO (You Only Look Once) to detect objects (vehicles) in the images and FastAPI to serve the results to a React app. The displays the cam images and results and uses LeafletJS to display the cameras on a map. The backend is hosted on Railway and the front end on Github Pages.
Read more