Skip to content

marleylinux/FastFlowLM-gtk

Repository files navigation

FastFlowLM-gtk logo

FastFlowLM-gtk

GTK4 chat app for FastFlowLM. Runs local models without Electron eating all your RAM.

Powered by FastFlowLM ❤️

FastFlowLM-gtk Demo

What it does

  • Download and switch between local models from inside the app
  • Drag and drop images for vision models
  • Syntax highlighting for code (Python, C++, bash, etc) using real GtkSourceView
  • Chat history with search and the ability to favourite chats
  • NPU dashboard that shows if your stuff is actually working and checks memlock
  • Keyboard shortcuts for the usual things (new chat, search, copy last answer, sidebar toggle)
  • Warns you if a model is probably too big for your system

Memory locking (memlock)

Big models need to be locked in RAM. The install script and AUR package add the right limits.d file for you.

After installing you have to log out and back in (or reboot) or the app will block you. It tells you this.

Requirements

  • Python 3.11+
  • gtk4 + libadwaita + python-gobject
  • gtksourceview5 + libsoup3 + python-psutil
  • fastflowlm + xrt-plugin-amdxdna

Install

Arch (easiest):

yay -S fastflowlm-gtk

Or build from this repo:

git clone https://github.com/marleylinux/FastFlowLM-gtk
cd FastFlowLM-gtk
makepkg -si

Other distros:

git clone https://github.com/marleylinux/FastFlowLM-gtk
cd FastFlowLM-gtk
sudo ./install.sh

Then launch "FastFlowLM-gtk" from your menu or just run fastflowlm-gtk.

Running without installing (for testing)

python3 src/app.py

Shortcuts

  • Ctrl+N → new chat
  • Ctrl+F → search history
  • F9 → toggle sidebar
  • Ctrl+Shift+C → copy last response
  • Ctrl+? or Ctrl+/ → show shortcuts
  • Enter → send
  • Shift+Enter → newline

Uninstall

sudo ./uninstall.sh

It also removes the memlock config it added.

License

MIT


Check out my other apps:


cpupower-gtk

Ryzenadj-gtk

FastFlowLM-gtk

fetch-gtk

About

A minimal GTK chat client for FastFlowLM, written in Python and inspired by the simplicity of Faugus Launcher and GNOME.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors