FreeBookReads is a web application that allows users to access and read a diverse collection of books for free, powered by the Google Play Books API. This project is built using Chromium, HTML, CSS, and JavaScript to provide an engaging and seamless reading experience.
- Chromium: Chromium is used for rendering web pages and displaying book content.
- HTML: HTML is employed to structure the web pages and present book information.
- CSS: CSS styles the user interface, ensuring an attractive and intuitive design.
- JavaScript: JavaScript adds interactivity and facilitates communication with the Google Play Books API.
Follow these steps to get started with the FreeBookReads website:
-
Clone the repository to your local machine:
git clone https://github.com/SavageArun/books.git
-
Open the project folder in your preferred code editor.
-
Launch the
index.html
file in a web browser to access the website.
- Browse the extensive library of books available on the website's homepage.
- Click on a book cover to start reading it.
- Use the navigation controls to flip through pages and customize your reading experience.
Here's an example of how to fetch book data from the Google Play Books API using JavaScript:
// JavaScript code to fetch book data
const apiUrl = 'https://www.googleapis.com/books/v1/volumes?q=programming';
fetch(apiUrl)
.then(response => response.json())
.then(data => {
// Process and display book data
console.log(data);
})
.catch(error => {
console.error('Error fetching book data:', error);
});
Contributions to FreeBookReads are welcome! If you'd like to contribute, please fork the repository and create a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.