discordcat - CLI utility to post files and command output to discord

Create your feature branch (git checkout -b my-new-feature)

DEMO

https://user-images.githubusercontent.com/23740172/122637416-757e2e00-d129-11eb-95c9-8769a80059bb.mov

Installing

using cargo

cargo install discordcat

using brew

brew install k-nasa/tap/discordcat

using wget

wget https://github.com/k-nasa/discordcat/releases/download/0.2.0/discordcat_x86_64-unknown-linux-gnu.tar.gz
tar -xf discordcat_x86_64-unknown-linux-gnu.tar.gz
sudo mv ./discordcat_x86_64-unknown-linux-gnu/discordcat /usr/local/bin/
sudo chmod +x /usr/local/bin/discordcat

Setup

$ discordcat --setup

Usage

send message

$ echo "hello discord" | discordcat

send file

$ discordcat -f ./README.md
$ discordcat -f README.md --filename readme

specify webhook url

$ echo hello | discordcat --webhook https://discordapp.com/api/webhooks/hoge/huga
discordcat 0.2.0
CLI utility to post files and command output to discord

USAGE:
    discordcat [FLAGS] [OPTIONS]

FLAGS:
        --setup
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
        --username <username>
    -c, --channel <channel>
    -f, --file <file>
        --filename <filename>
        --webhook <webhook_url>

Contribution

  1. Fork it ( http://github.com/k-nasa/discordcat )
  2. Commit your changes (git commit -am 'Add some feature')
  3. Push to the branch (git push origin my-new-feature)
  4. Create new Pull Request

Licence

MIT

Author

k-nasa

Versions

Find the latest versions by id

Information - Updated Jun 23, 2022

Stars: 10
Forks: 1
Issues: 0

Repositories & Extras

An open source Gameboy emulator written in Rust that can use a command line interface...

An open source Gameboy emulator written in Rust that can use a command line interface as a screen and input device

An open source Gameboy emulator written in Rust that can use a command line interface...

gip is a command-line tool and Rust library to check global IP address

Currently built-in service providers are the followings

gip is a command-line tool and Rust library to check global IP address
CLI

317

electron-hardener

A Rust library and command line tool to harden Electron binaries against runtime behavior modifications

electron-hardener

This is the repository of CLI commands written in Rust, it is for my practices

This repository contains the following commands (Typical commands in UNIX)

This is the repository of CLI commands written in Rust, it is for my practices

This is a Rust command line tool that calculates a histogram of the separate types...

This is a Rust command line tool that calculates a histogram of the separate types of JSON records in an input JSON log file (one...

This is a Rust command line tool that calculates a histogram of the separate types...

cmsis-pack-manager

is a python module, Rust crate and command line utility for managing current device information that is stored in many CMSIS PACKs

cmsis-pack-manager

Find all your notes with one command!

Todo_r is a simple rust command line utility that keeps track of your todo items in code

Find all your notes with one command!

First, complete the basic Rust setup instructions

Use Rust's native cargo command to build and launch the template node:

First, complete the basic Rust setup instructions
Facebook Instagram Twitter GitHub Dribbble
Privacy