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

https://github.com/sivefunc/vman

Vman - Video Man Pages from the Terminal
https://github.com/sivefunc/vman

json linux manpages python videos vman

Last synced: 3 months ago
JSON representation

Vman - Video Man Pages from the Terminal

Awesome Lists containing this project

README

          

# :shipit: vman



Drawing of a book with a diploma



# :bookmark: Table of contents
1. [About](#about)
2. [Installation](#installation)
3. [Usage](#usage)
4. [Options](#options)
5. [Files](#files)
6. [Supported Creators](#creators)
7. [Notes](#notes)
8. [The End](#end)

## :question: About
vman is a small but configurable CLI program to open helpful videos about linux utility commands from a variety of creators using the default media player in the system.

## :file_folder: Installation

### :penguin: Binary dependencies (Debian)
```sh
sudo apt-get install python3 python3-pip python3-setuptools pipx
```
```sh
pipx ensurepath
```

### :snake: Option 1: Pypi
```sh
pipx install vman
```

### :hand: Option 2: Git repository (Still connects to Pypi)
```sh
pipx install git+https://github.com/sivefunc/vman.git
```

## :computer: Usage
usage: vman [video] [author] [options]

vman - Video Man Pages

### Open a video from distrotube
```sh
vman ls -a distrotube
```

### Change media player (by default it uses xdg-open)
```sh
vman ls -p mpv
```

### Pipe URL to a different program + verbose
```sh
vman ls --only-url --verbose | xargs librewolf
```

## :gear: Options
```sh
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-a AUTHOR, --author AUTHOR
Author of the video to consult, e.g 'roberteldersoftware'
-p PATH, --player PATH
Path to media player to use instead of the one defined in config
--only-url Do not reproduce the video, returns the url
--urls List all the video manuals in JSON format
--verbose Detailed output at console
```

## :file_folder: Files
### Config File
TOML file that allows the user to modify the default options, e.g the media player.
It's located at src/vman/config.toml
example:
```toml
media_player = "xdg-open"
author = "distrotube"

[custom-urls]
enabled = false
path = ""
```

### URLS File
JSON File that maps an author to a collection of videos.
It's located at src/vman/urls.json but you can modify the location.
```json
{
"distrotube": {
"ls": "https://www.youtube.com/watch?v=T-4Q7i6mNeM"
},
"roberteldersoftware": {
"nice": "https://www.youtube.com/shorts/uuCYq64Ww7o",
"fmt": "https://www.youtube.com/shorts/SyylpFY_eSg"
}
}
```

## :camera: Supported Creators


Name
Profile Picture


DistroTube







RobertElderSoftware






## :notebook: Notes
- CLI Options have higher precedency than config.toml


## Made by :link: [Sivefunc](https://github.com/sivefunc)
## Licensed under :link: [GPLv3](https://github.com/sivefunc/vman/blob/master/LICENSE)