R 'shiny' Interface for Chatting with Large Language Models Offline on Local with 'ollama'

Chat with large language models on your machine without internet with complete privacy via 'ollama', powered by R 'shiny' interface. For more information on 'ollama', visit < https://ollama.com>.


shiny.ollama

CRAN Version Dev Version

R Shiny Interface for Chatting with LLMs Offline via Ollama

Experience seamless, private, and offline AI conversations right on your machine! shiny.ollama provides a user-friendly R Shiny interface to interact with LLMs locally, powered by Ollama.

pkgdown Visitors CRAN downloads R-CMD-check

alt text

⚠️ Disclaimer

Important: shiny.ollama requires Ollama to be installed on your system. Without it, this package will not function. Follow the Installation Guide below to set up Ollama first.

Installation

From CRAN (Recommended)

install.packages("shiny.ollama")

From GitHub (Latest Development Version)

# Install devtools if not already installed
install.packages("devtools")

devtools::install_github("ineelhere/shiny.ollama")

Features

  • Fully Offline: No internet required – complete privacy
  • Model Selection: Easily choose from available LLM models
  • Message Input: Engage in conversations with AI
  • Save & Download Chats: Export your chat history
  • User-Friendly Interface: Powered by R Shiny

Quick Start

Launch the Shiny app in R with:

library(shiny.ollama)

# Start the application
shiny.ollama::run_app()

How to Install Ollama

To use this package, install Ollama first:

  1. Download Ollama from here (Mac, Windows, Linux supported).
  2. Install it by following the provided instructions.
  3. Verify your installation:
ollama --version

If successful, the version number will be displayed.

  1. Pull a model (e.g., deepseek-r1) to get started.

License and Declaration

This R package is an independent, passion-driven open source initiative, released under the Apache License 2.0. It is not affiliated with, owned by, funded by, or influenced by any external organization. The project is dedicated to fostering a community of developers who share a love for coding and collaborative innovation.

Contributions, feedback, and feature requests are always welcome!

Stay tuned for more updates. 🚀

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("shiny.ollama")

0.1.1 by Indraneel Chakraborty, 2 years ago


https://www.indraneelchakraborty.com/shiny.ollama/, https://github.com/ineelhere/shiny.ollama


Report a bug at https://github.com/ineelhere/shiny.ollama/issues


Browse source code at https://github.com/cran/shiny.ollama


Authors: Indraneel Chakraborty [aut, cre]


Documentation:   PDF Manual  


Apache License (>= 2) license


Imports shiny, bslib, httr, jsonlite, markdown, mockery

Suggests testthat, pkgdown


See at CRAN