All Projects → tpanj → Cht.exe

tpanj / Cht.exe

Licence: gpl-3.0
cht.sh libcurl client for windows XP+ with changed colorization

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Cht.exe

Cheat.sh
the only cheat sheet you need
Stars: ✭ 27,798 (+185220%)
Mutual labels:  cli, command-line, documentation, examples, help
Tldr
📚 Collaborative cheatsheets for console commands
Stars: ✭ 36,408 (+242620%)
Mutual labels:  command-line, documentation, examples, help
Aruba
Test command-line applications with Cucumber-Ruby, RSpec or Minitest. The most up to date documentation can be found on Cucumber.Pro (https://app.cucumber.pro/projects/aruba)
Stars: ✭ 900 (+5900%)
Mutual labels:  cli, command-line, documentation
Saldl
A lightweight well-featured CLI downloader optimized for speed and early preview.
Stars: ✭ 203 (+1253.33%)
Mutual labels:  cli, command-line, libcurl
Ipt
Interactive Pipe To: The Node.js cli interactive workflow
Stars: ✭ 783 (+5120%)
Mutual labels:  cli, command-line
Js Liftoff
Launch your command line tool with ease.
Stars: ✭ 761 (+4973.33%)
Mutual labels:  cli, command-line
Ntl
Node Task List: Interactive cli to list and run package.json scripts
Stars: ✭ 800 (+5233.33%)
Mutual labels:  cli, command-line
Clifx
Declarative framework for building command line interfaces
Stars: ✭ 900 (+5900%)
Mutual labels:  cli, command-line
Svgexport
SVG to PNG/JPEG command-line tool and Node.js module
Stars: ✭ 731 (+4773.33%)
Mutual labels:  cli, command-line
Everything Curl
The book documenting the curl project, the curl tool, libcurl and everything related to this.
Stars: ✭ 885 (+5800%)
Mutual labels:  documentation, libcurl
Mprislyrics
Small command-line utility that displays lyrics in sync with the currently playing song in a MPRIS2 capable player.
Stars: ✭ 24 (+60%)
Mutual labels:  cli, command-line
Xsv
A fast CSV command line toolkit written in Rust.
Stars: ✭ 7,831 (+52106.67%)
Mutual labels:  cli, command-line
Argh
Argh! A minimalist argument handler.
Stars: ✭ 752 (+4913.33%)
Mutual labels:  cli, command-line
Prompts
❯ Lightweight, beautiful and user-friendly interactive prompts
Stars: ✭ 6,970 (+46366.67%)
Mutual labels:  cli, command-line
Sade
Smooth (CLI) Operator 🎶
Stars: ✭ 746 (+4873.33%)
Mutual labels:  cli, command-line
Haxejs
Documentation about using JavaScript with Haxe
Stars: ✭ 25 (+66.67%)
Mutual labels:  documentation, examples
Inquirer Checkbox Plus Prompt
Checkbox with autocomplete and other additions for Inquirer
Stars: ✭ 25 (+66.67%)
Mutual labels:  cli, command-line
Executor
Watch for file changes and then execute command. Very nice for test driven development.
Stars: ✭ 14 (-6.67%)
Mutual labels:  cli, command-line
Sit Up
🙇 Reminder to sit up straight.
Stars: ✭ 9 (-40%)
Mutual labels:  cli, command-line
Portray
Your Project with Great Documentation.
Stars: ✭ 726 (+4740%)
Mutual labels:  command-line, documentation

Utillity to gain help, working examples about various commands, APIs, ... Unified access to the best community driven documentation repositories of the world

The only cheat sheet you need

Look in https://github.com/chubin/cheat.sh for more info.

See Motivation for reasons this software esists.

Installation

Just copy downloaded cht.exe to some of your %PATH% dir to use it from every console.

e.g.: copy cht.exe c:\windows\system32 (but you need privileges)

or use scoop command-line installer for Windows to do it automatically:

scoop install cht

Usage

Info about shutdown command

cht shutdown

Info about shutdown command

Reversing string in c, second alternative

cht c/reverse/2

Reversing string in c, second alternative

Options

Similar as on obove pic; showing first alternative but now with -Q (or longer variant --query) which switches on query mode - space delimetered arguments are parts of query.

cht -Q c check file exsists /1

Get version info with -v (or longer variant --version) switch and config file location (if you do not where to store it). Currently only server can be defined there. Example of file:

CHTSH_URL="http://cht.sh" # since https:// protocol is not yet supported, default server
#CHTSH_URL=http://secret.my #my own server

add -T (or longer variant --no_colors) parameter not to use coloring at all

cht c/strcpy -T

Disabling coloring of saved files localy

cht file:///tmp/saved_file -T

Removing colors

Compiling

Windows

Due to document length it is located separately here

Linux

Simplest & quickest

sudo apt install build-essential libcurl4-openssl-dev
gcc -Wall cht.c simple_config.c -lcurl -o cht
sudo cp ./cht /usr/local/bin/ # "install" it

Static & full under control

sudo apt install build-essential libcurl4-openssl-dev cmake
cd curl
cmake -DCURL_STATICLIB=ON .
make libcurl # we need only this mudule
cd ..
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ../src
make
sudo make install # install it to /usr/local/bin

External sources


TODO:

  • [X] windows compile instructions
  • [X] complete cmake
  • [X] compile with openssl → postponed since this is not needed for now
  • [ ] complete functionallity all features of the cht.sh command line
  • [ ] sorry Mac users, only tasted on Linux and winXP-10
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].