Based on this video. This repo has 2 versions of the script, one with the first block of allowed letters in the video, and another with the more restrictive one. The output is a top 5 of the longest words, but I took the extra step of showing them like it was a 7-segment display. I also included the bonus round which is:
Bonus question: what's the longest word you can spell just by turning a calculator upside-down?
npm run v1
╻ ╻ ┏━ ╻ ╻ ╻ ╻ ╻ ┏━┓ ╻ ╻ ┏━ ┏━┓ ╻ ╻ ╻ ╻ ╻ ┏━ ╻ ╻ ╻ ┏━ ╻ ╻ ╻ ┏━┓ ┏━┓ ┏━
┏━┫ ┃ ┃ ┣━┫ ┃ ┏━┓ ┏━ ┏━┓ ┏━┫ ┃ ┣━┛ ┣━┫ ┣━ ┃ ┃ ┗━┫ ┃ ┣━ ┏━ ┃ ┃ ┣━┫ ┃ ┏━┓ ┏━ ┏━┓ ┣━ ┣━ ┣━┫ ┣━┫ ┃ ┃ ┣━
┗━┛ ╹ ┗━ ╹ ╹ ┗━ ┗━┛ ╹ ┗━┛ ┗━┛ ╹ ╹ ╹ ╹ ┗━ ╹ ╹ ━┛ ┗━ ┗━ ╹ ╹ ┗━ ╹ ╹ ┗━ ┗━┛ ╹ ┗━┛ ┗━ ┗━ ╹ ╹ ╹ ╹ ╹ ╹ ┗━
┏━┓ ┏━ ┏━ ╻ ╻ ╻ ╻ ┏━┓ ╻ ┏━ ┏━┓ ┏━┓ ╻ ╻ ┏━┓ ┏━┓ ╻ ╻ ┏━ ╻ ╻ ┏━
┣━┛ ┗━┓ ┣━ ┃ ┃ ┏━┫ ┏━┓ ┃ ┃ ┃ ┣━ ┣━ ┏━ ┃ ┃ ┣━┫ ┣━ ┃ ┏━┓ ┃ ┃ ┣━┫ ┃ ┃ ┗━┓ ┣━ ┃ ┃
╹ ━┛ ┗━ ┗━┛ ┗━┛ ┗━┛ ╹ ╹ ╹ ┗━ ┗━ ╹ ╹ ╹ ╹ ╹ ┗━ ╹ ┗━┛ ╹ ╹ ╹ ╹ ┗━ ╹ ━┛ ┗━ ╹ ┗━
┏━ ╻ ╻ ╻ ╻ ╻ ┏━ ╻ ╻ ╻ ┏━ ╻ ╻ ╻ ╻ ╻ ╻ ┏━ ┏━┓ ┏━
┃ ┣━┫ ┃ ┏━┓ ┏━ ┏━┓ ┣━ ┏━ ┃ ┣━ ┃ ┃ ┃ ┏━┓ ┏━ ┏━┓ ┣━ ┣━ ┣━┫ ┗━┫ ┃ ┣━ ┃ ┃ ┣━
┗━ ╹ ╹ ┗━ ┗━┛ ╹ ┗━┛ ┗━ ╹ ╹ ┃ ┗━ ┗━┛ ┗━┛ ╹ ┗━┛ ┗━ ┗━ ╹ ╹ ━┛ ┗━ ┗━ ╹ ╹ ┗━
┏━┓ ╻ ╻ ┏━ ┏━┓ ╻ ┏━ ╻ ╻ ╻ ┏━┓ ╻ ╻ ┏━┓ ┏━ ┏━┓ ╻ ╻ ╻ ╻ ╻ ┏━┓ ╻ ┏━ ╻ ┏━┓
┣━┛ ┣━┫ ┣━ ┃ ┃ ┏━┓ ┃ ┗━┓ ┃ ┃ ┃ ┣━┛ ┣━┫ ┏━┓ ┃ ┃ ┣━ ┣━┛ ┣━┫ ┣━ ┣━┫ ┣━┫ ┃ ┣━ ┃ ┃ ┃
╹ ╹ ╹ ┗━ ╹ ╹ ┗━┛ ┗━ ━┛ ┗━┛ ┗━ ╹ ╹ ╹ ┗━┛ ╹ ╹ ┗━ ╹ ╹ ╹ ┗━ ╹ ╹ ╹ ╹ ┗━ ┗━ ╹ ╹ ╹
┏━┓ ╻ ╻ ╻ ╻ ┏━ ╻ ┏━┓ ┏━ ╻ ╻ ╻ ┏━ ╻ ╻ ╻ ╻ ╻ ╻ ┏━ ┏━┓ ┏━
┣━┛ ┏━┓ ┃ ┗━┫ ┣━ ┣━ ┣━ ┏━ ┣━┫ ┣━ ┃ ┃ ┃ ┏━┓ ┏━ ┏━┓ ┣━ ┣━ ┣━┫ ┗━┫ ┃ ┣━ ┃ ┃ ┣━
╹ ┗━┛ ┗━ ━┛ ┗━ ┗━ ┗━ ╹ ╹ ╹ ┃ ┗━ ┗━┛ ┗━┛ ╹ ┗━┛ ┗━ ┗━ ╹ ╹ ━┛ ┗━ ┗━ ╹ ╹ ┗━
npm run v2
┏━ ╻ ╻ ┏━┓ ┏━ ╻ ┏━┓ ┏━┓ ┏━ ┏━ ┏━ ┏━┓ ╻ ┏━ ┏━┓ ╻ ┏━┓ ┏━ ┏━ ┏━
┗━┓ ┃ ┃ ┣━┛ ┣━ ┏━ ┣━ ┏━ ┣━┫ ┃ ┃ ┗━┓ ┃ ┣━ ┃ ┃ ┏━┫ ┣━ ┃ ┃ ┣━ ┃ ┃ ┣━ ┗━┓ ┗━┓
━┛ ┗━┛ ╹ ┗━ ╹ ┗━ ╹ ╹ ╹ ╹ ╹ ━┛ ┗━ ┗━ ╹ ╹ ┗━┛ ┗━ ╹ ╹ ┗━ ╹ ╹ ┗━ ━┛ ━┛
┏━ ╻ ╻ ┏━┓ ┏━ ┏━ ╻ ╻ ┏━┓ ┏━ ┏━┓ ╻ ╻ ╻ ┏━┓ ╻ ┏━┓ ┏━┓ ╻ ╻ ╻ ╻
┗━┓ ┃ ┃ ┣━┛ ┣━ ┏━ ┗━┓ ┃ ┃ ┣━┛ ┣━ ┏━ ┣━┫ ┣━┓ ┃ ┃ ┃ ┃ ┏━┫ ┣━┫ ┃ ┃ ┣━ ┃ ┗━┫
━┛ ┗━┛ ╹ ┗━ ╹ ━┛ ┗━┛ ╹ ┗━ ╹ ╹ ╹ ┗━┛ ┗━┛ ╹ ╹ ┗━┛ ╹ ╹ ╹ ╹ ┗━ ┗━ ━┛
┏━ ╻ ╻ ┏━┓ ┏━ ┏━ ╻ ╻ ┏━┓ ┏━ ┏━┓ ╻ ╻ ╻ ┏━┓ ╻ ┏━┓ ┏━┓ ┏━ ┏━
┗━┓ ┃ ┃ ┣━┛ ┣━ ┏━ ┗━┓ ┃ ┃ ┣━┛ ┣━ ┏━ ┣━┫ ┣━┓ ┃ ┃ ┃ ┃ ┏━┫ ┣━┫ ┃ ┃ ┃ ┣━
━┛ ┗━┛ ╹ ┗━ ╹ ━┛ ┗━┛ ╹ ┗━ ╹ ╹ ╹ ┗━┛ ┗━┛ ╹ ╹ ┗━┛ ╹ ╹ ╹ ╹ ┗━ ┗━
┏━ ╻ ╻ ┏━┓ ┏━ ┏━┓ ╻ ┏━┓ ┏━┓ ╻ ┏━┓ ╻ ╻ ┏━ ┏━┓ ┏━ ┏━ ┏━
┗━┓ ┃ ┃ ┣━┛ ┣━ ┏━ ┣━┫ ┏━┫ ┣━┫ ┣━┛ ┣━ ┣━┫ ┣━┓ ┃ ┣━ ┃ ┃ ┣━ ┗━┓ ┗━┓
━┛ ┗━┛ ╹ ┗━ ╹ ╹ ╹ ┗━┛ ╹ ╹ ╹ ┗━ ╹ ╹ ┗━┛ ┗━ ┗━ ╹ ╹ ┗━ ━┛ ━┛
╻ ╻ ╻ ╻ ┏━┓ ╻ ┏━┓ ┏━ ╻ ╻ ╻ ╻ ┏━ ┏━ ┏━┓ ╻ ╻ ┏━┓ ╻ ╻ ╻
┃ ┃ ┃ ┣━ ┏━ ┣━┫ ┣━┓ ┏━ ┣━┫ ┃ ┣━┫ ┗━┫ ┃ ┣━ ┣━┛ ┣━┫ ┣━┫ ┃ ┗━┫
┗━┛ ┗━ ┗━ ╹ ╹ ╹ ┗━┛ ╹ ╹ ╹ ┗━ ╹ ╹ ━┛ ┗━ ┗━ ╹ ╹ ╹ ╹ ╹ ┗━ ━┛
npm run bonus
┏━┓ ╻ ┏━┓ ╻ ╻ ┏━┓ ╻ ┏━┓ ┏━ ╻ ┏━ ┏━
┣━┫ ┃ ┣━┫ ┃ ┃ ┃ ┃ ┃ ┃ ┃ ┣━┓ ┃ ┣━ ┗━┓
┗━┛ ╹ ┗━┛ ┗━ ╹ ┗━┛ ┗━ ┗━┛ ┗━┛ ╹ ┗━ ━┛
┏━ ╻ ┏━┓ ┏━ ┏━ ┏━┓ ╻ ┏━┓ ┏━ ╻ ┏━ ┏━
┣━┓ ┃ ┃ ┃ ┗━┓ ┗━┓ ┃ ┃ ┃ ┃ ┃ ┣━┓ ┃ ┣━ ┗━┓
┗━┛ ┗━ ┗━┛ ━┛ ━┛ ┗━┛ ┗━ ┗━┛ ┗━┛ ╹ ┗━ ━┛
╻ ╻ ╻ ╻ ┏━┓ ╻ ╻ ╻ ╻ ┏━ ┏━
┣━┓ ┃ ┃ ┃ ┣━┫ ┃ ┃ ┃ ┃ ┣━ ┗━┓
╹ ╹ ╹ ┗━ ┗━ ┗━┛ ╹ ┗━ ┗━ ╹ ┗━ ━┛
╻ ┏━ ┏━┓ ┏━ ╻ ┏━┓ ┏━ ┏━ ┏━ ┏━
┃ ┗━┓ ┃ ┃ ┣━┓ ┃ ┃ ┃ ┗━┓ ┗━┓ ┣━ ┗━┓
╹ ━┛ ┗━┛ ┗━┛ ┗━ ┗━┛ ━┛ ━┛ ┗━ ━┛
╻ ┏━┓ ┏━┓ ╻ ┏━┓ ╻ ╻ ╻ ┏━ ┏━
┃ ┃ ┃ ┣━┫ ┃ ┃ ┃ ┃ ┃ ┃ ┣━ ┗━┓
┗━ ┗━┛ ┗━┛ ┗━ ┗━┛ ┗━ ┗━ ╹ ┗━ ━┛