Skip to content

๐Ÿ”Œ gittxt plugin Command

The plugin command allows you to list, install, run, and uninstall Gittxt extensions like the API server or Streamlit UI.


โœ… Syntax

gittxt plugin [subcommand] <plugin_name>

๐Ÿ“‹ Subcommands

Command Description
list List all available plugins and their install status
install <plugin> Install a plugin from a local template
run <plugin> Launch the plugin (installs dependencies automatically)
uninstall <plugin> Remove the plugin folder

๐Ÿงฐ Dependency Management

Each plugin manages its own dependencies via a requirements.txt file:

plugins/gittxt-api/requirements.txt
plugins/gittxt-streamlit/requirements.txt

When you run a plugin using:

gittxt plugin run gittxt-api

The tool: 1. Checks for the plugin folder. 2. Installs dependencies from requirements.txt. 3. Launches the plugin using the specified run command.

This keeps the core CLI lightweight and free of plugin-specific dependencies like FastAPI or Streamlit.


๐Ÿ“ Plugin Paths

Plugins are located inside the project under:

plugins/
โ”œโ”€โ”€ gittxt_api/
โ”œโ”€โ”€ gittxt_streamlit/

Each plugin contains its own app files and configuration.


โš ๏ธ Notes

  • CLI warns if a plugin is already installed or missing.
  • Installed plugins are sandboxed to the project directory.

๐Ÿงช Example

gittxt plugin list
gittxt plugin install gittxt-api
gittxt plugin run gittxt-api

Back: Reverse