Try DevShelf locally — no cloud dependency required.
Offline-first • Fast • Built from first principles
Linux users: download the latest release from the same page.
DevShelf is a high-performance vertical search engine for Computer Science textbooks.
Unlike traditional library software, DevShelf is built from first principles using a custom Positional Inverted Index, enabling O(1) query-time lookups without relying on Lucene, Elasticsearch, or external IR frameworks.
The system is designed for:
- Speed
- Precision
- Offline-first usage
- Cloud-synced freshness
DevShelf addresses the Information Retrieval (IR) problem at a local scale with production-grade constraints.
-
Fast
Sub-millisecond query latency using optimized data structures. -
Smart
Ranking goes beyond keyword matching by combining:- TF-IDF
- Vector Space Models
- Behavioral analytics
-
Distributed by Design
Index and metadata are fetched from a lightweight serverless source (GitHub Raw), allowing users to receive updated data without application updates.
DevShelf follows Domain-Driven Design (DDD) principles.
The system is divided into two major layers:
- Parses
books.json - Builds the inverted index
- Analyzes interaction logs
- Produces popularity vectors
- Accepts user queries via CLI or JavaFX GUI
- Processes queries (tokenization, fuzzy matching, autocomplete)
- Ranks results using hybrid scoring
- Returns sorted documents
Search relevance is computed using a weighted hybrid score:
Score(d, q) =
0.6 × TF-IDF
0.2 × Popularity
0.2 × Rating
| Signal | Description |
|---|---|
| TF-IDF | Statistical importance of query terms |
| Popularity | Derived from offline click and usage logs |
| Rating | Quality signals embedded in the dataset |
- Custom inverted index for constant-time term lookup
- Trie-based autocomplete with linear time complexity
- Fuzzy matching using Levenshtein distance for typo tolerance
- Recommendation graph based on category overlap and usage patterns
- Dynamic filtering by relevance, popularity, year, and rating
- Memory-mapped caching for frequently accessed index segments
- Automatically fetches the latest index and metadata on startup
- Feedback pipeline captures missing content requests
- Open the Releases page
- Download
DevShelf-Setup.exe - Run the installer
- Launch the application
DevShelf is a Maven-based Java project.
git clone https://github.com/Kas-sim/DevShelf.git
cd DevShelf
mvn clean install
mvn javafx:run
| Name | Role | Focus |
|---|---|---|
| Muhammad Qasim | Lead Architect | Core search engine, system architecture, ranking algorithms |
| Nancy Chawla | Frontend Engineer | JavaFX UI, UX design, view controllers |
| Ritika Lund | Feature Engineer | Recommendations, filtering logic, data analysis |
Built with pure Java, mathematics, and first principles.