textproc/markless: New port: Terminal markdown viewer and editor
Markless is a terminal markdown viewer and editor with image support.
It focuses on fast navigation and clear rendering for lengthy
documents.
Features include:
- Markdown rendering with syntax highlighting
- Image support in terminal
- Mermaid diagram rendering
- LaTeX math rendering via Typst
- CSV table rendering
- File watching for live updates
WWW: https://github.com/jvanderberg/markless
textproc/codebook: New port
Codebook is a spell checker for code. It binds together the venerable
Tree Sitter and the fast spell checker Spellbook. Included is a
Language Server for use in (theoretically) any editor. Everything
is done in Rust to keep response times snappy and memory usage low.
Installs a language server for use with text editors.
textproc/py-griffecli: New port
Signatures for entire Python programs. Extract the structure, the
frame, the skeleton of your project, to generate API documentation
or find breaking changes in your API.
This package contains the CLI components.
textproc/py-griffelib: New port
Signatures for entire Python programs. Extract the structure, the
frame, the skeleton of your project, to generate API documentation
or find breaking changes in your API.
This package contains the library components.
textproc/oyo: Add new port
Oyo is a terminal diff viewer that combines a classic scrollable diff with a
step-through way to review changes.
This tool has different diff modes, such as a dual mode for scrolling through
diffs or stepping incrementally, a unified mode where code transforms in one
pane, a split mode for side-by-side old and new versions, has an evolution
mode with deletions fading out and a blame mode for Git annotations per line.
Other features of oyo include handling hunk navigation to jump between change
groups, multi-file support, regex search across diffs, a command palette for
quick actions, syntax highlighting, word-level diff marking, animated steps,
line wrapping, Git integration as a difftool, autoplay at set speeds and
helpful keyboard bindings.
https://github.com/ahkohd/oyo
textproc/py-sphinxcontrib-mermaid: Add new port
This Sphinx extension allows you to embed Mermaid graphs in your documents,
including general flowcharts, sequence diagrams, gantt diagrams and more.
https://pypi.org/project/sphinxcontrib-mermaid/
textproc/krep: [NEW PORT] High-performance string search utility
krep is an optimized string search utility designed for maximum throughput and
efficiency when processing large files and directories. It is built with
performance in mind, offering multiple search algorithms and SIMD acceleration
when available.
Note: Krep is not intended to be a full replacement or direct competitor to
feature-rich tools like grep or ripgrep. Instead, it aims to be a minimal,
efficient, and pragmatic tool focused on speed and simplicity.
Krep provides the essential features needed for fast searching, without the
extensive options and complexity of more comprehensive search utilities. Its
design philosophy is to deliver the fastest possible search for the most common
use cases, with a clean and minimal interface.
WWW: https://github.com/davidesantangelo/krep/
Approved by: db@, yuri@ (Mentors, implicit)
Differential Revision: https://reviews.freebsd.org/D55357
textproc/comparator: Find common sections in source trees
comparator is a program for rapidly finding common segments in large
source-code trees. See the manual page for instructions. It comes with
a filtering postprecessor, filterator.
textproc/py-textual-textarea: Add new port
Textual-textarea is a text area (multi-line input) with syntax highlighting for
Textual.
It offers a full-featured text editor experience with VS-Code-like bindings, in
your Textual App:
- Syntax highlighting and support for Pygments themes.
- Move cursor and scroll with mouse or keys (including ctrl+arrow, PgUp/Dn,
ctrl+Home/End).
- Open (ctrl+o) and save (ctrl+s) files.
- Cut (ctrl+x), copy (ctrl+c), paste (ctrl+u/v), optionally using the system
clipboard.
- Comment selections with ctrl+/.
- Indent and dedent (optionally for a multiline selection) to tab stops with
Tab and shift+Tab.
- Automatic completions of quotes and brackets.
- Select text by double-, triple-, or quadruple-clicking.
- Quit with ctrl+q.
https://github.com/tconbeer/textual-textarea
textproc/py-textual-fastdatatable: Add new port
Textual-fastdatatable is a performance-focused reimplementation of Textual's
DataTable widget, with a pluggable data storage backend.
https://github.com/tconbeer/textual-fastdatatable
textproc/py-hotdoc: Add py-hotdoc 0.17.4
Hotdoc is a documentation micro-framework. It provides an interface for
extensions to plug upon, along with some base objects (formatters, ...).
textproc/py-wheezy.template: Add py-wheezy.template 3.2.4
wheezy.template is a python package written in pure Python code. It is a
lightweight template library. The design goals achieved:
- Compact, Expressive, Clean: Minimizes the number of keystrokes required to
build a template. Enables fast and well read coding. You do not need to
explicitly denote statement blocks within HTML (unlike other template
systems), the parser is smart enough to understand your code. This enables a
compact and expressive syntax which is really clean and just pleasure to type.
- Intuitive, No time to Learn: Basic Python programming skills plus HTML markup.
You are productive just from start. Use full power of Python with minimal
markup required to denote python statements.
- Do Not Repeat Yourself: Master layout templates for inheritance; include and
import directives for maximum reuse.
- Blazingly Fast: Maximum rendering performance: ultimate speed and context
preprocessor features.
Revert "textproc/libxml2*: update to 2.15.1, split -core"
The design of this update was repeatedly rejected in the linked PR
with a prescribed different design. This commit is therefore
unauthorised.
This reverts commit 099bd713e09ebdd02d73fde770c50706f980404f.
With hat: desktop (textproc/libxml2), gnome (USES=gnome)
PR: 291316
textproc/libxml2*: update to 2.15.1, split -core
libxml2 now requires xsltproc from libxslt to build,
yet libxslt depends on libxml2,
so we need to break a dependency cycle.
documentation needed to be split out to a separate port.
libxml2 has therefore been split into two ports,
* libxml2 builds the documentation (unless disabled),
* library and executables in libxml2-core.
Pull in one contributor patch suggested by the former libxml2 maintainer
to address one downstream security issue in recent libxslt versions.
This should address arrowd@'s hint that installing libxml2 should
provide a full-featured package.
While here, deprecate libxml2-python according to upstream plans, we
have very few users in the ports tree, and expire end of 2026Q1.
PR: 291316
textproc/py-pygtkspellcheck: new port had been added (+)
Simple but quite powerful spellchecking library for GTK
written in pure Python, based on Enchant and PyGObject.
textproc/qo: Add port
qo is an interactive TUI to query structured data (JSON/CSV/TSV) using
SQL (in particular, SQLite syntax). Results are updated in real-time.
It ultimately works as a standard stdin-in/stdout-out CLI app, so it's
essentially a normal piped app that (optionally) has interactivity.
If you pass the query as an argument, it'll skip the TUI, but still
let you query your data with SQL.
textproc/xsv-rs: Remove expired port
2025-12-31 textproc/xsv-rs: Abandoned, repo archived on Apr 24, 2025. Consider
migrating to textproc/xan or textproc/miller
textproc/bookokrat: Add new port
Bookokrat is a terminal-based EPUB reader with a split-view library and reader,
full MathML and image rendering, automatic bookmarks, inline annotations, and
customizable themes.
What you can do:
- Browse every EPUB in the current directory, drill into the table of
contents, and resume exactly where you left off.
- Search inside the current chapter or across the whole book, jump through a
per-book history, and inspect reading statistics.
- Highlight text, attach comments, copy snippets or entire chapters, and
toggle the raw HTML source for debugging.
- Open images in-place, follow internal anchors, launch external links in
your browser, and hand off the book to your system viewer.
- Customize with multiple color themes, adjustable margins, and zen mode;
settings persist across sessions.
https://bugzmanov.github.io/bookokrat/index.html
textproc/py-typst: New port: Python binding to typst
Python binding to typst, a new markup-based typesetting system that
is powerful and easy to learn.
textproc/py-roman-numerals: Add py-roman-numerals 4.0.0
This project provides utilities manipulating well-formed Roman numerals, in
various programming languages. Currently, there are implementations in Python
and Rust.
textproc/py-unicode-segmentation-rs: Add py-unicode-segmentation-rs 0.2.0
Python bindings for the Rust unicode-segmentation and unicode-width crates,
providing Unicode text segmentation and width calculation according to Unicode
standards.
Features:
- Grapheme Cluster Segmentation: Split text into user-perceived characters
- Word Segmentation: Split text into words according to Unicode rules
- Sentence Segmentation: Split text into sentences
- Display Width Calculation: Get the display width of text (for
terminal/monospace display)
- Gettext PO Wrapping: Wrap text for gettext PO files with proper handling of
escape sequences and CJK characters
textproc/typos: Add typos 1.39.2
typos finds and corrects spelling mistakes among source code:
- Fast enough to run on monorepos
- Low false positives so you can run on PRs
textproc/py-zensical: New port
Zensical is a modern static site generator designed to simplify
building and maintaining project documentation. It's built by
the creators of Material for MkDocs and shares the same core
design principles and philosophy - batteries included, easy to
use, with powerful customization options.
textproc/rubygem-action_text-trix: Add rubygem-action_text-trix 2.1.15
A Rich Text Editor for Everyday Writing
Compose beautifully formatted text in your web application. Trix is a WYSIWYG
editor for writing messages, comments, articles, and lists -- the simple
documents most web apps are made of. It features a sophisticated document model,
support for embedded attachments, and outputs terse and consistent HTML.
Trix is an open-source project from 37signals, the creators of Ruby on Rails.
Millions of people trust their text to us, and we built Trix to give them the
best possible editing experience. See Trix in action in Basecamp 3.
textproc/rubygem-actiontext81: Add rubygem-actiontext81 8.1.0
Action Text brings rich text content and editing to Rails. It includes the Trix
editor that handles everything from formatting to links to quotes to lists to
embedded images and galleries. The rich text content generated by the Trix
editor is saved in its own RichText model that's associated with any existing
Active Record model in the application. Any embedded images (or other
attachments) are automatically stored using Active Storage and associated with
the included RichText model.
textproc/py-gladtex: [NEW PORT] LaTeX formula preprocessor for HTML files
Reworked following upstream switch from Perl to Python in version 1.6.
GladTeX is a preprocessor that enables the use of LaTeX maths within HTML
files. The maths, embedded in <EQ>...</EQ> tags, as if within \(..\) in
LaTeX (or $...$ in TeX), is fed through latex and replaced by images.
WWW: https://humenda.github.io/GladTeX/
PR: 280914
Approved by: yuri@ (Mentor)
textproc/rubygem-openvox-strings: New port
OpenVox Strings generates HTML documentation for OpenVox extensions written in
Puppet and Ruby.
With hat: puppet
textproc/py-textual-speedups: Add py-textual-speedups 0.2.0
Textual Speedups module implements some of Textual's classes in Rust, which
should make Textual apps faster.
textproc/py-textual-image: Add py-textual-image 0.8.4
textual-image renders images directly in your terminal using Textual and Rich.
textual-image offers both Rich renderables and Textual Widgets that leverage the
Terminal Graphics Protocol (TGP) and Sixel protocols to display images in your
terminal. For terminals that don't support these protocols, fallback rendering
using Unicode characters is available.
Supported Terminals:
- Terminal Graphics Protocol (TGP): Initially introduced by the Kitty terminal
emulator. While support is partially available in other terminals, it doesn't
seem to be really usable there.
- Sixel Graphics: Supported by various terminal emulators including xterm and a
lot of others.
textproc/py-python-iso639: New port
python-iso639 is a Python package for ISO 639 language codes, names, and
other associated information.
Current features:
* A representation of languages mapped across ISO 639-1, 639-2, and 639-3.
* Functionality to "guess" what a language is for a given unknown language
code or name.
* Optimized for speed in retrieving language information.
textproc/py-humps: Add new port
py-humps converts strings (and dictionary keys) between snake case,
camel case and pascal case in Python.
Sponsored by: resulta.tech
textproc/py-elastic-transport: Add py-elastic-transport 8.17.1
Transport classes and utilities shared among Python Elastic client libraries
This library was lifted from elasticsearch-py and then transformed to be used
across all Elastic services rather than only Elasticsearch.
textproc/tree-sitter-grammars: Add new port
Collection of tree-sitter grammars
Language support such as tokenizing and highlighting is provided by Tree-sitter.
Each language requires a Tree-sitter grammar to have tokenization and queries
to provide additional features such as syntax highlighting.
Lapce has select few (Rust, JSON, TOML) grammars built-in for convenience.
All other languages need to provide an externally loadable grammar in a form of
shared library, which this port provides.
PR: 278837
textproc/pdjson: Public Domain JSON Parser Library for C
A public domain JSON parser focused on correctness, ANSI C99
compliance, full Unicode (UTF-8) support, minimal memory footprint,
and a simple API. As a streaming API, arbitrary large JSON could
be processed with a small amount of memory (the size of the largest
string in the JSON).