moleXa is a modern web application for 3D molecular visualization that makes chemistry accessible and engaging. I built it because existing molecular viewers like molview might be too complex to use for beginners, also it requires to have pro subscription if you want to download 3D format object, and moleXa is completely free and doesn't require any account registration. It fetches real molecular data from PubChem and renders scientifically accurate 3D structures with educational explanations.
Live Demo: molexa.org
I wanted to create something that's immediately usable and free in any web browser alongside with visualizing molecular structures in pretty 3D models with some useful information.
- Interactive 3D visualization - Rotate, zoom, and explore molecules with smooth WebGL rendering
- Educational context - Learn what molecular properties actually mean
- Smart search - Autocomplete suggestions and formula validation
- Safety information - Real toxicity data for lab safety education
- Mobile-friendly - Works great on phones and tablets
- No installation - Runs entirely in your web browser
- Live data - Always up-to-date information from PubChem
Interactive 3D model of morphine showing accurate atomic positions and bond structures
Detailed molecular data with educational context and alternative names
Molecular properties with explanations of what they mean for drug-like behavior
Formula search with validation and common examples
Intelligent autocomplete for chemical names
Live analytics showing educational impact and usage patterns
# Clone the repository
git clone https://github.com/bazarkua/molexa.git
cd molexa
# Install dependencies
npm install
# Start development server
npm run dev
# Open http://localhost:3000 in your browser- Search for molecules - Use the search bar to find compounds by name or chemical formula
- Explore in 3D - Drag to rotate, scroll to zoom, toggle labels on/off
- Learn the details - Check the molecular information panel for properties and safety data
- Download results - Export high-quality images or 3D models for presentations
- Next.js 15 - React framework with server-side rendering
- Three.js - WebGL-based 3D graphics
- TypeScript - Type safety and better development experience
- Tailwind CSS - Utility-first styling
- Zustand - Lightweight state management
- Radix UI - Accessible component primitives
# Optional - for local API development
NEXT_PUBLIC_USE_LOCAL_API=trueThe app automatically uses the production API at molexa-api.vercel.app unless you're running the backend locally.
# Start with hot reloading
npm run dev
# Build for production
npm run build
# Run production build
npm run start
# Type checking
npm run lintI want this tool to be used by students and educators worldwide. The backend API tracks educational usage patterns to understand how molecular visualization supports learning. All tracking is privacy-focused and helps improve the educational experience.
- Backend API: molexa-api - The educational proxy API that powers this frontend
- Live Analytics: molexa-api.vercel.app - Real-time usage analytics
I welcome contributions from educators, students, and developers. If you have ideas for making chemistry more accessible or find bugs, please open an issue or submit a pull request.
This project was developed with invaluable assistance from Claude AI by Anthropic.
If you use moleXa in research, education, or publications, please cite:
Frontend Application:
Bazarkulov, A. (2025). moleXa: 3D Molecular Visualization Platform (Version 2.0.0) [Computer software].
GitHub. https://github.com/bazarkua/molexa
Backend API:
Bazarkulov, A. (2025). moleXa API: PubChem Educational Proxy API (Version 2.2.0) [Computer software].
GitHub. https://github.com/bazarkua/molexa-api
PubChem Database:
Kim, S., Chen, J., Cheng, T., et al. (2025). PubChem 2025 update.
Nucleic Acids Research, 53(D1), D1516–D1525. https://doi.org/10.1093/nar/gkae1059
MIT License - see LICENSE for details.
- Live Application: molexa.org
- Backend API: molexa-api.vercel.app
- API Repository: github.com/bazarkua/molexa-api
- PubChem Database: pubchem.ncbi.nlm.nih.gov
Built with passion and vision for accessible education.
