Skip to content

TarasOP/sticker-dream

 
 

Repository files navigation

Sticker Dream

A voice-activated sticker printer. Press and hold the button, describe what you want, and it generates a black and white coloring page sticker that prints to a thermal printer.

How it works

  1. Hold the button and speak (max 5 seconds)
  2. Whisper transcribes your voice
  3. Google Imagen generates a coloring page based on your description
  4. Image displays in browser and prints to USB thermal printer

Setup

  1. Install dependencies:
pnpm install
  1. Create .env file:
GEMINI_API_KEY=your_api_key_here
  1. Connect a USB thermal printer. Currently only supports USB printer in MacOS - I would like to get this running with bluetooth or a receipt printer instead.

Running

Start the backend server:

pnpm server

Start the frontend (in another terminal):

pnpm dev

Open http://localhost:5173

About

voice activated sticker dreamer and printer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 76.7%
  • CSS 19.6%
  • HTML 3.7%