An open API service indexing awesome lists of open source software.

https://github.com/mskrasnov/f

f is very simple and stupid file manager for UNIX-based OS. Written just for learning Rust and Linux, don't take the project as something serious. It's a common student shitcode.
https://github.com/mskrasnov/f

console file-manager files linux ratatui rust shit shitty-code unix

Last synced: about 1 year ago
JSON representation

f is very simple and stupid file manager for UNIX-based OS. Written just for learning Rust and Linux, don't take the project as something serious. It's a common student shitcode.

Awesome Lists containing this project

README

          

# f

f - very simple, stupid (yet) and bloat console file manager for UNIX systems. Written just for learning Rust and Linux, don't take the project as something serious. It's a common student craft.

![](assets/v0.1.0-07.02.25.png)

## Features

- [X] View directory contents, navigates beetwen directories;
- [X] Removing files;
- [ ] Copying files;
- [ ] Moving/renaming files;
- [ ] View information about file;
- [ ] Creating directories and files;
- [ ] Formatting disks (need `root` permissions);
- [X] Color schemes;

## Interface

The interface is divided into two panels: the first panel contains a list of files in the current directory, the second panel displays information about the file and the `f` file manager.

### Usage

**Hotkeys:**

- F8 - force delete file;
- Del - delete file to recycle bin;

- F10, q, й - exit `f`;

- ~ - go to the home directory (`~`);
- / - go to the root directory (`/`);
- . - show hidden files;

## Build & install

### Dependencies

- Rust toolchain (`rustc`, `cargo`);
- `git`;
- Bash or bash-compatible shell (`/bin/sh` must be a link to it);

### Local build

- Get the source code:

```bash
git clone https://github.com/mskrasnov/f/
cd f
```

- Build:

```bash
cargo build --release
```

- Install:

```bash
export F_BIN_DIR="$HOME/.local/bin/"
cp -v ./target/release/f $F_BIN_DIR
export PATH=$PATH:$F_BIN_DIR
```

## Technology stack

- **OS:** UNIX-like (for now there are only Linux builds; support for other UNIX-like OS depending on their support for rust stdlib and some other OS-specific libraries used in `f`);
- **Programming language:** Rust; POSIX Shell;
- **User interface:** TUI via [ratatui](https://ratatui.rs);
- **User languages:** English; Russian (coming soon) via `fluent`;

## License

`f` is distributed under the MIT license.