Skip to main content

a config manager for linux/unix systems

Project description

confy logo

confy

a config manager for linux/unix based systems including macos (unix) and windows.

simple tui for keeping track of all your config files in one place. no more hunting through ~/.config.


features

  • organize with groups - create folders to organize your configs (hyprland/, nvim/, etc)
  • collapsible groups - expand/collapse groups to keep your view clean
  • search - real-time fuzzy search through all your configs
  • multiple sort modes - sort by name, date modified, or file size
  • open in $EDITOR - edit files with one keypress
  • remembers last file - quick access to recently edited configs
  • built-in file picker - no external dependencies, navigate with vim keys
  • rollback - automatic compressed backups before every edit, restore with :rb
  • custom colors - set colors via config.json, supports hex and named colors
  • vim-style keybinds - j/k navigation, command mode
  • lightweight and fast - pure python with curses, zero dependencies
  • cross-platform - works on linux, macos, bsd, windows

installation

from AUR (arch linux)

yay -S confy-tui

manual install

git clone https://gitlab.com/phluxjr/confy.git
cd confy
chmod +x main.py
sudo ln -s $(pwd)/main.py /usr/local/bin/confy
# optionally install the man page
sudo install -Dm644 confy.1 /usr/share/man/man1/confy.1

dependencies

  • python3
  • curses (included with python)

that's it. no ranger, no external tools.

usage

just run confy in your terminal

navigation

  • j/k or arrow keys - move up/down
  • enter - open file in $EDITOR (or toggle group)
  • space - toggle group expand/collapse
  • / - search mode
  • : - command mode
  • q - quit

commands

file management

  • :ac - add config to ungrouped
  • :ac <group> - add config to specific group
  • :rm - remove selected file from tracking (does not delete the file)
  • :l - open last edited file
  • :rb - rollback selected file to last backup

group management

  • :ag <group> - add new group
  • :mg <group> - move selected file to group
  • :rg <group> - remove group (moves files to ungrouped)

sorting & filtering

  • :sort name - sort alphabetically
  • :sort date - sort by last modified
  • :sort size - sort by file size
  • :reverse - toggle ascending/descending order
  • / then type - search files and groups in real-time

configuration

  • :cd - change config directory (opens built-in file picker)
  • :cd reset - reset to ~/.config
  • :q - quit

rollback

confy automatically saves a compressed backup of any file to /tmp/<filename>.confbak before you open it for editing. if you make a mess of your config, select the file and run :rb to restore it.

rollback can be disabled in config.json:

"settings": {
  "rollback": false
}

colors

customize colors in ~/.config/confy/config.json under settings.colors. values can be named colors or hex codes:

"settings": {
  "colors": {
    "bg":        "default",
    "fg":        "default",
    "highlight": "#cba6f7",
    "group":     "#89b4fa"
  }
}

named colors: black, red, green, yellow, blue, magenta, cyan, white, default, lavender, pink, purple, orange

hex colors require a terminal that supports 256 colors (most do).

search mode

press / to enter search mode, then start typing:

  • filters both files and groups in real-time
  • case-insensitive matching
  • enter to accept and keep filtering
  • esc to clear search and show all files

groups

groups are purely organizational - your actual config files stay in their original locations. groups help you organize your tracked configs into logical categories like "hyprland", "nvim", "shell", etc.

groups are collapsible - press space or enter on a group header to toggle.

configuration file

confy stores everything in ~/.config/confy/config.json. if you're upgrading from an older version with tracked.json, confy will automatically migrate it on first run.

full example config.json:

{
  "groups": {
    "ungrouped": [],
    "hyprland": ["/home/user/.config/hypr/hyprland.conf"],
    "nvim": ["/home/user/.config/nvim/init.lua"]
  },
  "settings": {
    "rollback": true,
    "colors": {
      "bg": "default",
      "fg": "default",
      "highlight": "#cba6f7",
      "group": "#89b4fa"
    }
  }
}

why confy?

tired of doing cd ~/.config/whatever a million times a day? same. confy keeps all your important configs in one list so you can jump to them instantly.

organize related configs into groups, search through everything, sort however you want, and open files in your editor with a single keypress. if you break something, roll it back.

simple, fast, does one thing well.

examples

# start confy
confy

# create some groups
:ag hyprland
:ag nvim
:ag shell

# add configs to groups
:ac hyprland  # opens file picker, navigate to hyprland.conf
:ac nvim      # opens file picker, navigate to init.lua

# move existing files between groups
# (select file first, then)
:mg shell

# search for configs
/hypr         # shows only hyprland-related files

# sort by recently modified
:sort date
:reverse      # newest first

# oops, broke your config
:rb           # rollback to last backup

tips

  • set export EDITOR=nvim in your shell rc for your preferred editor
  • use groups to organize by application (hyprland/, nvim/, kitty/)
  • use :sort date to quickly find recently edited configs
  • search with / to quickly jump to specific configs
  • collapse groups you don't use often to keep view clean
  • missing files show up in red so you know when a config has moved

windows support

on windows, change the config directory to where you keep your configs:

:cd
# navigate to C:\Users\YourName\AppData\Local or wherever

copyright © 2025-2026 phluxjr
GPL-3.0-or-later

prs welcome! this is a simple tool but if you have ideas for improvements, open an issue or submit a pr.

man page included - man confy after install

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

confy_tui-2.1.2.tar.gz (31.3 kB view details)

Uploaded Source

Built Distribution

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

confy_tui-2.1.2-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file confy_tui-2.1.2.tar.gz.

File metadata

  • Download URL: confy_tui-2.1.2.tar.gz
  • Upload date:
  • Size: 31.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for confy_tui-2.1.2.tar.gz
Algorithm Hash digest
SHA256 a5659ff035994175c9333c9740f08c398f3eb2a2fb832c28869d2e1134f22a9e
MD5 d81ca46e15df94f19c71e7bfa00f22ef
BLAKE2b-256 1d81bd4360a6f7f39e03db851faf2dbb2e6ea0514a267fe2f0f38565efe73dad

See more details on using hashes here.

File details

Details for the file confy_tui-2.1.2-py3-none-any.whl.

File metadata

  • Download URL: confy_tui-2.1.2-py3-none-any.whl
  • Upload date:
  • Size: 12.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for confy_tui-2.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e116b7ab286772c796027fbeb59eb1fd9db36bea1bbc6947e893e39132d6b54e
MD5 961174fab7afa1151accd3d8e7db1c56
BLAKE2b-256 18d282cc1f1819e4a3a6146c954d36f2085058ca45ab508c96dcd15661db236d

See more details on using hashes here.

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