a config manager for linux/unix systems
Project description
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
- elevated editing -
:suopens the selected file with root via polkit - remote profiles -
:device <host>mounts and browses another machine's tracked configs over sshfs - live preview pane - toggle a side-by-side file preview with
p - built-in themes - catppuccin, dracula, gruvbox, nord, tokyo-night, one-dark, switch with
:theme - 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 required 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 for core functionality, no ranger, no external tools.
two commands need optional system tools:
:device(remote profiles) needssshfsinstalled:su(elevated editing) needspkexec(polkit), and for use with:device,user_allow_otherset in/etc/fuse.confon your local machine
confy will tell you clearly if either is missing rather than crashing.
usage
just run confy in your terminal
navigation
j/korarrow keys- move up/downenter- open file in $EDITOR (or toggle group)space- toggle group expand/collapsep- toggle live preview pane/- search mode:- command modeq- 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:su- open selected file with root via pkexec (needs polkit)
remote profiles
:device <host>or:ssh <host>- mount and browse a remote host's tracked configs over sshfs (accepts an~/.ssh/configalias or a literaluser@host):device local- switch back to your local configs:device(no args) - show the currently active device, if any
appearance
:theme <name>- switch color theme (catppuccin,dracula,gruvbox,nord,tokyo-night,one-dark):theme(no args) - list available themes
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).
themes
confy ships with six built-in themes: catppuccin (default), dracula, gruvbox, nord, tokyo-night, and one-dark. switch with:
:theme dracula
this applies instantly and persists to config.json, no restart needed. run :theme with no arguments to list all available themes.
preview pane
press p to toggle a live preview pane alongside your file list. it shows the first lines of the selected file, updating as you move the selection. the preview reads through the same path resolution as everything else, so it works correctly on a mounted :device too. your preference persists across restarts.
remote profiles (:device)
:device <host> mounts a remote machine's entire filesystem over sshfs and switches confy's view to that host's tracked configs, letting you browse and edit them exactly like local files.
:device phluxjr # resolves an alias from ~/.ssh/config
:device phluxjr@exam.ple # or connect directly
:device local # switch back to your own configs
requires sshfs installed locally. if the remote host is running an older confy that predates config.json (i.e. still on tracked.json), confy will refuse to connect and ask you to update confy there first, rather than guessing at an incompatible format.
while on a device, the header shows [remote: <host>] so it's always clear you're not looking at your local files. edits, previews, sorting, and rollback all operate on the real remote files through the mount.
elevated editing (:su)
select a file and run :su to open it with root, via pkexec. this works on local files and on files viewed through a mounted :device alike, since pkexec just elevates whatever local path is currently in view.
on a mounted device, this is genuinely useful: sshfs presents remote files under your own uid, so root-owned remote files (like /etc/pf.conf) may be unreadable/unwritable normally. :su gives you local root, which can write through the mount even when your regular user can't.
this needs pkexec (polkit) installed. for :su to work while a device is mounted, your local machine also needs user_allow_other uncommented in /etc/fuse.conf (a one-time system config change, confy will tell you if it's missing and reconnecting the device is enough to pick it up after you set it).
search mode
press / to enter search mode, then start typing:
- filters both files and groups in real-time
- case-insensitive matching
enterto accept and keep filteringescto 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,
"theme": "catppuccin",
"colors": {
"bg": "default",
"fg": "default",
"highlight": "#cba6f7",
"group": "#89b4fa"
}
},
"preview_enabled": false
}
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
# switch to a nicer theme
:theme tokyo-night
# toggle a live preview while browsing
p
# check on your server's system configs
:device phluxjr
:su # edit a root-owned file like /etc/pf.conf
:device local # back to your own machine
tips
- set
export EDITOR=nvimin your shell rc for your preferred editor - use groups to organize by application (hyprland/, nvim/, kitty/)
- use
:sort dateto 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
:device and :su rely on sshfs/FUSE and polkit, both linux-specific, so they're not available on windows or macos. everything else works cross-platform.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file confy_tui-3.0.0.tar.gz.
File metadata
- Download URL: confy_tui-3.0.0.tar.gz
- Upload date:
- Size: 49.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0dfec253da79afcd59b9ac215027e24e16852636878c6e93e6a2de9b4a533e4e
|
|
| MD5 |
8ed1d70cda014f2f5e88859fa4c9bf50
|
|
| BLAKE2b-256 |
1b1bc692bfe0a7d8600c18a6c259999feee5652dc7e070b28a33bef32abbc75f
|
File details
Details for the file confy_tui-3.0.0-py3-none-any.whl.
File metadata
- Download URL: confy_tui-3.0.0-py3-none-any.whl
- Upload date:
- Size: 21.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7a70f0470033b164bbdaae5914cba21604595ef968866153fc249cd7f44a96b
|
|
| MD5 |
0390df244d7d0f2db46a2a9e5b456612
|
|
| BLAKE2b-256 |
b61913db9cdecd587d47971193b6013feb56cb7bc0628704ee07484f82c3151a
|