This is an application built with LeapKit to demonstrate infinite scrolling using Go, HTMX, and Tailwind CSS.
To get started, ensure you have Go 1.24 installed. Once Go is installed, download the required dependencies:
go mod download && go tool tailo download
To run the application in development mode, use the following command:
go tool dev
Once the application is running, you can access it at http://localhost:3000.
This demo implements infinite scrolling using HTMX and Go. The server dynamically loads additional content when the user reaches the end of the page.
- The frontend uses HTMX to make asynchronous requests when scrolling down.
- The backend in Go handles paginated requests and serves HTML snippets dynamically.
- Tailwind CSS is used for styling and layout.