Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/mihaigalos/skim-navi

🏛 A friendlier skim façade.
https://github.com/mihaigalos/skim-navi

Last synced: 3 days ago
JSON representation

🏛 A friendlier skim façade.

Awesome Lists containing this project

README

        

# skim-navi
[![CD-auto](https://github.com/mihaigalos/skim-navi/actions/workflows/cd-auto.yaml/badge.svg)](https://github.com/mihaigalos/skim-navi/actions/workflows/cd-auto.yaml)
[![crates.io](https://img.shields.io/crates/d/skim-navi.svg)](https://crates.io/crates/skim-navi)
[![LoC](https://tokei.rs/b1/github/mihaigalos/skim-navi)](https://github.com/mihaigalos/skim-navi)

A friendlier skim façade.

## Why?

[`skim`](https://github.com/lotabout/skim) is fiddly to use when i.e. navigating a tree hierarchy.

`skim-navi` addresses that.

## Usage

Implement the following async function and call `skim-navi::Navi::run()` with it:

```rust
pub async fn get_links(input: String) -> Result, Error>
```

This represents the handler that gets called on each navigation update (i.e.: changing folders), and can even talk to a remote backend.

You can find a further examples in the [`examples`](https://github.com/mihaigalos/skim-navi/tree/main/examples) folder.