Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psprint/n-commodore
A next-generation file manager
https://github.com/psprint/n-commodore
command-line file-management file-manager filemanager persistence terminal tui-app
Last synced: about 2 months ago
JSON representation
A next-generation file manager
- Host: GitHub
- URL: https://github.com/psprint/n-commodore
- Owner: psprint
- License: agpl-3.0
- Created: 2023-04-06T16:25:24.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-08-05T12:05:02.000Z (11 months ago)
- Last Synced: 2024-01-26T17:03:22.749Z (5 months ago)
- Topics: command-line, file-management, file-manager, filemanager, persistence, terminal, tui-app
- Language: Shell
- Homepage:
- Size: 1.47 MB
- Stars: 39
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Lists
- cli-apps - N-Commodore - A novel file manager/shell/command-line, where everything is panelized, greppable and remembered. (<a name="shells"></a>Shells)
- awesome-cli-apps - N-Commodore - A novel file manager/shell/command-line, where everything is panelized, greppable and remembered. (<a name="shells"></a>Shells)
README
[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=D6XDCHDSBDSDG)
**Table of Contents** *generated with [DocToc](https://github.com/thlorenz/doctoc)*
- [N-Commodore – a novel file manager/shell/command-line](#n-commodore--a-novel-file-managershellcommand-line)
- [More in-depth explanation](#more-in-depth-explanation)
- [Asciicast](#asciicast)
- [Installation](#installation)# N-Commodore – a novel file manager/shell/command-line
A new approach to the command line:
- it’s a merge of Midnight Commander and command line,
- … because everything is panelized, greppable and remembered,
- you enter commands like ls, mv, cp, cat and have their output captured, always,
- then you can save the output via Ctrl-X (to a GDBM database) and visit it back with Ctrl-Shift-Left/Right,
- the screen save includes complete state like: current working directory, grep keywords, cursor position, etc.I’m hoping that it’ll gain some attention, because by accident I might have discovered a fully novel, unprecedented approach to file managers/command line.
Pressing `ENTER` on any line will open `$VISUAL` / `$EDITOR` / `$PAGER` scrolled to
that line (if in file preview, otherwise, if poiting to the file, it will just open the file in editor).Any view can be greped – `n-commodore` starts with search prompt active, so you
can enter the search-keyword to have either files, file preview, or previous com
mands (views F1, F2, F3) filtered with it. Multiple keywords are allowed.# More in-depth explanation
Basically it's about 3 factors:
- panelize everything,
- grep everything,
- save everything.Panelization is known from Midnight Commander - it means to capture command output into a list that can be browsed. Grepping is known from fzf. Screen saving is a new paradigm
You basically have new screen (a greppable panel) for each new command, which is saved to the disk (GDBM), and which can be fetched/navigated to, having also PWD dir and position in panel restored.
# Asciicast
[![asciicast](https://asciinema.org/a/578349.svg)](https://asciinema.org/a/578349)
# Installation
**NEW**: AppImages are [available](https://github.com/psprint/n-commodore/releases).Clone the repo and symlink `$PWD/bin/n-c` (full path) to a directory in your `$PATH`, like `/usr/local/bin`, After this, run `n-c` for the file manager.
… or, if using Zsh, load the plugin file `n-commdore.plugin.zsh` either directly
(`source …`) or via a plugin manager, like zinit
(`zinit for psprint/n-commodore`). This creates a `nc` alias which you can use
to start the file manager. You can define a variable `NC_NO_NICKNAME_CMD=1` to
skip alias creation.