guess

🔮 Libraries & tools for enabling Machine Learning driven user-experiences on the web

What is guess?

🔮 Libraries & tools for enabling Machine Learning driven user-experiences on the web

Overview of guess

What it is

Guess.js is a collection of libraries and tools for enabling data-driven user experiences on the web. It uses analytics data, such as from Google Analytics, to predict user navigation patterns and improve perceived performance through predictive prefetching of pages or JavaScript bundles. The project is currently in alpha stage and is open source under the MIT license.

Key features

  • Provides a webpack plugin (GuessPlugin) that automates predictive fetching setup for webpack-based applications.
  • Includes a ga module for fetching structured navigation data from the Google Analytics API.
  • Includes a parser module for parsing JavaScript frameworks to support route-parsing capabilities.
  • Includes a webpack module that consumes the ga and parser modules and offers configurable options for predictive fetching.
  • Supports both page-level prefetching (predicting the next page a user will visit) and bundle-level prefetching (prefetching JavaScript chunks for the top N likely next pages).
  • Designed to work with any analytics or machine learning model that can provide navigation probability data.

Use cases

  • Improving perceived page load performance by prefetching the page a user is most likely to visit next.
  • Reducing load times for subsequent page visits by prefetching associated JavaScript bundles.
  • Tailoring user experiences by predicting the next piece of content (article, product, video) a user is likely to view.
  • Customizing widget or feature visibility based on predicted user interaction patterns.

Getting started

For webpack users, install and configure GuessPlugin. For non-webpack users, follow the predictive-fetching workflow using the Google Analytics API. See the repository README for detailed instructions.

License and pricing

The project is licensed under the MIT license. It is open source and free to use.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/guess-jsguess.svg)](https://yunodb.com/tools/guess-jsguess?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/guess-jsguess?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/guess-jsguess.svg" alt="Featured on YunoDB" height="20"></a>