{% extends "base.html" %} {% block content %}

Discover Your Next Favorite Book

Get personalized book recommendations powered by advanced machine learning algorithms. Join thousands of readers finding their perfect match.

{% if not current_user.is_authenticated %} Get Started Browse Books {% else %} Your Dashboard Browse Books {% endif %}

Why Choose BookRecommend?

Advanced features to enhance your reading experience

Smart Recommendations

Our AI analyzes your reading preferences to suggest books you'll love.

Real-time Updates

Get instant recommendations as you rate books and update your preferences.

Secure & Private

Your data is protected with enterprise-grade security and encryption.

{% if featured_books %}

Featured Books

Popular books from our collection

{% for book in featured_books %}
{{ book.title }}

by {{ book.author }}

{{ book.description[:100] }}{% if book.description|length > 100 %}...{% endif %}

{{ book.genre }}
{% set rating = book.get_average_rating() %} {% for i in range(1, 6) %} {% endfor %} ({{ book.get_rating_count() }})
{% endfor %}
View All Books
{% endif %}
{% endblock %}