Davcomm Toolkit Documentation

Find commands, usage examples and third-party requirements for Davcomm tools.

Third-party licences and accounts

These requirements apply when you use the listed integration. API credentials, usage fees and software licences follow each provider’s terms.

Docker Desktop

Applies to PDF Cleaner on Windows when using Docker Desktop

Paid subscription required for government use and commercial use outside Docker’s free-use terms. The small-business allowance requires fewer than 250 employees and less than US$10 million in annual revenue. Standalone Docker Engine is open source under Apache 2.0.

Docker Desktop licence terms

VirusTotal

Applies to dt_VirusCheckVirusTotalScreen

An API key is required. The public API excludes commercial products or services and business workflows that do not contribute new files. For use outside the public API terms, arrange suitable commercial access with VirusTotal.

VirusTotal API terms

Pushover

Applies to dt_NotificationPushover

Sending requires an application API token and a recipient user key. To receive notifications after the trial, the recipient needs a platform licence or coverage through Pushover for Teams.

Pushover licensing and pricing

Tesseract OCR

Applies to dt_OcrTxtTesseractTxt

Open source under Apache 2.0. No separate paid licence is required. Follow the licence terms when redistributing it.

Tesseract licence

CmdTwain

Applies to Optional third-party scanner utility

The publisher offers it free of charge. See the licence supplied with the installed version for its terms.

CmdTwain publisher FAQ

OpenAI API

Applies to Toolkit utilities with OpenAI in the command name

Requires an OpenAI API key and API access. Usage is billed separately under OpenAI’s API pricing.

OpenAI API pricing

Google Cloud Vision

Applies to Toolkit utilities with Google in the command name

Requires an enabled Cloud Vision API project with credentials and billing configured. Usage charges depend on the feature and volume.

Cloud Vision pricing

GroqCloud

Applies to Toolkit utilities with Groq in the command name

Requires a Groq API key. Groq offers a free tier and paid options with higher limits.

GroqCloud billing

LM Studio

Applies to dt_AIChatLMStudioScreen and dt_ImgQueryLMStudioScreen

The desktop app permits internal business use under its terms. Check the separate licence for each model you run, especially for commercial use.

LM Studio app terms

Telegram Bot API

Applies to Toolkit utilities with Telegram in the command name

Requires a Telegram bot token and access to the relevant chat or channel. The standard Bot API is available without a separate paid licence for ordinary use.

Telegram Bot API

View third-party downloads

Tool catalogue

File Management Tools

  • dt_CombTxtFiles

    Combine all text files in a folder to a single text file.

  • dt_LsDirTxt

    List a directory recursively and send output to a text file.

  • dt_lsDirScreen

    List a directory recursively and send output to the screen.

  • dt_EncryDecypFileScreen

    Encrypt or Decrypt a file.

  • dt_BackupFolderToZipScreen

    Backup a folder to a zip file (Allows for validation of files after zipping)

  • dt_ZipMultipleFilesScreen

    Specify Multiple files into a zip file

Email Tools

  • dt_EmlRetAttFolder

    Retrieve the attachments from an imap box and dump them into a folder.

    Third-party requirement: Email provider and IMAP access
  • dt_EmailValidationScreen

    Utility that checks if an email address domain has a mx record assosiated with it

  • dt_EmailSecurityCheckScreen

    Check if a domain is correctly secured for emails (Checks DMARC, DKIM and SPF)

Security Tools

  • dt_VirusCheckVirusTotalScreen

    Send File to VirusTotal to test against multiple antivirus engines.

    Third-party requirement: VirusTotal
  • dt_SecurityKey

    Interface to andrino security key the source code for the key will be provided.

  • dt_EncryptOrDecryptTextScreen

    Encrypt or Decrypt Text uses base64 when passing string for compatability for websites

Windows Tools

  • dt_ExtrctBitLockerDataScreen

    Print to screen all the bitlocker information o the current machine

AI Tools

  • dt_OcrTxtGoogleTxt

    OCR a document using Google Vision AI and send output to a text file.

    Third-party requirement: Google Cloud Vision
  • dt_OcrTxtGoogleScreen

    OCR a document using Google Vision AI and send output to the screen.

    Third-party requirement: Google Cloud Vision
  • dt_ImgAnalGoogleScreen

    Analyze an image and create tags using Google Vision AI, send output to screen.

    Third-party requirement: Google Cloud Vision
  • dt_ImgAnalGoogleTxt

    Analyze an image and create tags using Google Vision AI and send the output to a text file.

    Third-party requirement: Google Cloud Vision
  • dt_AiGroqScreen

    Query Groq API and send output to the screen.

    Third-party requirement: GroqCloud
  • dt_AiGroqTxt

    Query Groq API and send output to a text file.

    Third-party requirement: GroqCloud
  • dt_AIChatGroqScreen

    Query Groq API with basic memory of previous requests and send output to the screen.

    Third-party requirement: GroqCloud
  • dt_TextToSpeechGroq

    sends text to groq then relays response to windows built in voices and plays audio back

    Third-party requirement: GroqCloud
  • dt_APIKeyValidationGroqScreen

    Validate Groq API Key

    Third-party requirement: GroqCloud
  • dt_ImgQueryOpenAIScreen

    Query an image using OpenAI with a context and send the output to the screen.

    Third-party requirement: OpenAI API
  • dt_ImgDescOpenAIScreen

    Send an image to OpenAI and get a basic description of it and send it to the screen.

    Third-party requirement: OpenAI API
  • dt_AIOpenAIScreen

    Query OpenAI API and send output to the screen.

    Third-party requirement: OpenAI API
  • dt_APIKeyValidationOpenAIScreen

    Check if a OpenAi Api Key is valid or not

    Third-party requirement: OpenAI API
  • dt_AudioToTextOpenAIScreen

    Converts mp3 audio file to text.

    Third-party requirement: OpenAI API
  • dt_AIChatLMStudioScreen

    Utilize LM Studio for Local AI chat queries

    Third-party requirement: LM Studio and model licence
  • dt_ImgQueryLMStudioScreen

    Utilize LM Studio for Local AI image queries

    Third-party requirement: LM Studio and model licence
  • dt_AudioVoiceMp3OpenAIFile

    Utilize OpenAI Voices and generate audio mp3 file from text.

    Third-party requirement: OpenAI API

Image/Document Tools

  • dt_PdfToPngFile

    Convert a PDF to a PNG.

  • dt_PdfToTiffFile

    Convert a PDF to a TIFF.

  • dt_PdfEncrFile

    Encrypt a PDF with a Password.

  • dt_SplitTiffFile

    Split a TIFF File into single pages.

  • dt_OcrTxtTesseractTxt

    OCR a document using Tesseract.

    Third-party requirement: Tesseract OCR
  • dt_ImgToPNGFile

    Convert most image types to png for usage with OpenAI

  • dt_BarcodeGeneratorPng

    Barcode generation application

  • dt_QRGeneratorToPng

    QRCode Generator

Video/Audio Tools

  • dt_VideoToAudioFile

    converts video to a mp3 file

  • dt_PassiveAudio

    runs in background and when a key word activates application sends any commands afterwards to webserver for use

  • dt_SpeechToTextScreen

    activates microphone and converts audio to text

  • dt_TextToDirectAudio

    Converts Text to audio using windows built in voices and then plays audio

  • dt_TextToSpeechMp3

    Converts Text to audio using windows built in voices and converts audio to mp3

Web Tools

  • dt_WebsiteCheckScreen

    Check if a website is up or not.

Messaging Tools

  • dt_MessageTelegramPictureScreen

    Send message and image to Telegram group or individual

    Third-party requirement: Telegram Bot API
  • dt_MessageTelegramScreen

    Send message to Telegram group or individual

    Third-party requirement: Telegram Bot API
  • dt_MonitorTelegramBot

    Monitor Telegram bot for incoming messages and relay to webserver

    Third-party requirement: Telegram Bot API
  • dt_MonitorTelegramChannelScreen

    Monitor Telegram bot in specific group for incoming messages and relay to webserver

    Third-party requirement: Telegram Bot API
  • dt_NotificationPushover

    Send message via Pushover

    Third-party requirement: Pushover

Miscellaneous Tools

  • dt_TextTranslationScreen

    Autodetect language and translate to selected language.

  • dt_SerialMonitorInteractiveScreen

    Monitor Serial Com port with interactive console.

Command examples

dt_ImgQueryOpenAIScreen
usage: dt_ImgQueryOpenAIScreen.exe [-h] image_path api_key context

Analyze an image using OpenAI's GPT-4o-mini model.

positional arguments:
  image_path  Path to the image file.
  api_key     Your OpenAI API key.
  context     What do you want the AI to do with the image?

options:
  -h, --help  show this help message and exit
dt_AIChatGroqScreen
usage: dt_AIChatGroqScreen.exe [-h] [--clear] [--load LOAD]
                               [--api-key API_KEY] [--model MODEL]
                               [prompt] [message]

Groq AI Chat

positional arguments:
  prompt             The prompt to be used for the chat
  message            The message to be used for the chat

options:
  -h, --help         show this help message and exit
  --clear            Clear the chat history
  --load LOAD        Load a previous chat history from a file
  --api-key API_KEY  The Groq API key
  --model MODEL      The model to use (e.g. llama3-8b-8192, llama2-7b-512,
                     etc.)
dt_ImgDescOpenAIScreen
usage: dt_ImgDescOpenAIScreen.exe [-h] [-v] image_path api_key

Analyze an image using OpenAI's GPT-4o-mini model.

positional arguments:
  image_path     Path to the image file.
  api_key        Your OpenAI API key.

options:
  -h, --help     show this help message and exit
  -v, --verbose  Enable verbose mode
dt_VirusCheckVirusTotalScreen
usage: dt_VirusCheckVirusTotalScreen.exe [-h] --apikey APIKEY --path PATH
                                         [--workers WORKERS]

Upload files to VirusTotal.

options:
  -h, --help         show this help message and exit
  --apikey APIKEY    your VirusTotal API key
  --path PATH        path to the file/directory to upload.
  --workers WORKERS  number of concurrent workers
dt_AudioToTextOpenAIScreen
usage: dt_AudioToTextOpenAIScreen.exe [-h] [--api_key API_KEY] [--model MODEL]
                                      audio_file

Transcribe an audio file using OpenAI

positional arguments:
  audio_file         Path to the audio file to transcribe

options:
  -h, --help         show this help message and exit
  --api_key API_KEY  Your OpenAI API key
  --model MODEL      The OpenAI model to use for transcription (default:
                     whisper-1)
dt_SplitTiffFile
usage: dt_SplitTiffFile.exe [-h] [-o OUTPUT_DIR] input_file

Split a multi-page TIFF image into individual pages

positional arguments:
  input_file            Input multi-page TIFF file

options:
  -h, --help            show this help message and exit
  -o, --output_dir OUTPUT_DIR
                        Output directory for the split pages
dt_PdfToPngFile
PDF to PNG Converter
--------------------
Usage: dt_PdfToPngFile.exe [input_pdf_file] [output_folder]

Options:
  input_pdf_file: The path to the input PDF file.
  output_folder: The path to the output folder where the PNG images will be saved.

Example:
  dt_PdfToPngFile.exe example.pdf output/
dt_ImgToPNGFile
usage: dt_ImgToPNGFile.exe [-h] input_file output_file

Convert image to PNG

positional arguments:
  input_file   Input image file
  output_file  Output PNG file

options:
  -h, --help   show this help message and exit
dt_AIChatLMStudioScreen
usage: dt_AIChatLMStudioScreen.exe [-h] [--base_url BASE_URL]
                                   [--api_key API_KEY] [--model MODEL]
                                   [--prompt PROMPT] --messages MESSAGES
                                   [--temperature TEMPERATURE]

Chat with LM Studio AI

options:
  -h, --help            show this help message and exit
  --base_url BASE_URL   The base URL of the LM Studio AI
  --api_key API_KEY     The API key for the OpenAI server
  --model MODEL         The model to use for chat
  --prompt PROMPT       The prompt to use for the chat
  --messages MESSAGES   The messages to be used in the chat
  --temperature TEMPERATURE
                        The temperature for the chat
dt_EncryDecypFileScreen
usage: dt_EncryDecypFileScreen.exe [-h] file_path password {encrypt,decrypt}

File Encryption/Decryption

positional arguments:
  file_path          Path to the file
  password           Password for encryption/decryption
  {encrypt,decrypt}  Mode (encrypt or decrypt)

options:
  -h, --help         show this help message and exit
dt_OcrTxtTesseractTxt
usage: dt_OcrTxtTesseractTxt.exe [-h] image_path output_path

Extract text from a .tif image using Tesseract-OCR and save to a text file.

positional arguments:
  image_path   Path to the .tif image file
  output_path  Path to save the extracted text file

options:
  -h, --help   show this help message and exit
dt_PdfEncrFile
usage: dt_PdfEncrFile.exe [-h] input_pdf output_pdf password

Encrypt a PDF file with a password.

positional arguments:
  input_pdf   Path to the input PDF file
  output_pdf  Path to the output encrypted PDF file
  password    Password for the encrypted PDF

options:
  -h, --help  show this help message and exit
dt_EncryptOrDecryptTextScreen
usage: dt_EncryptOrDecryptTextScreen.exe [-h] {encrypt,decrypt} text password

Encrypt or decrypt text with a password.

positional arguments:
  {encrypt,decrypt}  Action to perform: encrypt or decrypt
  text               Text to encrypt or decrypt
  password           Password for encryption or decryption

options:
  -h, --help         show this help message and exit
dt_APIKeyValidationGroqScreen
usage: dt_APIKeyValidationGroqScreen.exe [-h] --model MODEL api_key

Groq API Key Validator

positional arguments:
  api_key        The API key to be validated

options:
  -h, --help     show this help message and exit
  --model MODEL  The model to use (e.g. llama3-8b-8192, llama2-7b-512, etc.)
dt_TextToSpeechGroq
usage: dt_TextToSpeechGroq.exe [-h] [-l] [-v VOICE] api_key text

Send text to Groq and get a spoken response.

positional arguments:
  api_key            Your Groq API key
  text               The text you want to send to Groq

options:
  -h, --help         show this help message and exit
  -l, --list-voices  List available voices
  -v, --voice VOICE  Select a specific voice
dt_TextToSpeechMp3
usage: dt_TextToSpeechMp3.exe [-h] [-v VOICE] [-r RATE] [-l] -o OUTPUT [text]

Text-to-Speech Converter

positional arguments:
  text                 Text to convert to speech

options:
  -h, --help           show this help message and exit
  -v, --voice VOICE    Voice ID to use
  -r, --rate RATE      Speech rate in words per minute
  -l, --list           List available voices
  -o, --output OUTPUT  Output MP3 file name
dt_EmailSecurityCheckScreen
usage: dt_EmailSecurityCheckScreen.exe [-h] domain

Check a domain for DMARC, DKIM, and SPF configuration.

positional arguments:
  domain      The domain to check.

options:
  -h, --help  show this help message and exit
dt_PassiveAudio
usage: dt_PassiveAudio.exe [-h] [--wake_phrase WAKE_PHRASE]
                           [--api_url API_URL]

Speech recognition with wake word and API integration.

options:
  -h, --help            show this help message and exit
  --wake_phrase WAKE_PHRASE
                        The wake phrase to activate speech recognition.
  --api_url API_URL     The API endpoint URL to send spoken text.
dt_AudioVoiceMp3OpenAIFile
usage: dt_AudioVoiceMp3OpenAIFile.exe [-h] [--input INPUT] [--output OUTPUT]
                                      [--api_key API_KEY]

Generate and play text-to-speech audio

options:
  -h, --help         show this help message and exit
  --input INPUT      The input text to be converted to speech
  --output OUTPUT    The path to the output audio file
  --api_key API_KEY  The OpenAI API key
dt_AIOpenAIScreen
usage: dt_AIOpenAIScreen.exe [-h] --api-key API_KEY --prompt PROMPT
                             --message MESSAGE [--model MODEL]
                             [--max-tokens MAX_TOKENS]
                             [--temperature TEMPERATURE]

Query OpenAI with customizable prompt and message

options:
  -h, --help            show this help message and exit
  --api-key API_KEY     Your OpenAI API key
  --prompt PROMPT       The prompt for the OpenAI model
  --message MESSAGE     The message to send to the OpenAI model
  --model MODEL         The OpenAI model to use
  --max-tokens MAX_TOKENS
                        Maximum number of tokens to generate
  --temperature TEMPERATURE
                        Control the randomness of the output
dt_MessageTelegramScreen
usage: dt_MessageTelegramScreen.exe [-h] bot_token chat_id message

Send a message to a Telegram chat.

positional arguments:
  bot_token   Your Telegram bot token.
  chat_id     The chat ID to send the message to.
  message     The message to be sent.

options:
  -h, --help  show this help message and exit
dt_NotificationPushover
Usage: python pushover.py <api_token> <user_key> <message> [<title>] [<priority>]