HeadlinesBriefing favicon HeadlinesBriefing.com

Building a Java CLI Movie Recommender

DEV Community •
×

A developer grew frustrated with endless scrolling across streaming services to find a movie matching their mood. This led to building a command-line tool in pure Java to streamline recommendations. The project emphasizes core programming concepts without relying on external libraries, keeping the codebase simple and educational.

The tool follows a clear workflow: login, answer preference questions, and receive tailored suggestions. User input is converted into weighted genre lists, where duplicates act as an implicit weighting mechanism. A custom scoring algorithm then matches these preferences against a local database of movie objects to find the best fit.

Key challenges included translating abstract moods into concrete genres and designing a balanced points system. Without external libraries, authentication relied on a plain text file, and testing was manual. The developer notes future potential for an IMDb API integration to replace the static local database, making the tool more dynamic and comprehensive.