1
0
Fork
You've already forked xmpp2bbcode
0
Converts from XMPP input into BBCode output.
This repository has been archived on 2022年02月16日. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 100%
2022年02月16日 09:00:24 -03:00
README.md Adds README.md 2022年02月16日 09:00:24 -03:00
xmpp2bbcode Renames the script 2022年02月16日 08:23:44 -03:00

xmpp2bbcode

xmpp2bbcode is a program that converts from XMPP input into BBCode output.

Installation

  1. In a Debian-based distribution, install the dependencies with:
    sudo apt install python3
    
  2. Download the script.
  3. Make it executable: chmod +x /path/to/xmpp2bbcode
  4. Place it somewhere in your $PATH, for example, by doing mv /path/to/xmpp2bbcode ~/.local/bin/

Usage

usage: xmpp2bbcode [-h] -i <input_file> [-o <output_file>] -t <pattern> [-v]
Converts from XMPP input into BBCode output.
optional arguments:
 -h, --help show this help message and exit
 -i <input_file>, --input <input_file>
 input file to parse, containing text pasted from any
 supported XMPP client.
 -o <output_file>, --output <output_file>
 output file to write parsed string. If ommited, prints
 the parsed file
 -t <pattern>, --timestamp-pattern <pattern>
 timestamp pattern. Example: "(00:00) "
 -v, --version show version and exit
Supported clients are: Gajim, Pidgin.

Contribution

Feel free to contribute with issues and pull requests!