https://github.com/m-hammad-faisal/word-hunter
Word Hunter is a sleek, modern dictionary app built with React, designed to help you explore word meanings, pronunciations, and more with a vibrant teal-themed UI. Featuring real-time API lookups, a random word generator, and a light/dark mode toggle, it’s optimized for a seamless user experience and handles over 10K+ daily API calls efficiently.
https://github.com/m-hammad-faisal/word-hunter
axios axios-react dictionary dictionary-api lodash lodash-debounce mui mui-icons mui-material react reactjs realtime-rendering word-hunter
Last synced: 3 months ago
JSON representation
Word Hunter is a sleek, modern dictionary app built with React, designed to help you explore word meanings, pronunciations, and more with a vibrant teal-themed UI. Featuring real-time API lookups, a random word generator, and a light/dark mode toggle, it’s optimized for a seamless user experience and handles over 10K+ daily API calls efficiently.
- Host: GitHub
- URL: https://github.com/m-hammad-faisal/word-hunter
- Owner: M-Hammad-Faisal
- Created: 2022-11-19T22:49:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-04-08T13:48:42.000Z (over 1 year ago)
- Last Synced: 2025-04-23T03:42:13.001Z (about 1 year ago)
- Topics: axios, axios-react, dictionary, dictionary-api, lodash, lodash-debounce, mui, mui-icons, mui-material, react, reactjs, realtime-rendering, word-hunter
- Language: JavaScript
- Homepage: https://m-hammad-faisal.github.io/word-hunter/
- Size: 1.52 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Word Hunter

**Word Hunter** is a sleek, modern dictionary app built with React, designed to help you explore word meanings,
pronunciations, and more with a vibrant teal-themed UI. Featuring real-time API lookups, a random word generator, and a
light/dark mode toggle, it’s optimized for a seamless user experience and handles over 10K+ daily API calls efficiently.
**[Live Demo](https://m-hammad-faisal.github.io/word-hunter/)** | **[GitHub Repository](https://github.com/M-Hammad-Faisal/word-hunter)**
---
## Features
- **Real-Time Word Search**: Fetch meanings, definitions, examples, synonyms, antonyms, and audio pronunciations from
the [Dictionary API](https://dictionaryapi.dev/).
- **Random Word Generator**: Discover new words with a single click using
the [Random Word API](https://random-word-api.herokuapp.com/).
- **Light/Dark Mode**: Toggle between a teal-inspired light theme and a sleek dark mode for comfortable viewing.
- **Recent Searches**: Persist up to 5 recent searches in local storage, with clickable suggestions.
- **Responsive Design**: Built with Material-UI for a smooth experience across devices.
- **Optimized Performance**: Debounced searches reduce API calls, ensuring efficiency.
- **Branded Identity**: Custom “WH” favicon and logo for a professional touch.
---
## Tech Stack
- **Frontend**: React.js, Material-UI, JavaScript, CSS
- **API Requests**: Axios
- **Utilities**: Lodash (debounce)
- **Deployment**: GitHub Pages
---
## Screenshots

*Light mode with "Hello" searched*

*Dark mode with recent searches*
---
## Installation
1. **Clone the Repository**:
```bash
git clone https://github.com/M-Hammad-Faisal/word-hunter.git
cd word-hunter
```
2. **Install Dependencies**:
```bash
npm install
```
3. **Run Locally**:
```bash
npm start
```
The app will open at http://localhost:3000 in your browser.
---
## Usage
1. Search a Word: Type a word (e.g., “cat”) in the input field and wait 500ms for results to load automatically.
2. Listen to Pronunciation: Play the audio if available in the results.
3. Get a Random Word: Click the “Random Word” button to explore something new.
4. Toggle Theme: Use the sun/moon icon to switch between light and dark modes.
5. View Recent Searches: Clear the input to see your last 5 searches.
---
## Acknowledgments
- Dictionary API for word data.
- Random Word API for random words.
- Material-UI for UI components.
- Favicon.io for generating the “WH” favicon.
---
Created by Muhammad Hammad Faisal
Reach out at hammadfaisal178@gmail.com or connect on LinkedIn.