Skip to content

namandhakad712/Infinte-Word-Search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŒŒ Infinite Wiki

An AI-powered interactive exploration tool that generates definitions and ASCII art for words and concepts, allowing users to dive deep into related topics through clickable word navigation.


๐ŸŒŸ Features

  • ๐Ÿค– AI-Powered Definitions
    Get concise, encyclopedia-style definitions for any word or concept using Google's Gemini API

  • ๐ŸŽจ Custom ASCII Art
    Each concept is visualized with unique ASCII art generated by AI

  • ๐Ÿงญ Interactive Exploration
    Click on words in definitions to explore related concepts

  • ๐ŸŽฒ Random Discovery
    Discover interesting words and concepts from a curated collection

  • โšก Real-time Streaming
    Content appears with a typing effect for an engaging experience

  • ๐Ÿ“ˆ Search Tracking
    Tracks your search count within the browser session

  • ๐Ÿ“ฑ Responsive Design
    Works on both desktop and mobile devices


๐Ÿ“ธ Demo

Infinite Wiki Demo

๐Ÿ“‹ Prerequisites

  • ๐ŸŸข Node.js (v16 or higher)
  • ๐Ÿ”‘ A Google Gemini API key

โš™๏ธ Setup

1. Clone the repository:

git clone https://github.com/namandhakad712/Infinte-Word-Search.git
cd Infinte-Word-Search

2. Install dependencies:

npm install

3. Get your Gemini API key:

4. Configure the API key:

Create a .env file in the root directory and add your API key:

GEMINI_API_KEY=your_api_key_here

5. Run the development server:

npm run dev

6. Open your browser to:

http://localhost:3000

๐ŸŽฎ Usage

  1. ๐Ÿ” Search
    Enter any word or concept in the search bar to get its definition and ASCII art

  2. ๐Ÿงญ Explore
    Click on any word in the definition to explore related concepts

  3. ๐ŸŽฒ Discover
    Use the "Random" button to discover interesting words from a curated list

  4. ๐Ÿ“ˆ Track
    The search counter in the footer tracks how many searches you've performed


๐Ÿ“ Project Structure

.
โ”œโ”€โ”€ components/          # React components
โ”‚   โ”œโ”€โ”€ AsciiArtDisplay.tsx
โ”‚   โ”œโ”€โ”€ ContentDisplay.tsx
โ”‚   โ”œโ”€โ”€ LoadingSkeleton.tsx
โ”‚   โ””โ”€โ”€ SearchBar.tsx
โ”œโ”€โ”€ services/           # API service layer
โ”‚   โ””โ”€โ”€ geminiService.ts
โ”œโ”€โ”€ App.tsx             # Main application component
โ”œโ”€โ”€ index.html          # HTML entry point
โ””โ”€โ”€ index.tsx           # React entry point

๐Ÿ›  Technologies Used

  • โš›๏ธ Frontend: React with TypeScript
  • โšก Build Tool: Vite
  • ๐ŸŽจ Styling: Pure CSS with Google Fonts
  • ๐Ÿ“ก API: Google Gemini API
  • ๐ŸŒ Deployment: Can be deployed to any static hosting service

๐Ÿ“œ Available Scripts

Script Description
npm run dev Starts the development server
npm run build Builds the app for production
npm run preview Previews the production build locally

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a pull request

๐Ÿ“„ License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.


๐Ÿ˜Š Author

|| ะผฮฑโˆ‚ั” ะฒัƒ ฮทฮฑะผฮฑฮท ||


๐Ÿ™ Acknowledgments

  • Google Gemini API for powering the content generation
  • Inspired by the concept of infinite knowledge exploration

About

๐ฌ๐ž๐š๐ซ๐œ๐ก ๐๐ž๐ž๐ฉ & ๐๐ž๐ž๐ฉ ๐ข๐ง ๐ญ๐ก๐ž ๐๐ž๐ฌ๐œ๐ซ๐ข๐ฉ๐ญ๐ข๐จ๐ง ๐จ๐Ÿ ๐š๐ง๐ฒ ๐ฐ๐จ๐ซ๐

Topics

Resources

Stars

Watchers

Forks

Contributors