Urgent.News

What's breaking now, across thousands of outlets.

Tech

My friends kept getting lost while reading a book, so I built them an app

What I Built My friends usually ask me about a book when they get lost. That's why I decided to build a simple React app for them so that they can ask and get answers about a book they are reading. Demo The AI model I'm using is running locally, so it won't be functional when the web app is hosted, but I'll put some screenshots and the GitHub repository down below. Screenshots Loading History…

My friends often asked me for help when they got lost while reading a book. This prompted me to create a simple React application to assist them with their inquiries. The AI model powering the app was running locally, so it wouldn't be functional once the web app was hosted online. However, I've provided screenshots and the GitHub repository for reference.

I employed the MERN stack for this project, despite my limited experience with it. The frontend was built using React, while the server and backend were constructed with Node.js and Express.js. MongoDB served as the database to store the conversations and the title of the book being read. The book title is obtained from Open Library's API.

For the AI model, I selected gemma3:1b-it-q4_K_M and integrated it with the Express server using Ollama's API. Although the model wasn't as advanced as I had hoped, I had to use it due to limited storage on my computer. Since the model was smaller in size compared to other Gemma models, I chose it and adapted my approach accordingly.

The decision to run the AI model locally with Ollama provided me with greater control over the model. I could use it as I pleased, without being dependent on a closed API. This local setup allowed for experimentation and customization to suit my needs.

Using Ollama to run the AI model offered several advantages. It enabled me to have full control over the model, which I could use whenever I wanted, without relying on a closed API. This local setup allowed me to run and experiment with the model as I saw fit. The project was recognized in two categories: Best Use of MongoDB Atlas, as all conversations were stored in a MongoDB database, and Best Use of Gemma, with gemma3:1b-it-q4_K_M being the model that answered questions about the books.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

What the WordPress 4.7.0 to 7.1.1 file inclusion bug teaches about patch windows

What the WordPress 4.7.0 to 7.1.1 file inclusion bug teaches about patch windows WordPress 7.1.2 was released on 22 September 2026 to fix a remote file inclusion flaw tracked as CVE-2026-87902.

  • WordPress 4.7.0 to 7.1.1 patch addresses remote file inclusion vulnerability CVE-2026-87902.
  • Unauthenticated attacker manipulates page template resolution logic to execute code via PHP file.
  • Patch window effectively zero as first exploitation attempt recorded on same day as patch release.

Promotion - Database Replication

This is the critical system design. As it needs to provide redundancy , scalability and fault tolerance . It tells the replication between primary database and its replicas.

  • Synchronous replication provides strong data consistency by replicating changes in real-time.
  • Asynchronous replication improves transaction processing speed but may compromise data consistency.

BolsaBuddy: a $0, fully-local tracker for the Mexican stock market

A friend wanted an investing tool for the Mexican market. Not a dashboard with a subscription. Something simple: what did the IPC do today, am I near a high, and a plain-English line about it.

  • BolsaBuddy is a free, local app for Mexican stock market tracking
  • Tool calculates technical indicators and generates daily reports
  • Privacy-focused, no internet connection or subscriptions required

More from Saturday 3 October →