#api-management

app edc-connector-tui

A TUI client for EDC management APIs

9 releases

0.1.8 Oct 14, 2024
0.1.7 Sep 30, 2024

#3 in #api-management

Download history 562/week @ 2024-09-23 426/week @ 2024-09-30 11/week @ 2024-10-07 203/week @ 2024-10-14

1,202 downloads per month

Apache-2.0

780KB
4K SLoC

EDC Connector TUI

A TUI client for EDC.

Demo Animation

Install

Fetch a latest release here

or install with cargo

cargo install edc-connector-tui

Run

The TUI client can either run with a single connector configured via cli args:

edc-connector-tui connector --url http://localhost:29193/management --token 123456

or if no args provided it will try to read connectors configuration from the file at ~/.config/edc-connector-tui/config.toml

The file should contain the list of configured connectors:

[[connectors]]
name="FirstConnector"
address="http://localhost:29193/management"
auth= { type = "token", token_alias = "connector_alias" }

[[connectors]]
name="SecondConnector"
address="http://myconnector.xyz/management"

The token_alias is used to fetch the actual token from the system keyring for the service edc-connector-tui.

For configuration above the token could be set with secret-tool on Linux:

secret-tool store --label="FirstConnector" service edc-connector-tui username connector_alias

Altough edc-connector-tui builds for OSX and Windows are available, it has been only tested on Linux. Contributions are welcome for multiplatform support/testing

Dependencies

~21–39MB
~637K SLoC