LMChat is a chat program for AmigaOS 3.2 that talks to AI language
models running in LM Studio on another computer of your network (a PC
or Mac). The model does its work there; the Amiga sends your message
and shows the answer while it is being written, word by word.
LM Studio (https://lmstudio.ai) is a free program for Windows, macOS
and Linux that runs language models locally, without a cloud service
and without an account. LMChat uses its OpenAI compatible server, so
other servers of that kind in your network should work as well.
This is version 0.1, the first public release: expect rough edges.
Features
- Answers appear while the model writes (streaming); "Stop" ends one
- Several chats, like in LM Studio: a list at the left, "New chat",
chats are saved to disk and are there again at the next start
- Markdown in answers as on GitHub: headings, lists, task lists,
tables, quotes and alerts, links you can click, code in a box with
syntax colours and a "Copy" button
- Full UTF-8 text with colour emoji through utf8rastport.library
(TrueType, FreeType); without it the text is converted to Latin-1 or
Latin-5 and drawn with the system fonts
- The model's thinking part (<think> or reasoning_content) is hidden or
shown as you like
- Settings window: server address and port, model (list read from the
server), system prompt, temperature, token limit, fonts and size,
character set, language
- Cut, copy and paste in the input field (Right Amiga X/C/V), mouse
wheel, export of a chat as a Markdown file
- English and Turkish; the language can be chosen in the settings
- ReAction user interface, runs on the Workbench screen
- Installer script (English and Turkish) that installs and removes
REQUIREMENTS - please read before installing
LMChat can be copied to any AmigaOS 3.x system, but it only works
when the following is there. If something is missing it may be
installed and still not start, not connect, or show its text
wrongly. The installer checks what it can and tells you what it did
not find; it does not install any of it.
Needed
- AmigaOS 3.2 or newer with its ReAction classes (window.class,
layout, button, string, scroller, chooser, integer, checkbox and
listbrowser gadgets, label image; version 44 or newer). Developed
and tested on AmigaOS 3.2.3. NOT tested on 3.5 and 3.9; it does
not run on 3.1 without ReAction.
- 68020 or better. It is 68020 code and crashes on a 68000/68010.
- A running TCP/IP stack with bsdsocket.library 4 (Roadshow, AmiTCP,
Miami, lwIP ...; the bsdsocket emulation of WinUAE works too) and
a network connection to the computer that runs LM Studio.
Without it LMChat starts but cannot connect.
- LM Studio on a computer in your network, with
* its local server started (Developer tab),
* "Serve on Local Network" switched on - otherwise only that
computer itself can reach it,
* a model downloaded and loaded,
* its firewall letting the port through (1234 by default).
LMChat speaks plain HTTP only. Servers that need HTTPS or an API
key (the cloud services) can NOT be used.
Needed for the display shown in the feature list
- utf8rastport.library (tested with 5.1 and 6.1), part of EmojiGear
by krabobmkd (Aminet: text/edit/EmojiGear5.3.lha or newer).
Without it there are no TrueType fonts, no larger headings and no
emoji, and characters outside your 8 bit character set are
replaced by similar ones or by "?". Models like to use emoji and
many languages, so it is strongly recommended.
- TrueType fonts; LMChat looks for
FONTS:_ttf/DejaVuSans.ttf text
FONTS:_ttf/DejaVuSansMono.ttf code
FONTS:_ttf/NotoColorEmoji32.ttf emoji
Others can be chosen in the settings. No fonts are included. The
DejaVu fonts are free (https://dejavu-fonts.github.io); for emoji
fonts see the EmojiGear documentation.
- A graphics card (RTG) screen in 15 bit or more is recommended.
LMChat has NOT been tested on AGA/ECS screens.
Optional
- openurl.library: a click on a link in an answer opens your
browser. Without it the address is copied to the clipboard.
Installation
Double-click Install-LMChat. It asks for a drawer, creates
"LMChat" in it and copies the program, its icon, the Turkish
catalog and the documents. On a first installation it asks for the
address of the LM Studio computer. Nothing is written outside that
drawer except the settings file ENVARC:LMChat.prefs. The same
script removes LMChat again. By hand: drag the LMChat drawer to
where you want it; for the Turkish user interface rename the
drawer Catalogs/turkish as ReadMe.txt says.
Tested on AmigaOS 3.2.3 with WinUAE (68060, UAEGFX) and on an A1200
with PiStorm/Emu68 (68040, RTG 1920x1080, lwIP), with LM Studio on
Windows.
LMChat is not affiliated with LM Studio or its makers; "LM Studio" is
their trademark and is used here only to say what the program works
with.
Freeware. Copyright (C) 2026 Serkan Dursun. You may use and copy this
package freely as long as it is complete and unchanged; no warranty of
any kind. utf8rastport.library and EmojiGear are by krabobmkd and are
not part of this package.
History
0.1 First public release.
|