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 src/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 src/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.37.tar.gz (23.7 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.37-py3-none-any.whl (24.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vman-0.0.37.tar.gz
  • Upload date:
  • Size: 23.7 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.37.tar.gz
Algorithm Hash digest
SHA256 85b6949ea377007596ed976d621dbcc8acc095b52b38313586011f59800e8828
MD5 e063d2c76cb16af2954054b469b7c12a
BLAKE2b-256 ca8823c84f632e94730caba237d255d03973d7f221d60885e5a1ce1e049a1bf4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vman-0.0.37-py3-none-any.whl
  • Upload date:
  • Size: 24.2 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.37-py3-none-any.whl
Algorithm Hash digest
SHA256 d8a21f51078b3cd3c47b152d0e1fc9fff9f640538e41fbcef4380f60faa71c22
MD5 20cc78ba28c5d63ba76e1a004eb79921
BLAKE2b-256 d08329e041f37ce7a8f93cff55412a45b126e2ce996d4a81100419baed69f89c

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