Skip to content

EsawAdhana/connections-bot

Repository files navigation

connections-bot

A Chrome extension that tries to solve NYT Connections by asking Claude. The extension extracts the 16 words from the live game page and posts them to a local Flask backend, which prompts Claude to identify the four groups of four. The proposed solution shows up in the extension popup.

Stack

Chrome Extension (Manifest V3, vanilla JS) on the frontend, Python 3.7+ with Flask on the backend, Claude API for the actual solving.

Setup

Backend:

pip install -r requirements.txt

Set your Claude API key at line 12 of server.py:

CLAUDE_API_KEY = "YOUR_API_KEY"

Then:

python server.py

The server runs on http://localhost:5000.

Extension: open chrome://extensions/, enable Developer mode, click "Load unpacked", and select this repo's root directory.

Using it

Open the NYT Connections game, click the extension icon, hit "Extract Words" to grab the 16 words, then "Solve Puzzle" to get the proposed grouping.

About

A Chrome extension that solves NYT Connections by asking Claude.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors