Urgent.News

What's breaking now, across thousands of outlets.

Tech

Shelf Friend helps my friend compare supermarket prices and product care

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend What I Built A friend needs help while shopping at a supermarket: compare prices, understand how a kitchen or household item should be used, and weigh its advantages against the maintenance it brings home. I built Shelf Friend , a small Chinese-language web app with two connected decisions: what costs less per usable…

This story is about Shelf Friend, a small web application designed to help a friend compare supermarket prices and understand proper product usage. The app is a Chinese-language tool that uses the MiniLM open-weight multilingual model to compare prices and provide relevant usage guides. When comparing items, the app takes into account the net quantity and pack count, ensuring accurate calculations.

The AI then retrieves a guide or buying checklist from a small corpus of relevant content. While a cheaper item may not always be the best choice, Shelf Friend helps users make informed decisions. The app's code is publicly available under an MIT license, allowing for inspection and improvement. To build Shelf Friend, the developer utilized Transformers.js and the quantized ONNX conversion of the multilingual MiniLM model.

The app demonstrates the power of open innovation, as the semantic search functionality runs within the user's browser, eliminating the need for a remote inference service.

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

Our invoices lost their accents when we moved to a new CI system

In February we moved the build for our invoicing service from Jenkins to GitHub Actions. The pipeline was rewritten step by step, every test passed, the image deployed, and the first run of monthly…

  • Invoices lost accents after moving to GitHub Actions CI system
  • Polish and Czech customers reported empty boxes in invoices
  • Team rebuilt image with LFS enabled to resolve font loading issue

Your Mentee Is Thinking About Leaving Tech

Your mentee opens the call with something you were not expecting. I think I might be done with this. Not the job. The whole field. Your first instinct will be to talk them out of it.

  • Mentee contemplates leaving tech field completely
  • Encourage honest expression of thoughts without persuasion
  • Discuss specific problems vs. entire industry dissatisfaction

More from Friday 2 October →