Skip to main content

Terminal-first file navigator and FSCP automation workbench built with Textual.

Project description

Release Python License CI Status


About

FERP is a terminal-friendly file manager and automation workbench. It combines an interactive file navigator and a protocol-driven script runner so you can explore directories and execute repeatable workflows through a TUI—without requiring terminal knowledge.

Highlights

  • Keyboard-first navigation
    • A full list of keys are available in the app.
  • Context panes
    • Script list reads from the user config config.json (platformdirs).
    • Output panel streams FSCP results and records transcripts under the user data logs directory.
    • README modal (Enter on a script) displays bundled documentation.
  • Visual mode (multi-select)
    • Select multiple items in the file navigator, including range selection.
    • Copy, move, paste, and delete selected files or folders without running scripts.
    • Scripts/output panels are disabled while visual mode is active.
  • Managed script runtime
    • Scripts execute via the FSCP host ↔ script protocol.
    • Interactive prompts, confirmations, progress, and structured results are supported.
    • Logs are timestamped and automatically pruned (default 50 files / 14 days).

Quick Start

pipx install ferp

[!NOTE] To use the default scripts, open the command palette (Ctrl+P) and select Install/Update Default Scripts.

[!WARNING] This option is intended for specific users. It will remove any existing scripts you have installed.

If you prefer to install scripts individually, or to use your own custom scripts, see FSCP.

Configuring Scripts

Scripts are declared in your user config config.json (created on first script install). Each entry defines:

  • script: path to the executable (e.g. scripts/ferp.zip_dir/script.py).
  • target: current_directory, highlighted_file, or highlighted_directory.
  • file_extensions: optional list of suffixes (for highlighted_file targets).
  • Optional README at scripts/<id>/readme.md.

Each script lives under scripts/<id>/ (the directory name matches the fully-qualified ID, such as ferp.zip_dir). Inside the directory:

  • script.py contains the executable FSCP script.
  • readme.md provides the optional documentation shown inside FER​P.

Namespaces are only required for bundled/default scripts and for the repo dev setup. Custom scripts can stay in the single user config.json without a namespace.

Dev toggle for script config

During development you can point FER​P at the repo copy of ferp/scripts/config.json instead of the user config file:

FERP_DEV_CONFIG=1 textual run --dev ferp/app.py

When enabled, FER​P reads the repo configs directly: ferp/scripts/config.json plus any ferp/scripts/<namespace>/config.json files, and skips the one-time copy into the user config directory. Script update notifications are suppressed while FERP_DEV_CONFIG=1 is set.

Scripts that log data with debug level are skipped by default. You can enable these logs by adding the debug flag:

FERP_DEV_CONFIG=1 FERP_SCRIPT_LOG_LEVEL=debug textual run --dev ferp/app.py

Configuration

FERP uses two configuration layers:

  • Runtime config (env): FERP_* environment variables (preferred for automation).
  • User settings (file): settings.json in the user config directory (managed by the app).

Precedence order: env -> settings.json -> defaults.

Runtime env vars:

  • FERP_DEV_CONFIG=1 to read script configs from the repo during development.
  • FERP_SCRIPT_LOG_LEVEL=debug to include debug logs from FSCP scripts.

You can inspect the resolved configuration with:

ferp print-config

Settings are versioned with schemaVersion and automatically normalized on load. If an upgrade is detected, a backup is created next to settings.json with a settings.bak-YYYYMMDDHHMMSS.json suffix.

Logs are separated by type under the user data directory:

  • logs/host/host.log for UI/host application logs.
  • logs/scripts/ for per-script transcript logs.

Error Codes

When operations fail, FER​P emits structured error codes for easier support and troubleshooting. Example codes you may see:

  • release_metadata_failed, release_asset_download_failed
  • namespaces_missing_list, namespaces_missing_namespace
  • monday_api_error, monday_board_not_found

Authoring FSCP Scripts

Python scripts executed from FER​P speak the FSCP protocol. See SCRIPT_AUTHORS.md for the SDK guide, examples, logging, cancellation, cleanup, and packaging details.

Terminal Commands

FERP opens your system terminal in the current directory (shown in the top bar).

  • Open a terminal using Ctrl+t.
  • The spawned terminal inherits the current working directory.
  • On Windows system, prefers PowerShell and falls back to CommandPrompt.

Task List

FERP includes a lightweight task list for quick capture and review.

  • Press t to add a task from anywhere in the UI.
  • Press l to open the task list and review or mark tasks as complete.
  • Tag tasks with @ for text highlighting and filtering.
  • Toggle completion status with the space bar.
  • The task status indicator updates automatically as tasks are completed.

Other Features

  • Default script updates: Pull the latest default scripts from the release feed (suppressed in dev mode).
  • Process list: View and stop running scripts from the command palette.
  • Tasks: Capture quick tasks and review them in the task list.
  • Themes: Switch themes from the command palette.
  • Startup directory: Set the default path Ferp opens on launch.
  • Logs: Open the latest transcript log from the command palette.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ferp-0.10.0.tar.gz (105.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ferp-0.10.0-py3-none-any.whl (130.8 kB view details)

Uploaded Python 3

File details

Details for the file ferp-0.10.0.tar.gz.

File metadata

  • Download URL: ferp-0.10.0.tar.gz
  • Upload date:
  • Size: 105.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ferp-0.10.0.tar.gz
Algorithm Hash digest
SHA256 183de37edf4588e73683084d98fb91b849fa93d1ea667621b8bee3748de7c3ed
MD5 8eac34cda2e5bf58935b38c58bc21713
BLAKE2b-256 1ba59f0ad63cc43b9cdaeea9055373ba9b9f38277f75669b8537656d0c9e8df9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ferp-0.10.0.tar.gz:

Publisher: publish.yml on zappbrandigan/ferp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ferp-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: ferp-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 130.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ferp-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66b9e6348a227bea2ded7a2f56881d1745b25c09767248dc5a0928ec2974f78e
MD5 c55535afa25bf6441fff9f1fe364cf86
BLAKE2b-256 8d157b8aabc887d2f239b0a75b6e1e79d6b9af6cd7bc7e3a3230206966059f68

See more details on using hashes here.

Provenance

The following attestation bundles were made for ferp-0.10.0-py3-none-any.whl:

Publisher: publish.yml on zappbrandigan/ferp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page