An 0x0.st uploader helper.
Go to file
grym 0438af9895 Simplify project layout, re-add support for python 3.7 2022-12-01 12:08:16 -05:00
tests Simplify project layout, re-add support for python 3.7 2022-12-01 12:08:16 -05:00
.gitignore Drop poetry 2022-02-18 10:20:56 -05:00
.pre-commit-config.yaml Simplify project layout, re-add support for python 3.7 2022-12-01 12:08:16 -05:00
Makefile Simplify project layout, re-add support for python 3.7 2022-12-01 12:08:16 -05:00
README.org Update docs 2022-04-29 11:48:09 -04:00
oxo.py Simplify project layout, re-add support for python 3.7 2022-12-01 12:08:16 -05:00
pyproject.toml Simplify project layout, re-add support for python 3.7 2022-12-01 12:08:16 -05:00

README.org

0x0 uploader

This is a very lightweight front-end to the 0x0 pastebin service for slightly easier command line use.

Installation

pipx

pipx install git+https://tildegit.org/grym/oxo

pip

  python3 -m venv oxovenv
  oxovenv/bin/pip install git+https://tildegit.org/grym/oxo
  ln -s oxovenv/bin/oxo ${HOME}/.local/bin # optional.

development

  git clone https://tildegit.org/grym/oxo
  cd oxo
  python -m venv ./venv
  ./venv/bin/python -m pip install --upgrade pip setuptools wheel
  ./venv/bin/python -m pip install -e '.[dev]'

Use

Each of the three endpoints supported by 0x0 has an associated subcommand.

Usage: oxo [OPTIONS] COMMAND [ARGS]...

Options:
  --install-completion  Install completion for the
                        current shell.

  --show-completion     Show completion for the
                        current shell, to copy it
                        or customize the
                        installation.

  --help                Show this message and
                        exit.


Commands:
  files    Upload one or more files.
  repost   Repost one or more urls.
  shorten  Shorten one or more urls.