Skip to content

LibraAI – Smart AI-Powered Digital Library System

gauravRathod674/LibraAI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 

Repository files navigation

📚 LibraAI – Smart AI-Powered Digital Library System

🧠 Overview

In the age of digital transformation, libraries are no longer just physical spaces, but intelligent, AI-driven ecosystems. LibraAI is a state-of-the-art digital library management system built with Object-Oriented Design Principles and enhanced by Google Cloud AI services, offering:

  • 🔒 Secure authentication and role-based access
  • 📖 Smart cataloging and real-time tracking
  • 🔍 Advanced search and personalized recommendations
  • 🤖 AI tools: summarization, translation, read-aloud, and intelligent Q&A

🏗️ Problem Statement

The legacy Nexus Library System (now evolved into LibraAI) faced critical issues post-upgrade:

  • ❌ Duplicate/missing records caused availability confusion
  • 🔓 Uncontrolled access to restricted collections
  • 📦 Mismatched borrow records vs availability
  • 🔍 Ineffective search and irrelevant suggestions

To overcome these, our engineering team rebuilt the system using a clean, scalable architecture powered by modern OOP design patterns and Google AI.


💡 Key Features

  • Modular Backend using OOP and 9+ design patterns (Factory, Singleton, Strategy, etc.)
  • 📊 Real-Time Book Status: Borrowed, Reserved, Available, Under Review
  • 🤖 AI-Powered Services via Google Cloud APIs:
    • Gemini API: Intelligent document summarization and assistant Q&A
    • 🌐 Google Translate API: Real-time multilingual content translation
    • 🔊 Google Text-to-Speech API: Seamless read-aloud for accessibility
  • 🌐 Web Scraping Pipelines for open-access resources:
    • E-Books & Journals → Open Library, Google
    • Research Papers → Semantic Scholar
  • 📚 Role-Based Access Control:
    • Guest, Student, Researcher, Faculty, Librarian
    • Librarians manage physical inventory
  • 🔎 Advanced Search Engine:
    • Strategy-based: Keyword, genre, author, type
  • 📩 Notifications & Reminders using Observer Pattern

🧰 OOP & Design Patterns Used

🔁 Creational Patterns

  • Factory Pattern: Dynamic creation of LibraryItem types (E-Book, Journal, Research Paper, Audiobook, Physical Book)
  • Singleton Pattern: Shared LibraryDatabase for consistent access control
  • Builder Pattern: Configurable library items with optional metadata

🏗️ Structural Patterns

  • Facade Pattern: Unified interface for user operations (borrow, return, reserve)
  • Decorator Pattern: Extend item features like priority access

🔄 Behavioral Patterns

  • Observer Pattern: Real-time alerts (due dates, availability)
  • Strategy Pattern: Swappable search logic and recommendation engine
  • Command Pattern: Support for undo/redo borrowing actions
  • State Pattern: Book condition/status transitions (Available → Reserved → Borrowed)

🛠️ Tech Stack

Layer Technology
Frontend Next.js, Tailwind CSS
Backend Django-Ninja (Python)
Database MySQL
AI / ML Google Gemini API, Google Translate API, Google TTS
Scraping Requests, BeautifulSoup, Selenium
Auth Secure JWT-based login and role validation

🏆 Achievements

  • 🚀 65% more content coverage via smart web scraping
  • 🧩 40% faster feature development using reusable patterns
  • 📈 30% increased reader engagement through AI-enhanced reading experience

Made with ❤️ and AI by the LibraAI Team

About

LibraAI – Smart AI-Powered Digital Library System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •