Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psethwick/plover_console_ui
Text User Interface plugin for Plover
https://github.com/psethwick/plover_console_ui
plover plugins
Last synced: about 10 hours ago
JSON representation
Text User Interface plugin for Plover
- Host: GitHub
- URL: https://github.com/psethwick/plover_console_ui
- Owner: psethwick
- License: gpl-3.0
- Created: 2020-11-23T20:42:39.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-05T11:07:29.000Z (7 months ago)
- Last Synced: 2024-09-08T09:21:44.887Z (19 days ago)
- Topics: plover, plugins
- Language: Python
- Homepage:
- Size: 634 KB
- Stars: 20
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
############################
Console UI Plugin for Plover
############################.. image:: https://img.shields.io/pypi/v/plover_console_ui.svg
:target: https://pypi.org/project/plover-console-ui/
.. image:: https://img.shields.io/pypi/dm/plover_console_ui.svg
:target: https://pypi.org/project/plover-console-ui/This is a plugin for the open source stenography program `Plover `_
Requires Plover version 4.0.0 or later
Run Plover entirely inside your terminal window!
.. image:: console-ui.png
###############
Getting Started
###############1. Open Plover
#. Navigate to the Plugin Manager tool
#. Select ``plover_console_ui`` in the list
#. Click installOr directly install ``plover_console_ui`` into Plover's python environment using ``plover -s plover_plugins install plover_console_ui``
- Note: The plover command is available under slightly different names depending on your OS, relative to your installation directory.
- **Windows**: ``C:\Program Files (x86)\Open Steno Project\Plover 4.0.0\plover_console.exe``
- **macOS**: ``/Applications/Plover.app/Contents/MacOS/Plover``
- **Linux**: ``plover.AppImage``For more information on Plover's Command Line Reference, see `The Plover Docs `_.
Linux/Mac
=========Start Plover with the -g option:
``plover -g console``If your shell returns ``command not found: plover`` or a similar error, refer to Getting Started to access the ``plover`` command.
Windows
=======Due to some Windows workaround code (in Plover), this plugin does not work well on the packaged Windows build
Here's a launcher that works:
``python -m plover -g console``Yes, it requires essentially 'run from source'... I'm sorry
If your shell returns ``command not found: plover`` or a similar error, refer to Getting Started to access the ``plover`` command.
#####
Usage
#####Regular Use
===========Plover commands are all functional:
- ``{PLOVER:LOOKUP}``
- ``{PLOVER:ADD_TRANSLATION}``
- ``{PLOVER:SUSPEND}``
- ``{PLOVER:RESUME}``
- ``{PLOVER:TOGGLE}``
- ``{PLOVER:FOCUS}``
- ``{PLOVER:CONFIGURE}``Note for the commands which do window manager focus:
- ``LOOKUP``
- ``ADD_TRANSLATION``
- ``FOCUS``
- ``CONFIGURE``This ``console_ui`` only knows which window it lives in *if* that window has focus on start-up
Otherwise: expect the focus feature not to work
Key Commands
============These key commands are always available when ``console_ui`` has focus:
- ``Ctrl-C`` or ``Ctrl-Q``: Exits Plover
- ``PageUp/PageDown``: Scrolls the ``console`` buffer up/down(Note: if anything new is added to ``console`` it will auto-scroll back down)
Command Line
============The ``help`` command is *always* available and will show all the currently
available commandsIf a command has the description ``...`` there are further commands
contained insideCommands can be partially entered
``m`` to use the ``machine`` command
Once you know your way around, you don't need to enter each menu one at a time
``col for goldenrod`` from the top level
Case is ignored
``configure`` is the same as ``CONFIGURE``
To get back to the previous menu level, press ``Enter`` on its own
If a command has ``<>`` in its description it takes one or more arguments. The type
of the argument is between the ``<>``Commands
========- ``addtranslation``: enters ``ADD_TRANSLATION`` mode
- Tab/Shift-Tab to move between ``Strokes``, ``Output`` and choose dictionary field
- When in the 'choose dictionary' field you can press left/right arrows to cycle (writable) dictionaries
- ``lookup``: enters ``LOOKUP`` mode
- ``output``: toggles Plover output on/off
- ``reset``: reconnects current ``machine`` (reloads dictionaries)
- ``suggestions``: toggles suggestions display
- ``tape``: toggles paper tape display
- ``savetape``: saves content of tape to a file
- ``dictionaries``: configure dictionaries- ``add``: add a dictionary by its file path
- ``remove``: remove a dictionary by displayed number
- ``toggle``: toggle a dictionary by displayed number
- ``priority``: prioritise a dictionary by displayed number (to its new number)- ``machine``: configure ``machine``
- ``options``: configure current machine options
- (One 'set machine' command per installed ``machine`` plugin)
- ``system``: configure ``system``- (One 'set system' command per installed ``system`` plugin)
- ``configure``: Plover configuration commands (changes reload dictionaries)
- ``space_placement``: (Before Output|After Output)
- ``start_attached``: (True|False)
- ``start_capitalized``: (True|False)
- ``undo_levels``: Number of undo levels
- ``log_file_name``: Name of the log file
- ``enable_stroke_logging``: Enable/Disable stroke logging
- ``enable_translation_logging``: Enable/Disable translation logging
- ``auto_start``: If 'True' enable Plover output on start-up
- ``extensions``: Enable/Disable extension commands- (One 'toggle extension' command per installed ``extension`` plugin)
- ``colors``: set ``console_ui`` colors
These commands take `web color names
`_
Color hexes are also supported (e.g. ``#ffffff`` for white)
(Note: not all terminals support all colors)
- ``foreground``: set foreground color
- ``background``: set background color- ``loglevel``: configure which Plover log messages will get printed to ``console_ui``
- ``WARNING``: any logs at ``WARNING`` or above will be printed
- ``CRITICAL``: any logs at ``CRITICAL`` or above will be printed
- ``ERROR``: any logs at ``ERROR`` or above will be printed
- ``INFO``: any logs at ``INFO`` or above will be printed
- ``DEBUG``: any logs at ``DEBUG`` or above will be printed- ``exit``: exits ``console_ui`` (and Plover)
############
Contributing
############Head to the `open source repository `_
Issues + PRs welcome!