| title | BioMed Scholar API |
|---|---|
| emoji | π¬ |
| colorFrom | indigo |
| colorTo | blue |
| sdk | docker |
| app_port | 7860 |
An intelligent, Google Scholar-style semantic search engine for biomedical literature and clinical trials powered by BioBERT and AI.
- 1,800+ Documents: PubMed articles + clinical trials indexed
- 20+ Medical Topics: COVID-19, cancer, diabetes, Alzheimer's, HIV, cardiovascular, and more
- Smart Search: Hybrid keyword + semantic search with BioBERT embeddings
- Question Answering: Ask medical questions and get evidence-based answers
- Trending Topics: Explore what's popular in biomedical research
| Feature | Description |
|---|---|
| Semantic Search | AI-powered search understands medical context and synonyms |
| Hybrid Search | Combines keyword matching with semantic understanding |
| Search History | Quick access to your recent searches |
| Autocomplete | Smart suggestions as you type |
| Advanced Search | Boolean operators, exact phrases, author/journal filters |
| Search Highlighting | Matching terms highlighted in results |
| Feature | Description |
|---|---|
| Save/Bookmark | Save articles to your reading list |
| Export Results | Download as CSV or BibTeX |
| Citation Generator | One-click citations in APA, MLA, Chicago, BibTeX |
| Share Search | Copy shareable link for your search |
| Pagination | Navigate through results with keyboard arrows |
| View Modes | List view or compact view |
| Filter | Options |
|---|---|
| Source Type | All Sources, PubMed, Clinical Trials |
| Date Range | Any time, Since 2024/2023/2020, Custom range |
| Article Type | Research, Review, Meta-analysis, Case Study, Clinical Trial |
| Language | English, Spanish, German, French, Chinese, Japanese |
| Sort By | Relevance, Date (newest/oldest), Most Cited |
- Trending Topics: See what's popular in biomedical research
- Publication Trends: Visualize research trends over time
- Related Searches: Discover related search terms
| Shortcut | Action |
|---|---|
Ctrl + K |
Focus search bar |
Ctrl + Shift + F |
Open advanced search |
1 / 2 / 3 |
Switch to Articles / Q&A / Trends tab |
B |
Toggle reading list |
D |
Toggle dark mode |
β / β |
Navigate pages |
? |
Show keyboard shortcuts |
Escape |
Close modals |
cd docker
docker-compose up -dThis starts:
- Elasticsearch (port 9201)
- Redis (port 6380)
- PostgreSQL (port 5433)
pip install -r requirements.txtOpen a new terminal:
uvicorn src.api.app:app --host 0.0.0.0 --port 8000 --reloadWait for: β
API ready to accept requests
Open another new terminal:
cd frontend
python -m http.server 8080Go to: http://localhost:8080
- Type your query (e.g., "COVID-19 treatment")
- Use filters on the left sidebar:
- Select source: PubMed, Clinical Trials, or Both
- Choose date range
- Adjust search mode slider (keyword β semantic)
- View results with:
- Article details, authors, publication date
- Save to reading list
- Generate citations
- View on PubMed/ClinicalTrials.gov
- Type a medical question (e.g., "What are the symptoms of diabetes?")
- Select source and number of answers (1, 3, or 5)
- Get evidence-based answers with:
- Confidence scores
- Source citations
- Supporting evidence passages
- Explore trending research topics
- See growth percentages
- Click topics to search
- View publication trend charts
- Click bookmark icon on any article to save
- Access from the π icon in header
- Export as CSV or BibTeX
- Generate citations for saved articles
# Stop Docker services
cd docker
docker-compose down
# Stop API & Frontend: Press Ctrl+C in their terminals# Kill process on port 8000
Stop-Process -Id (Get-NetTCPConnection -LocalPort 8000).OwningProcess -Force
# Kill process on port 8080
Stop-Process -Id (Get-NetTCPConnection -LocalPort 8080).OwningProcess -Force# Check if Docker is running
docker ps
# Restart Docker services
cd docker
docker-compose restartpython scripts/ingest_full_dataset.pykash_proj/
βββ src/ # Source code
β βββ api/ # FastAPI backend
β βββ search_engine/ # Hybrid search
β βββ qa_module/ # Question answering
β βββ nlp_engine/ # BioBERT models
βββ frontend/ # Web interface
β βββ index.html # Main HTML with all components
β βββ app.js # JavaScript (search, bookmarks, citations)
β βββ styles.css # Google Scholar-style CSS
βββ docker/ # Docker services
β βββ docker-compose.yml
βββ scripts/ # Utility scripts
β βββ ingest_full_dataset.py
β βββ check_index_status.py
βββ data/ # Cached data
βββ tests/ # Integration tests
pytest tests/test_integration.py -vAll tests should pass β
# Check indexed documents
python scripts/check_index_status.py
# Check API health
curl http://localhost:8000/api/v1/health
# Check statistics
curl http://localhost:8000/api/v1/statistics| Layer | Technology |
|---|---|
| Backend | Python 3.9+, FastAPI, Uvicorn |
| NLP/AI | PyTorch, Transformers, BioBERT |
| Search | Elasticsearch 8.11.0 |
| Cache | Redis 7 |
| Database | PostgreSQL |
| Frontend | HTML5, CSS3, JavaScript (ES6+) |
| Deployment | Docker, Docker Compose |
COVID-19 vaccine efficacycancer immunotherapydiabetes treatment 2024CRISPR gene editingmRNA vaccine technology
- What are the symptoms of COVID-19?
- How is diabetes treated?
- What causes Alzheimer's disease?
- What are the side effects of chemotherapy?
- How does HIV affect the immune system?
BioMed Scholar supports both Light and Dark themes:
- Toggle with the sun/moon icon in the header
- Or press
Dkey - Preference is saved automatically
The UI is fully responsive and works on:
- π₯οΈ Desktop (full sidebar, all features)
- π» Laptop (adaptive layout)
- π± Mobile (collapsed sidebar, touch-friendly)
- No account required - works without login
- Local storage only - reading list and preferences saved in your browser
- No tracking - your searches stay private
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Commit your changes:
git commit -m 'Add amazing feature' - Push to the branch:
git push origin feature/amazing-feature - Open a Pull Request
This project is licensed under the MIT License.
Sasidhara Kashyap Ch
Made with β€οΈ using BioBERT, Elasticsearch, and FastAPI
- BioBERT - Biomedical language model
- PubMed - Biomedical literature database
- ClinicalTrials.gov - Clinical trials registry
- Elasticsearch - Search engine
- FastAPI - Modern Python web framework