Live Demo - https://spy-helper.onrender.com
Spy Helper is a web application designed to assist players of the Codenames game. It generates creative one-word clues based on a list of words provided by the user, helping spymasters give better clues to their teammates.
- Open the application in your browser.
- Enter words separated by spaces in the input field.
- Click the "Generate Clues" button.
- The application will display 10 potential clues along with descriptions for the provided words.
- Frontend: HTML, CSS, JavaScript
- Backend: TypeScript, Bun
- AI Model: Google Generative AI (Gemini 2.0)
-
Clone the repository:
git clone <repository-url> cd gemini
-
Install dependencies:
bun install
-
Create a
.env
file and add your Google Generative AI API key:GEMINI_API_KEY=your_api_key_here
-
Run the application:
bun run index.ts # for running bun server npx @tailwindcss/cli -i fe/styles.css -o fe/output.css --watch # for running tailwindcss
-
Open your browser and navigate to
http://localhost:3000
to use the application.
This project was created using bun init
in bun v1.1.34. Bun is a fast all-in-one JavaScript runtime.