Skip to main content

Video Man Pages

Project description

:shipit: vman

:bookmark: Table of contents

  1. About
  2. Installation
  3. Usage
  4. Options
  5. Files
  6. Supported Creators
  7. Notes
  8. The 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)

sudo apt-get install python3 python3-pip python3-setuptools pipx
pipx ensurepath

:snake: Option 1: Pypi

pipx install vman

:hand: Option 2: Git repository (Still connects to Pypi)

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

vman ls -a distrotube

Change media player (by default it uses xdg-open)

vman ls -p mpv

Pipe URL to a different program + verbose

vman ls --only-url --verbose | xargs librewolf

:gear: Options

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 vman/config.toml example:

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 vman/urls.json but you can modify the location.

{
    "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

Licensed under :link: GPLv3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vman-0.0.36.tar.gz (21.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vman-0.0.36-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file vman-0.0.36.tar.gz.

File metadata

  • Download URL: vman-0.0.36.tar.gz
  • Upload date:
  • Size: 21.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for vman-0.0.36.tar.gz
Algorithm Hash digest
SHA256 9f290ebccee8da7220e4ace029b820a2ac65d0b746a1a8d55c48c4815060f43a
MD5 c40f9ddacb33a75793e8ab8e38b1a816
BLAKE2b-256 ffcdaafd98919c85790e5277ec6a3b1f13825a5da353e0f7ea9f6d00e0ca878e

See more details on using hashes here.

File details

Details for the file vman-0.0.36-py3-none-any.whl.

File metadata

  • Download URL: vman-0.0.36-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for vman-0.0.36-py3-none-any.whl
Algorithm Hash digest
SHA256 6f743eca91f8864cc05e573ac0bc38dabf75379e30bacd811c121375a6d85131
MD5 895a5033509af72af510ab869caedfb6
BLAKE2b-256 76a5ee5cbc09ca500ff3b3e76d15ac38838683775bebf7be42b9deddf7ab9533

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page