Experience an immersive, narrated presentation on "Advances in Chemistry with AI" featuring:
- Synchronized Audio Narration - 12+ minute professional voiceover
- Dynamic 3D Visualizations - Real-time molecular structures, neural networks, and protein simulations
- Interactive Timeline - Seek, pause, and resume at any point
- Visual Triggers - 30+ unique visualization types that sync with speech content
Interact with an AI chemistry specialist powered by HuggingFace's inference API:
- Expert Chemistry Knowledge - From foundational to graduate-level chemistry
- Real-time Responses - Powered by Llama-3.1-8B-Instruct
- Chemistry-focused System Prompt - Ensures accurate, educational responses
- 3D Molecule Renderer - Interactive molecular structures with Three.js
- Neural Network Animations - Dynamic neural network visualizations
- Protein Structures - AlphaFold-inspired protein visualizations
- Chemical Reactions - Animated synthesis pathways
- Collision Simulations - Temperature-controlled particle physics
- Node.js 18+
- npm or yarn
- HuggingFace API key (for ChemDFM chat)
# Clone the repository
git clone https://github.com/yourusername/chemini.git
cd chemini
# Install dependencies
npm install
# Create environment file
cp .env.example .envCreate a .env file in the root directory:
VITE_HUGGINGFACE_API_KEY=your_huggingface_api_key_here
⚠️ Important: For Vercel deployment, addVITE_HUGGINGFACE_API_KEYin your project's Environment Variables dashboard.
# Start development server
npm run devOpen http://localhost:5173 in your browser.
npm run build
npm run previewchemini/
├── public/
│ ├── audio/ # Voiceover and theme music
│ └── logo.svg # Application logo
├── src/
│ ├── components/
│ │ ├── ChatArea.jsx # Main chat/presentation interface
│ │ ├── CinematicBackground.jsx # 3D visualization engine
│ │ ├── VisualComponents.jsx # All visual components
│ │ ├── Sidebar.jsx # Navigation & model selection
│ │ └── Citations.jsx # Academic citations page
│ └── data/
│ └── presentationScript.js # Timestamped presentation data
├── vercel.json # Vercel deployment config with API rewrites
└── vite.config.js # Vite configuration with proxy setup
The app proxies HuggingFace API requests through Vercel rewrites to avoid CORS issues:
vercel.json:
{
"rewrites": [
{
"source": "/api/huggingface/:path*",
"destination": "https://router.huggingface.co/:path*"
}
]
}vite.config.js:
server: {
proxy: {
'/api/huggingface': {
target: 'https://router.huggingface.co',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api\/huggingface/, ''),
},
},
}This project is built upon peer-reviewed research:
| Paper | arXiv ID | Topic |
|---|---|---|
| ChemDFM | 2401.14818 | Large Language Foundation Model for Chemistry |
| LLM-Augmented Synthesis | 2505.07027 | AI-Assisted Chemical Synthesis Planning |
| Atom-Anchored LLMs | 2510.16590 | Mass Conservation in AI Chemistry |
| IDPForge | 2502.11326 | Intrinsically Disordered Protein Modeling |
- Select "Chemini Advanced" from the sidebar dropdown
- Click the Start button on the loader screen
- Follow the guided tour or skip to begin
- Use the Play/Pause button to control playback
- Drag the progress bar to seek to any timestamp
- Select "ChemDFM" from the sidebar dropdown
- Type your chemistry question in the input box
- Press Enter or click Send to get AI responses
- Frontend: React 18, Vite 5
- 3D Graphics: Three.js, @react-three/fiber, @react-three/drei
- Animations: Anime.js, Framer Motion
- Icons: Lucide React
- Routing: React Router DOM
- AI Backend: HuggingFace Inference API (Llama-3.1-8B-Instruct)
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License.
Made with 💜 for Chemistry Education
Bringing AI and Chemistry together to inspire the next generation of scientists