File Conductor TUI app in Go
Find a file
2025-11-02 21:45:38 +01:00
internal Upload to forge 2025-11-02 21:45:38 +01:00
.gitignore Initial commit 2025-09-30 20:36:06 +02:00
.golangci.yml Initial commit 2025-09-30 20:36:06 +02:00
boxdrawing.txt Upload to forge 2025-11-02 21:45:38 +01:00
go.mod What the hell 2025-10-01 13:35:48 +02:00
go.sum What the hell 2025-10-01 13:35:48 +02:00
main.go Upload to forge 2025-11-02 21:45:38 +01:00
README.md Another dead end 2025-09-30 22:45:51 +02:00

Prompts

Create an initial version of a terminal UI file manager for Windows systems in Go (Golang) using the tview library.

The only feature required at first is to list files and directories in the current working directory. It should list ".." if the current directory is not the root directory. On navigating to ".." it should go to the parent directory. Layout: two panels, both should be able to view file lists separately. The file manager will be super flexible, there will be internal commands bound to keys, and users will be able to bind their own commands to keys.

Commands like:

  • move up or down in the file list
  • move up or down while the file list is scrolling but the cursors position stays the same
  • "execute", which will be context-sensitive, for example, if a directory is selected, it will navigate into that directory, if a file is selected, it will open the file with the default application for that file type

There will be plugins as well, which could hook into any action, before of after and modify the behavior. There can be plugins which provide scripting capabilities, for example, a plugin which allows users to write scripts in Typescript or Lua to automate tasks or modify the behavior of the file manager. Plugins can also register new commands, which can be bound to keys. There should be a "command palette", which can be opened with a key or key combination, for example, F2, which will show a list of all available commands and allow the user to search and execute them (also display the key bound to it).

Keyboard handling: rich Windows keyboard support, various combinations of control, alt, shift, function keys, etc.

There will be extensive configuration options, for example, to change the layout, colors, key bindings, etc.

Create the directory structure with respect to above plan.

Start small and iterate, adding more features and complexity over time.


Create a TUI application based on bubbletea library (golang).

This application should display two panels next to each other, both panels display a list of items in a table view.

Fill up with dummy data for now, 4-10 items per panel.

Panels should be drawn with double borders, column separators with single border, color theme: teal/cyan on dark blue.