How to generate an Endless Pagination

I have been trying to find a post or documentation related to create an endless pagination in Hippo. It’s there a way to generate this endless pagination? I found this article: but it is a widget from Related Items. Also I am using the normal pagination in a .ftl file

<@hst.setBundle basename=“essentials.pagination”/>