notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
Port details
py-oterm Text-based terminal client for Ollama
0.6.4 misc on this many watch lists=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 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 search for ports maintained by this maintainer
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

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>)
  • py311: py311-oterm
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):
py311-oterm
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest0.6.40.6.4--0.6.4---
FreeBSD:13:quarterly0.6.40.6.4--0.6.4---
FreeBSD:14:latest0.6.40.6.4--0.6.4---
FreeBSD:14:quarterly0.6.40.6.4--0.6.4---
FreeBSD:15:latest0.6.40.6.4n/a0.6.3n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-hatchling>=1.25.0 : devel/py-hatchling@py311
  2. python3.11 : lang/python311
  3. py311-build>=0 : devel/py-build@py311
  4. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. python3.11 : lang/python311
Runtime dependencies:
  1. py311-aiosql>=10.1 : databases/py-aiosql@py311
  2. py311-aiosqlite>=0.19.0 : databases/py-aiosqlite@py311
  3. py311-linkify-it-py>=2.0.3 : textproc/py-linkify-it-py@py311
  4. py311-mdit-py-plugins>=0.4.1 : textproc/py-mdit-py-plugins@py311
  5. py311-ollama>=0.3.1 : misc/py-ollama@py311
  6. py311-packaging>=24.1 : devel/py-packaging@py311
  7. py311-pillow>=10.3.0 : graphics/py-pillow@py311
  8. py311-pyperclip>=1.7.0 : devel/py-pyperclip@py311
  9. py311-python-dotenv>=1.0.1 : www/py-python-dotenv@py311
  10. py311-rich-pixels>=3.0.1 : graphics/py-rich-pixels@py311
  11. py311-textual>=0.78.0 : textproc/py-textual@py311
  12. py311-textualeffects>=0.1.2 : devel/py-textualeffects@py311
  13. py311-typer>=0.12.3 : devel/py-typer@py311
  14. py311-uc-micro-py>=1.0.3 : textproc/py-uc-micro-py@py311
  15. 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:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/o/oterm/
  2. https://pypi.org/packages/source/o/oterm/
Collapse this list.

Number of commits found: 13

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.6.4
28 Sep 2024 13:39:54
commit hash: 0ed7402f51c542e9dac413932aa2108de859fddfcommit hash: 0ed7402f51c542e9dac413932aa2108de859fddfcommit hash: 0ed7402f51c542e9dac413932aa2108de859fddfcommit hash: 0ed7402f51c542e9dac413932aa2108de859fddf files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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
commit hash: 22bf5c15f667d6960a8cd03915e5c58d0d9eac55commit hash: 22bf5c15f667d6960a8cd03915e5c58d0d9eac55commit hash: 22bf5c15f667d6960a8cd03915e5c58d0d9eac55commit hash: 22bf5c15f667d6960a8cd03915e5c58d0d9eac55 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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
commit hash: 9d2029288696bbca406f2871fbbbfa925a539802commit hash: 9d2029288696bbca406f2871fbbbfa925a539802commit hash: 9d2029288696bbca406f2871fbbbfa925a539802commit hash: 9d2029288696bbca406f2871fbbbfa925a539802 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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
commit hash: 91c24deeff8f6f9f48d5f12cbff86c7b7786dbb7commit hash: 91c24deeff8f6f9f48d5f12cbff86c7b7786dbb7commit hash: 91c24deeff8f6f9f48d5f12cbff86c7b7786dbb7commit hash: 91c24deeff8f6f9f48d5f12cbff86c7b7786dbb7 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
misc/py-oterm: Add NO_ARCH

Approved by:	portmgr (blanket)
0.4.4
02 Sep 2024 14:12:52
commit hash: c4affbdbaeee61868966b8ebfd3cf9d459e9f4c8commit hash: c4affbdbaeee61868966b8ebfd3cf9d459e9f4c8commit hash: c4affbdbaeee61868966b8ebfd3cf9d459e9f4c8commit hash: c4affbdbaeee61868966b8ebfd3cf9d459e9f4c8 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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
commit hash: 0ec48ecc8a020c42a54b9ac1269a39e5ce8db675commit hash: 0ec48ecc8a020c42a54b9ac1269a39e5ce8db675commit hash: 0ec48ecc8a020c42a54b9ac1269a39e5ce8db675commit hash: 0ec48ecc8a020c42a54b9ac1269a39e5ce8db675 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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
commit hash: 6fc9bb562b0a773e72c4da293bd3bc30ad237ee8commit hash: 6fc9bb562b0a773e72c4da293bd3bc30ad237ee8commit hash: 6fc9bb562b0a773e72c4da293bd3bc30ad237ee8commit hash: 6fc9bb562b0a773e72c4da293bd3bc30ad237ee8 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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
commit hash: dcedf86b351b82abc87eb543f92527c606e3889ecommit hash: dcedf86b351b82abc87eb543f92527c606e3889ecommit hash: dcedf86b351b82abc87eb543f92527c606e3889ecommit hash: dcedf86b351b82abc87eb543f92527c606e3889e files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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
commit hash: fd7ac7f61ed04d17c2f9737aa369440e48572650commit hash: fd7ac7f61ed04d17c2f9737aa369440e48572650commit hash: fd7ac7f61ed04d17c2f9737aa369440e48572650commit hash: fd7ac7f61ed04d17c2f9737aa369440e48572650 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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
commit hash: 1c1b40ac246eee9ba50835a5f34da6c205780f68commit hash: 1c1b40ac246eee9ba50835a5f34da6c205780f68commit hash: 1c1b40ac246eee9ba50835a5f34da6c205780f68commit hash: 1c1b40ac246eee9ba50835a5f34da6c205780f68 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
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
commit hash: 7802dd6ac0a37135e9ef769486a94072b8ec010bcommit hash: 7802dd6ac0a37135e9ef769486a94072b8ec010bcommit hash: 7802dd6ac0a37135e9ef769486a94072b8ec010bcommit hash: 7802dd6ac0a37135e9ef769486a94072b8ec010b files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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
commit hash: 53b90ee074f97b55a3242caec601f18885a74455commit hash: 53b90ee074f97b55a3242caec601f18885a74455commit hash: 53b90ee074f97b55a3242caec601f18885a74455commit hash: 53b90ee074f97b55a3242caec601f18885a74455 files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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
commit hash: 5c2606d85f13cdb4b1401985a54446ce5d474c0fcommit hash: 5c2606d85f13cdb4b1401985a54446ce5d474c0fcommit hash: 5c2606d85f13cdb4b1401985a54446ce5d474c0fcommit hash: 5c2606d85f13cdb4b1401985a54446ce5d474c0f files touched by this commit
Nicola Vitale (nivit) search for other commits by this committer
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

Number of commits found: 13