Spaces:
Running
Running
metadata
title: Medical AI Wiki
emoji: 🔬
colorFrom: blue
colorTo: purple
sdk: docker
app_port: 3001
Medical AI Wiki
A web application that helps users explore AI algorithms used in medical research papers from PubMed.
Features
- Dashboard: View statistics and trends of AI algorithms used in medical papers
- Algorithm Search: Search for specific medical problems and see which algorithms are most commonly used
- Interactive Charts: Visual representation of algorithm usage and distribution
- PubMed Integration: Direct links to relevant papers on PubMed
- Editable Algorithm Database: JSON-based configuration for easy algorithm management
Tech Stack
- Frontend: React + TypeScript + Vite + Tailwind CSS
- Backend: Node.js + Express
- Charts: Recharts
- API: PubMed E-utilities
- Icons: Lucide React
Installation
- Install dependencies for all parts:
npm run install:all
- Start the development server:
npm run dev
This will start both the backend (port 3001) and frontend (port 3000) concurrently.
Usage
- Dashboard: Visit the homepage to see overall statistics of AI algorithms in medical research
- Search: Use the search page to find algorithms used for specific medical problems
- Algorithm Management: Edit
/data/algorithms.json
to add, remove, or modify algorithms and their synonyms
Algorithm Configuration
The algorithms are configured in /data/algorithms.json
. Each algorithm has:
name
: Display namecategory
: Either "classical_ml" or "deep_learning"description
: Brief description of the algorithmsynonyms
: Array of terms used to search PubMed (includes variations, abbreviations, etc.)
API Endpoints
GET /api/algorithms
- Get all algorithmsPUT /api/algorithms
- Update algorithms configurationGET /api/search/dashboard-stats
- Get dashboard statisticsPOST /api/search/problem
- Search algorithms for a specific problemGET /api/search/pubmed-link
- Generate PubMed search URLGET /api/pubmed/search
- Search PubMed papersGET /api/pubmed/paper/:pmid
- Get specific paper details
Development
- Backend runs on port 3001
- Frontend runs on port 3000 with proxy to backend
- Hot reload enabled for both frontend and backend