Port details |
- py-oterm Text-based terminal client for Ollama
- 0.6.4 misc =2 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
- Maintainer: nivit@FreeBSD.org
- Port Added: 2024-08-08 15:39:05
- Last Update: 2024-09-28 13:39:54
- Commit Hash: 0ed7402
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/ggozad/oterm
- Description:
- Oterm is a text-based terminal client for Ollama.
Features
- intuitive and simple terminal UI, no need to run servers, frontends, just
type oterm in your terminal.
- multiple persistent chat sessions, stored together with the context
embeddings and system prompt customizations in sqlite.
- can use any of the models you have pulled in Ollama, or your own custom
models.
- allows for easy customization of the model's system prompt and parameters.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}oterm>0:misc/py-oterm@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/misc/py-oterm/ && make install clean
- To add the package, run one of these commands:
- pkg install misc/py-oterm
- pkg install py311-oterm
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-oterm listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py311-oterm
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1727530360
SHA256 (oterm-0.6.4.tar.gz) = a5e305bbb21c66a90a702e0bdc056055d407da031f2aaede5de525c21fcc50dd
SIZE (oterm-0.6.4.tar.gz) = 531295
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py311-hatchling>=1.25.0 : devel/py-hatchling@py311
- python3.11 : lang/python311
- py311-build>=0 : devel/py-build@py311
- py311-installer>=0 : devel/py-installer@py311
- Test dependencies:
-
- python3.11 : lang/python311
- Runtime dependencies:
-
- py311-aiosql>=10.1 : databases/py-aiosql@py311
- py311-aiosqlite>=0.19.0 : databases/py-aiosqlite@py311
- py311-linkify-it-py>=2.0.3 : textproc/py-linkify-it-py@py311
- py311-mdit-py-plugins>=0.4.1 : textproc/py-mdit-py-plugins@py311
- py311-ollama>=0.3.1 : misc/py-ollama@py311
- py311-packaging>=24.1 : devel/py-packaging@py311
- py311-pillow>=10.3.0 : graphics/py-pillow@py311
- py311-pyperclip>=1.7.0 : devel/py-pyperclip@py311
- py311-python-dotenv>=1.0.1 : www/py-python-dotenv@py311
- py311-rich-pixels>=3.0.1 : graphics/py-rich-pixels@py311
- py311-textual>=0.78.0 : textproc/py-textual@py311
- py311-textualeffects>=0.1.2 : devel/py-textualeffects@py311
- py311-typer>=0.12.3 : devel/py-typer@py311
- py311-uc-micro-py>=1.0.3 : textproc/py-uc-micro-py@py311
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- misc_py-oterm
- USES:
- python:3.10+
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.6.4 28 Sep 2024 13:39:54 |
Nicola Vitale (nivit) |
misc/py-oterm: Update to 0.6.4
Release changes://github.com/ggozad/oterm/releases/tag/0.6.4
Reported by: Yiorgis Gozadinos <notifications@github.com> |
0.6.3 27 Sep 2024 06:53:00 |
Nicola Vitale (nivit) |
misc/py-oterm: Update to 0.6.3
Release changes:
https://github.com/ggozad/oterm/releases/tag/0.6.2
https://github.com/ggozad/oterm/releases/tag/0.6.3
Reported by: portscout |
0.5.2 09 Sep 2024 08:55:16 |
Nicola Vitale (nivit) |
misc/py-oterm: Update to 0.5.2
Release changes:
https://github.com/ggozad/oterm/releases/tag/0.5.0
https://github.com/ggozad/oterm/releases/tag/0.5.1
https://github.com/ggozad/oterm/releases/tag/0.5.2 |
0.4.4 05 Sep 2024 06:18:35 |
Po-Chuan Hsieh (sunpoet) |
misc/py-oterm: Add NO_ARCH
Approved by: portmgr (blanket) |
0.4.4 02 Sep 2024 14:12:52 |
Nicola Vitale (nivit) |
misc/py-oterm: Update to 0.4.4
- Change build dependency
Release changes: https://github.com/ggozad/oterm/releases/tag/0.4.4
Reported by: Yiorgis Gozadinos <notifications@github.com> |
0.4.2 21 Aug 2024 07:58:56 |
Nicola Vitale (nivit) |
misc/py-oterm: Update to 0.4.2
Release changes: https://github.com/ggozad/oterm/releases/tag/0.4.2
Reported by: portscout |
0.4.1 20 Aug 2024 20:13:01 |
Nicola Vitale (nivit) |
misc/py-oterm: Update to 0.4.1
Release changes: https://github.com/ggozad/oterm/releases/tag/0.4.1
Reported by: Yiorgis Gozadinos <notifications@github.com> |
0.4.0 19 Aug 2024 19:36:19 |
Nicola Vitale (nivit) |
misc/py-oterm: Update to 0.4.0
Release changes: https://github.com/ggozad/oterm/releases/tag/0.4.0
Reported by: Yiorgis Gozadinos <notifications@github.com> |
0.3.1 14 Aug 2024 14:05:14 |
Nicola Vitale (nivit) |
misc/py-oterm: Update to 0.3.1
Release changes: https://github.com/ggozad/oterm/releases/tag/0.3.1
Reported by: Yiorgis Gozadinos <notifications@github.com> |
0.2.10_1 10 Aug 2024 07:23:35 |
Yuri Victorovich (yuri) |
misc/py-ollama: New port: Official Python client for Ollama
This reverts commit 5f8c92831aae9f9783923dcb6c29ba6287d2f576.
Requested by: nivit@FreeBSD.org (maintainer of devel/py-ollama; via e-mail) |
0.2.10 09 Aug 2024 19:46:29 |
Nicola Vitale (nivit) |
misc/py-oterm: Update to 0.2.10
- Remove files/patch-oterm_app_oterm.py
Release changes: https://github.com/ggozad/oterm/releases/tag/0.2.10
Reported by: Yiorgis Gozadinos <notifications@github.com> |
0.2.9_1 09 Aug 2024 09:05:48 |
Nicola Vitale (nivit) |
misc/py-oterm: Fix a runtime error
- Due to an incompatibility with the recent version of textproc/py-textual,
oterm crashes when there are saved chats, with the following error
│ /usr/local/lib/python3.11/site-packages/textual/widget.py:984 in mount
│
│
│
│ 981 │ │ if self._closing or self._pruning:
╭──────────── locals
────────────╮
│
│ 982 │ │ │ return AwaitMount(self, [])
│ after = None │
│
│ 983 │ │ if not self.is_attached:
│ before = None │
│
│ ❱ 984 │ │ │ raise MountError(f"Can't mount widget(s) before
{self!r} is mounted") │ self = TabPane(id='chat-1') │
│
│ 985 │ │ # Check for duplicate IDs in the incoming widgets
│ widgets = (ChatContainer(),) │
│
│ 986 │ │ ids_to_mount = [
╰────────────────────────────────╯
│
│ 987 │ │ │ widget_id for widget in widgets if (widget_id :=
widget.id) is not None
│
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
MountError: Can't mount widget(s) before TabPane(id='chat-1') is mounted
So add the patch patch-oterm_app_oterm.py, that is a simple workaround
waiting for an official solution by upstream.
- Bump PORTREVISION |
0.2.9 08 Aug 2024 15:38:37 |
Nicola Vitale (nivit) |
misc/oterm: Add new port
Oterm is a text-based terminal client for Ollama.
Features
- intuitive and simple terminal UI, no need to run servers, frontends, just
type oterm in your terminal.
- multiple persistent chat sessions, stored together with the context
embeddings and system prompt customizations in sqlite.
- can use any of the models you have pulled in Ollama, or your own custom
models.
- allows for easy customization of the model's system prompt and parameters.
https://github.com/ggozad/oterm |