Professional drug interaction analysis with AI-powered insights and intelligent search capabilities
๐บ๐ธ English | ๐ฐ๐ท ํ๊ตญ์ด
Drug Interaction Checker is a sophisticated web application that helps users identify potential interactions between medications. Combining FDA data with advanced AI analysis from multiple providers, it offers comprehensive drug safety information with an intuitive, modern interface.
- Real-time search with 300ms debounce
- Typo tolerance and fuzzy matching
- Partial search capabilities (e.g., "aspir" โ "Aspirin")
- Korean-English mixed usage support
- Relevance-based sorting with similarity algorithms
- Support for 4 major AI services: OpenAI, Claude, Perplexity, Gemini
- Professional medical analysis with structured reports
- Risk assessment: Low/Moderate/High/Very High
- Clinical recommendations and emergency signs
- Auto-fallback system for failed connections
- FDA OpenFDA API integration
- 50+ drug database with brand names
- Detailed drug information with manufacturer details
- Interaction mechanisms and warnings
- Recent search history and favorites
- Glassmorphism design with blur effects
- Monochrome theme (black/white professional look)
- Dark/Light mode support
- Responsive design for all devices
- Accessibility features with ARIA labels
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- APIs: FDA OpenFDA, OpenAI, Anthropic Claude, Perplexity, Google Gemini
- Design: CSS Grid/Flexbox, Glassmorphism effects
- Features: Real-time search, AI integration, Local storage
- Korean (Default):
index.html- ํ๊ตญ์ด ๋ฉ์ธ ํ์ด์ง - English:
index_en.html- ์์ด ๋ฒ์ - Language Switch: Click the language button in the header to switch between Korean and English
- Modern web browser (Chrome, Firefox, Safari, Edge)
- Internet connection for API access
- At least one AI API key (optional but recommended)
-
Clone the repository
git clone https://github.com/yourusername/drug-interaction-checker.git cd drug-interaction-checker -
Open in browser
# Simply open index.html in your browser open index.html # or python -m http.server 8000 # For local server
-
Configure AI APIs (Optional)
- Click the โ๏ธ settings button
- Add your API keys for desired services
- Test connections using the ๐งช API Test button
- Visit OpenAI Platform
- Create an account and generate API key
- Format:
sk-...
- Visit Anthropic Console
- Generate API key
- Format:
sk-ant-...
- Visit Perplexity Settings
- Generate API key
- Format:
pplx-...
- Visit Google AI Studio
- Generate API key
- Format:
AI...
-
Search for drugs
- Type drug name in the search box
- Use partial names or even typos
- Select from intelligent suggestions
-
Check interactions
- Choose two drugs from dropdowns
- Click "Check Interaction"
- Review both AI analysis and FDA data
-
View detailed information
- Click on any drug name for detailed info
- Add drugs directly to interaction checker
- Risk Assessment: Comprehensive risk level evaluation
- Clinical Insights: Professional medical recommendations
- Interaction Mechanisms: How drugs interact at molecular level
- Emergency Signs: When to seek immediate medical attention
- Structured Reports: Easy-to-read formatted analysis
This tool is for informational purposes only and should not replace professional medical advice. Always consult with healthcare providers before making medication decisions.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- FDA OpenFDA for comprehensive drug data
- AI providers for advanced analysis capabilities
- Medical professionals for guidance on drug interactions
์ฝ๋ฌผ ์ํธ์์ฉ ์ฒด์ปค๋ ์์ฝํ ๊ฐ์ ์ ์ฌ์ ์ํธ์์ฉ์ ์๋ณํ๋ ๋ฐ ๋์์ ์ฃผ๋ ์ ๊ตํ ์น ์ ํ๋ฆฌ์ผ์ด์ ์ ๋๋ค. FDA ๋ฐ์ดํฐ์ ์ฌ๋ฌ AI ์ ๊ณต์ ์ฒด์ ๊ณ ๊ธ ๋ถ์์ ๊ฒฐํฉํ์ฌ ์ง๊ด์ ์ด๊ณ ํ๋์ ์ธ ์ธํฐํ์ด์ค๋ก ํฌ๊ด์ ์ธ ์ฝ๋ฌผ ์์ ์ ๋ณด๋ฅผ ์ ๊ณตํฉ๋๋ค.
- ์ค์๊ฐ ๊ฒ์ (300ms;0.3์ด ๋๋ฐ์ด์ค)
- ์คํ ํ์ฉ ๋ฐ ํผ์ง ๋งค์นญ
- ๋ถ๋ถ ๊ฒ์ ๊ธฐ๋ฅ (์: "์์คํ" โ "์์คํผ๋ฆฐ")
- ํ๊ตญ์ด-์์ด ํผ์ฉ ์ง์
- ๊ด๋ จ๋ ๊ธฐ๋ฐ ์ ๋ ฌ ๋ฐ ์ ์ฌ๋ ์๊ณ ๋ฆฌ์ฆ
- 4๊ฐ ์ฃผ์ AI ์๋น์ค ์ง์: OpenAI, Claude, Perplexity, Gemini
- ์ ๋ฌธ ์๋ฃ ๋ถ์ ๋ฐ ๊ตฌ์กฐํ๋ ๋ณด๊ณ ์
- ์ํ๋ ํ๊ฐ: ๋ฎ์/๋ณดํต/๋์/๋งค์ฐ ๋์
- ์์ ๊ถ์ฅ์ฌํญ ๋ฐ ์๊ธ ์งํ
- ์ฐ๊ฒฐ ์คํจ ์ ์๋ ๋์ฒด ์์คํ
- FDA OpenFDA API ํตํฉ
- 50+ ์ฝ๋ฌผ ๋ฐ์ดํฐ๋ฒ ์ด์ค (๋ธ๋๋๋ช ํฌํจ)
- ์์ธ ์ฝ๋ฌผ ์ ๋ณด ๋ฐ ์ ์กฐ์ฌ ์ ๋ณด
- ์ํธ์์ฉ ๋ฉ์ปค๋์ฆ ๋ฐ ๊ฒฝ๊ณ
- ์ต๊ทผ ๊ฒ์ ๊ธฐ๋ก ๋ฐ ์ฆ๊ฒจ์ฐพ๊ธฐ
- ๊ธ๋์ค๋ชจํผ์ฆ ๋์์ธ (๋ธ๋ฌ ํจ๊ณผ)
- ๋ชจ๋ ธํฌ๋กฌ ํ ๋ง (ํ๋ฐฑ ์ ๋ฌธ๊ฐ ๋ฃฉ)
- ๋คํฌ/๋ผ์ดํธ ๋ชจ๋ ์ง์
- ๋ฐ์ํ ๋์์ธ (๋ชจ๋ ๊ธฐ๊ธฐ ์ง์)
- ์ ๊ทผ์ฑ ๊ธฐ๋ฅ (ARIA ๋ผ๋ฒจ)
- ํ๋ก ํธ์๋: HTML5, CSS3, JavaScript (ES6+)
- API: FDA OpenFDA, OpenAI, Anthropic Claude, Perplexity, Google Gemini
- ๋์์ธ: CSS Grid/Flexbox, ๊ธ๋์ค๋ชจํผ์ฆ ํจ๊ณผ
- ๊ธฐ๋ฅ: ์ค์๊ฐ ๊ฒ์, AI ํตํฉ, ๋ก์ปฌ ์คํ ๋ฆฌ์ง
- ํ๊ตญ์ด (๊ธฐ๋ณธ):
index.html- ํ๊ตญ์ด ๋ฉ์ธ ํ์ด์ง - ์์ด:
index_en.html- ์์ด ๋ฒ์ - ์ธ์ด ์ ํ: ํค๋์ ์ธ์ด ๋ฒํผ์ ํด๋ฆญํ์ฌ ํ๊ตญ์ด์ ์์ด ๊ฐ ์ ํ
- ๋ชจ๋ ์น ๋ธ๋ผ์ฐ์ (Chrome, Firefox, Safari, Edge)
- API ์ ๊ทผ์ ์ํ ์ธํฐ๋ท ์ฐ๊ฒฐ
- ์ต์ ํ๋์ AI API ํค (์ ํ์ฌํญ์ด์ง๋ง ๊ถ์ฅ)
-
์ ์ฅ์ ๋ณต์
git clone https://github.com/yourusername/drug-interaction-checker.git cd drug-interaction-checker -
๋ธ๋ผ์ฐ์ ์์ ์ด๊ธฐ
# ๋ธ๋ผ์ฐ์ ์์ index.html ์ด๊ธฐ open index.html # ๋๋ python -m http.server 8000 # ๋ก์ปฌ ์๋ฒ์ฉ
-
AI API ๊ตฌ์ฑ (์ ํ์ฌํญ)
- โ๏ธ ์ค์ ๋ฒํผ ํด๋ฆญ
- ์ํ๋ ์๋น์ค์ API ํค ์ถ๊ฐ
- ๐งช API ํ ์คํธ ๋ฒํผ์ผ๋ก ์ฐ๊ฒฐ ํ์ธ
- OpenAI ํ๋ซํผ ๋ฐฉ๋ฌธ
- ๊ณ์ ์์ฑ ํ API ํค ์์ฑ
- ํ์:
sk-...
- Anthropic ์ฝ์ ๋ฐฉ๋ฌธ
- API ํค ์์ฑ
- ํ์:
sk-ant-...
- Perplexity ์ค์ ๋ฐฉ๋ฌธ
- API ํค ์์ฑ
- ํ์:
pplx-...
- Google AI Studio ๋ฐฉ๋ฌธ
- API ํค ์์ฑ
- ํ์:
AI...
-
์ฝ๋ฌผ ๊ฒ์
- ๊ฒ์์ฐฝ์ ์ฝ๋ฌผ๋ช ์ ๋ ฅ
- ๋ถ๋ถ ์ด๋ฆ์ด๋ ์คํ๋ ๊ฐ๋ฅ
- ์ง๋ฅํ ์ ์์์ ์ ํ
-
์ํธ์์ฉ ํ์ธ
- ๋๋กญ๋ค์ด์์ ๋ ์ฝ๋ฌผ ์ ํ
- "์ํธ์์ฉ ํ์ธ" ํด๋ฆญ
- AI ๋ถ์๊ณผ FDA ๋ฐ์ดํฐ ๋ชจ๋ ๊ฒํ
-
์์ธ ์ ๋ณด ๋ณด๊ธฐ
- ์ฝ๋ฌผ๋ช ํด๋ฆญํ์ฌ ์์ธ ์ ๋ณด ํ์ธ
- ์ํธ์์ฉ ์ฒด์ปค์ ์ง์ ์ฝ๋ฌผ ์ถ๊ฐ
- ์ํ๋ ํ๊ฐ: ํฌ๊ด์ ์ธ ์ํ ์์ค ํ๊ฐ
- ์์ ํต์ฐฐ: ์ ๋ฌธ ์๋ฃ ๊ถ์ฅ์ฌํญ
- ์ํธ์์ฉ ๋ฉ์ปค๋์ฆ: ๋ถ์ ์์ค์์์ ์ฝ๋ฌผ ์ํธ์์ฉ
- ์๊ธ ์งํ: ์ฆ์ ์๋ฃ์ง ๋์์ด ํ์ํ ๊ฒฝ์ฐ
- ๊ตฌ์กฐํ๋ ๋ณด๊ณ ์: ์ฝ๊ธฐ ์ฌ์ด ํ์์ ๋ถ์
์ด ๋๊ตฌ๋ ์ ๋ณด ์ ๊ณต ๋ชฉ์ ์ผ๋ก๋ง ์ฌ์ฉ๋๋ฉฐ ์ ๋ฌธ ์๋ฃ ์กฐ์ธ์ ๋์ฒดํ ์ ์์ต๋๋ค. ์ฝ๋ฌผ ๊ด๋ จ ๊ฒฐ์ ์ ๋ด๋ฆฌ๊ธฐ ์ ์ ํญ์ ์๋ฃ์ง๊ณผ ์๋ดํ์ญ์์ค.
- ์ ์ฅ์ ํฌํฌ
- ๊ธฐ๋ฅ ๋ธ๋์น ์์ฑ (
git checkout -b feature/amazing-feature) - ๋ณ๊ฒฝ์ฌํญ ์ปค๋ฐ (
git commit -m 'Add amazing feature') - ๋ธ๋์น์ ํธ์ (
git push origin feature/amazing-feature) - Pull Request ์์ฑ
์ด ํ๋ก์ ํธ๋ MIT ๋ผ์ด์ ์ค ํ์ ์์ต๋๋ค. ์์ธํ ๋ด์ฉ์ LICENSE ํ์ผ์ ์ฐธ์กฐํ์ธ์.
- ํฌ๊ด์ ์ธ ์ฝ๋ฌผ ๋ฐ์ดํฐ๋ฅผ ์ ๊ณตํ๋ FDA OpenFDA(์์ฝ์ฒ์ api๋ก ๋์ฒดํ ์์ )
- ๊ณ ๊ธ ๋ถ์ ๊ธฐ๋ฅ์ ์ ๊ณตํ๋ AI ์๋น์ค ์ ๊ณต์ ์ฒด๋ค
- ์ฝ๋ฌผ ์ํธ์์ฉ์ ๋ํ ์ง์นจ์ ์ ๊ณตํ ์๋ฃ ์ ๋ฌธ๊ฐ๋ค