Search by Algolia
Easily integrate Algolia into native apps with FlutterFlow
engineering

Easily integrate Algolia into native apps with FlutterFlow

Algolia's advanced search capabilities pair seamlessly with iOS or Android Apps when using FlutterFlow. App development and search design ...

Chuck Meyer

Sr. Developer Relations Engineer

Algolia's search propels 1,000s of retailers to Black Friday success
e-commerce

Algolia's search propels 1,000s of retailers to Black Friday success

In the midst of the Black Friday shopping frenzy, Algolia soared to new heights, setting new records and delivering an ...

Bernadette Nixon

Chief Executive Officer and Board Member at Algolia

Generative AI’s impact on the ecommerce industry
ai

Generative AI’s impact on the ecommerce industry

When was your last online shopping trip, and how did it go? For consumers, it’s becoming arguably tougher to ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

What’s the average ecommerce conversion rate and how does yours compare?
e-commerce

What’s the average ecommerce conversion rate and how does yours compare?

Have you put your blood, sweat, and tears into perfecting your online store, only to see your conversion rates stuck ...

Vincent Caruana

Senior Digital Marketing Manager, SEO

What are AI chatbots, how do they work, and how have they impacted ecommerce?
ai

What are AI chatbots, how do they work, and how have they impacted ecommerce?

“Hello, how can I help you today?”  This has to be the most tired, but nevertheless tried-and-true ...

Catherine Dee

Search and Discovery writer

Algolia named a leader in IDC MarketScape
algolia

Algolia named a leader in IDC MarketScape

We are proud to announce that Algolia was named a leader in the IDC Marketscape in the Worldwide General-Purpose ...

John Stewart

VP Corporate Marketing

Mastering the channel shift: How leading distributors provide excellent online buying experiences
e-commerce

Mastering the channel shift: How leading distributors provide excellent online buying experiences

Twice a year, B2B Online brings together America’s leading manufacturers and distributors to uncover learnings and industry trends. This ...

Jack Moberger

Director, Sales Enablement & B2B Practice Leader

Large language models (LLMs) vs generative AI: what’s the difference?
ai

Large language models (LLMs) vs generative AI: what’s the difference?

Generative AI and large language models (LLMs). These two cutting-edge AI technologies sound like totally different, incomparable things. One ...

Catherine Dee

Search and Discovery writer

What is generative AI and how does it work?
ai

What is generative AI and how does it work?

ChatGPT, Bing, Bard, YouChat, DALL-E, Jasper…chances are good you’re leveraging some version of generative artificial intelligence on ...

Catherine Dee

Search and Discovery writer

Feature Spotlight: Query Suggestions
product

Feature Spotlight: Query Suggestions

Your users are spoiled. They’re used to Google’s refined and convenient search interface, so they have high expectations ...

Jaden Baptista

Technical Writer

What does it take to build and train a large language model? An introduction
ai

What does it take to build and train a large language model? An introduction

Imagine if, as your final exam for a computer science class, you had to create a real-world large language ...

Vincent Caruana

Sr. SEO Web Digital Marketing Manager

The pros and cons of AI language models
ai

The pros and cons of AI language models

What do you think of the OpenAI ChatGPT app and AI language models? There’s lots going on: GPT-3 ...

Catherine Dee

Search and Discovery writer

How AI is transforming merchandising from reactive to proactive
e-commerce

How AI is transforming merchandising from reactive to proactive

In the fast-paced and dynamic realm of digital merchandising, being reactive to customer trends has been the norm. In ...

Lorna Rivera

Staff User Researcher

Top examples of some of the best large language models out there
ai

Top examples of some of the best large language models out there

You’re at a dinner party when the conversation takes a computer-science-y turn. Have you tried ChatGPT? What ...

Vincent Caruana

Sr. SEO Web Digital Marketing Manager

What are large language models?
ai

What are large language models?

It’s the era of Big Data, and super-sized language models are the latest stars. When it comes to ...

Catherine Dee

Search and Discovery writer

Mobile search done right: Common pitfalls and best practices
ux

Mobile search done right: Common pitfalls and best practices

Did you know that 86% of the global population uses a smartphone? The 7 billion devices connected to the Internet ...

Alexandre Collin

Staff SME Business & Optimization - UI/UX

Cloud Native meetup: Observability & Sustainability
engineering

Cloud Native meetup: Observability & Sustainability

The Cloud Native Foundation is known for being the organization behind Kubernetes and many other Cloud Native tools. To foster ...

Tim Carry

Algolia DocSearch is now free for all docs sites
product

Algolia DocSearch is now free for all docs sites

TL;DR Revamp your technical documentation search experience with DocSearch! Previously only available to open-source projects, we're excited ...

Shane Afsar

Senior Engineering Manager

Looking for something?

facebookfacebooklinkedinlinkedintwittertwittermailmail

The Algolia community is one of our strongest assets, and we love when customers tackle projects with our technology in unexpected ways. OneSignal recently reached out to us to share how they used Algolia’s Hacker News Search API to create a demo of their notification platform, and it’s pretty awesome. OneSignal CEO George Deglin joins us for a guest post to explain how they used Algolia to spread the word on the capabilities of Web Push and OneSignal.


At OneSignal, we help mobile and web developer send smarter and more effective push notifications to their users. Our tools make it easy for developers to schedule, localize, A/B test, and monitor the notifications they send.

In late 2014, the World Wide Web Consortium published a Recommendation of HTML5. Among many impressive features, the one that stood out the most to us was Web Push notifications. Finally, web developers were being given a much better alternative to e-mail for re-engaging their visitors.

Earlier this year, Google Chrome was the first browser to publicly launch Web Push support. We were right there with them, announcing our support for this new technology just days later.

We knew we couldn’t simply launch and wait for clients to sign up. Nearly every developer we talked to had no idea that websites could even send push notifications now. We had to find an effective way to demonstrate our technology to thousands of web developers at once, and there’s no better place to do that than Hacker News.

To get upvotes on Hacker News, we’d have to create a demonstration that appealed to readers and wasn’t self-promotional fluff. With the help of Algolia, we found a perfect solution.

Instead of simply talking about our launch of Web Push support, we built a demo that provides real value to Hacker News readers.

We stumbled upon Algolia’s easy-to-use Hacker News Search API after seeking out an easy way to identify trending Hacker News Stories. Next, we created an Algolia query to identify Hacker News stories that received over 250 upvotes. Finally, we would use Web Push to deliver notifications of these stories to users who visited the site and opted-in. Simply by combining the two with a script that would run every 5 minutes, we had built a push notification system for Hacker News that required nothing but the Chrome web browser!

For the developers out there, here’s the code we used.

Our efforts were a success! After posting the story on Hacker News, it quickly received enough upvotes to briefly trend on the front page. Thousands of developers learned about the potential of Web Push and how OneSignal can help them get started with it.

Find the right tutorial for your needs

About the author
Guillaume Dumortier

Recommended Articles

Powered byAlgolia Algolia Recommend

New experimental version of Hacker News Search built with Algolia
product

kevin

API Documentation 2.0: From Browsing to Search
product

Peter Villani

Sr. Tech & Business Writer

Introducing our new navigation
product

Craig Williams

Director of Product Design & Research