How to Use Ollama with Puppeteer

Puppeteer is Google’s Node.js library for controlling a headless Chrome browser. Paired with Ollama, it gives you a powerful combination for automating web tasks that require intelligence: scraping content that needs JavaScript execution, extracting structured data from dynamic pages, automating form submissions with AI-generated content, and building screenshot-based visual analysis pipelines. This guide covers the … Read more

How to Use Ollama with Excel and Python

Excel spreadsheets are the universal format for business data, and adding local LLM analysis to your Excel workflows means you can summarise reports, classify data, generate insights, and answer questions about spreadsheet content — all without sending your data to a cloud API. This guide covers using Python with pandas, openpyxl, and Ollama to analyse … Read more

How to Build a Web Scraper with Ollama and Playwright

Playwright is Microsoft’s modern browser automation library — fast, reliable, and capable of controlling Chromium, Firefox, and WebKit from Python, JavaScript, or TypeScript. Paired with Ollama, it gives you a powerful combination: Playwright handles the browser automation and data collection, while Ollama handles the intelligent analysis, summarisation, and classification of the collected content. This guide … Read more

How to Use Ollama with Jupyter Notebook

Jupyter Notebook is the standard environment for data science, machine learning research, and exploratory Python work. Connecting it to Ollama gives you an interactive local AI assistant that understands your code and data — you can ask questions about dataframes, generate visualisation code, explain statistical results, and iterate on analysis with a local LLM, all … Read more

How to Summarise PDFs Locally with Ollama

PDFs are everywhere — research papers, contracts, reports, invoices, technical manuals. Being able to summarise, extract information from, and query a PDF using a local LLM means you can process sensitive documents without sending them to a cloud API. This guide walks through building a complete local PDF processing pipeline in Python: extracting text, handling … Read more

How to Use Ollama with Django

Django is the most popular Python web framework, and adding local LLM capabilities to a Django application is straightforward with Ollama. Whether you want an AI-powered chat endpoint, automatic content summarisation, intelligent search, or document analysis, Ollama provides a local HTTP API you can call from anywhere in a Django project — views, models, management … Read more

How to Build Open WebUI Pipelines

Open WebUI’s Pipelines feature is one of its most powerful and underused capabilities. Pipelines let you intercept every message that flows through Open WebUI — before it reaches the model and after the model responds — and run custom Python logic at each stage. You can use this to add RAG retrieval, apply content filters, … Read more

How to Use Ollama in Bash Scripts

Bash is the glue language of Linux and macOS systems, and Ollama’s HTTP API is simple enough to call with nothing more than curl. This means you can integrate a local LLM into shell scripts, cron jobs, aliases, and pipelines without installing any additional tools or language runtimes. This guide covers the essential patterns for … Read more

How to Build a Local AI TUI with Ollama

A terminal user interface gives you the interactivity of a chat application without leaving the command line. Building one for Ollama means you get a keyboard-driven, full-screen local AI assistant that starts in milliseconds, requires no browser, and works over SSH. This guide walks through building a polished TUI chat application in Python using the … Read more