📖 Booktures Booktures is a high-speed AI reader that creates visuals for whatever you are reading. It analyzes the text on your page and uses a "racing" engine to generate images instantly, so you can see the story come to life in real-time.
For testing go to https://booktures-snowy.vercel.app/
⚡ The "Racing" Engine Most AI tools stop working if they hit a limit. Booktures is built differently:
The Director: First, Groq (Llama 3.3) reads your page to figure out the "Visual DNA"—like the setting, the characters, or the mood.
The Race: It sends requests to two image providers (Hugging Face and Pollinations) at the exact same time.
The Winner: It picks the highest quality image that finishes first. If one provider is busy or down, the other takes over immediately.
🎨 Design & Feel The app uses a Cyber-Minimalist style:
Split Screen: Text on the left, visuals on the right.
Dark Mode: Deep blacks and neon accents that feel like a futuristic terminal.
Resilient: If the internet flickers, a "Re-ignite Engine" button lets you try again without refreshing.
⚙️ How to Set Up
- Clone the project
Bash git clone https://github.com/Prof2807/Booktures.git cd Booktures/booktures-ui 2. Install parts
Bash npm install 3. Add your Keys Create a file named .env.local and add these three keys:
GROQ_API_KEY: The brain that reads the text.
HACKCLUB_API_KEY: The primary engine for Gemini visuals.
HUGGINGFACE_TOKEN: The fallback engine for Flux visuals.
- Start reading
Bash npm run dev