GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - mahmud-r-farhan/TalkLLM: TalkLLM - A Local LLM Chat App using WebLLM

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
public
public
 
 
src
src
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
eslint.config.js
eslint.config.js
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
vite.config.js
vite.config.js
 
 

Repository files navigation

๐Ÿง  TalkLLM - A Local LLM Chat App using WebLLM

Welcome to TalkLLM, a lightweight and modern chat interface powered by MLC AI WebLLM. This app allows you to run a Large Language Model (LLM) directly in your browser with no backend or server required.

Built using React, this app uses the Llama 3 model locally for a private and blazing-fast AI assistant experience.

screenshot


๐Ÿš€ Features

  • โœ… Local-first LLM (no internet API calls)
  • ๐Ÿ’ฌ Seamless chat experience with context
  • ๐Ÿ“ฆ Runs directly in the browser using @mlc-ai/web-llm
  • ๐Ÿ›ก๏ธ No data sent to servers
  • โšก Clean, modern UI with loading indicators and error handling

๐Ÿ“ธ Screenshot

screenshot


๐Ÿ› ๏ธ Getting Started

Prerequisites

Before running this project, make sure your system meets the following requirements:

๐Ÿ–ฅ๏ธ System Requirements

  • โœ… A browser that supports WebGPU

    • Recommended: Latest Chrome, Edge, or Safari
    • Check if your browser supports WebGPU
  • โœ… A device with WebAssembly (Wasm) support (most modern devices have this by default)

โš™๏ธ Development Environment

  • Node.js (v16 or above recommended)
  • npm or yarn

Installation

https://github.com/mahmud-r-farhan/TalkLLM.git
cd TalkLLM
npm install

Running Locally

npm run dev

The app will open at http://localhost:5173.


๐Ÿง  Model

This app uses:

Llama-3.1-8B-Instruct-q4f32_1-MLC

The model is initialized locally using:

webllm.CreateMLCEngine(modelName, { initProgressCallback });

No server, no data sharing โ€” everything runs in the browser.


๐Ÿงพ Project Structure

src/
โ”œโ”€โ”€ App.jsx          # Main chat component
โ”œโ”€โ”€ ui.scss          # Styling

โš™๏ธ Customization

You can easily switch to another supported model by updating this line:

const selectedModel = "Llama-3.1-8B-Instruct-q4f32_1-MLC";

Refer to MLC model catalog for available models.


๐Ÿ“ฆ Dependencies

  • React

  • @mlc-ai/web-llm

  • Sass (.scss support for UI styling)

Install Sass if needed:

npm install sass

or,

npm i sass-embedded

๐Ÿค Contributing

Pull requests are welcome! Feel free to open issues or submit improvements.


Credits

  • MLC AI for the awesome WebLLM engine

๐Ÿงช Tip: You can use this as a local AI assistant app without relying on OpenAI or any third-party API.

About

TalkLLM - A Local LLM Chat App using WebLLM

Topics

chatappchatbotllama3llmllmchatreact

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402792 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.