All Projects → tldr-pages → Tldr C Client

tldr-pages / Tldr C Client

Licence: mit
C command-line client for tldr pages

Programming Languages

c
50402 projects - #5 most used programming language
cpp
1120 projects

Labels

Projects that are alternatives of or similar to Tldr C Client

TLDR.jl
A package for fast help and snippets
Stars: ✭ 16 (-91.11%)
Mutual labels:  tldr
Tldr Sh Client
Simplified and community-driven man pages
Stars: ✭ 583 (+223.89%)
Mutual labels:  tldr
Tealdeer
A very fast implementation of tldr in Rust.
Stars: ✭ 1,189 (+560.56%)
Mutual labels:  tldr
red-tldr
red-tldr is a lightweight text search tool, which is used to help red team staff quickly find the commands and key points they want to execute, so it is more suitable for use by red team personnel with certain experience.
Stars: ✭ 159 (-11.67%)
Mutual labels:  tldr
Tldr Node Client
Node.js command-line client for tldr pages
Stars: ✭ 292 (+62.22%)
Mutual labels:  tldr
Tldr
📚 Collaborative cheatsheets for console commands
Stars: ✭ 36,408 (+20126.67%)
Mutual labels:  tldr
Dilettantes-Guide-to-Linting
Setting up ESLint, Prettier, VS Code, and the AirBnB style guide in beautiful harmony.
Stars: ✭ 18 (-90%)
Mutual labels:  tldr
Tldrlfs
Too Long; Didn't Read Linux From Scratch
Stars: ✭ 139 (-22.78%)
Mutual labels:  tldr
Tldr Python Client
Python command-line client for tldr pages
Stars: ✭ 317 (+76.11%)
Mutual labels:  tldr
Tldr Alfred
Alfred workflow for TLDR
Stars: ✭ 70 (-61.11%)
Mutual labels:  tldr
tldr-php
PHP Client for tldr
Stars: ✭ 18 (-90%)
Mutual labels:  tldr
tldr-flutter
simplified man-pages, a tldr.sh client
Stars: ✭ 65 (-63.89%)
Mutual labels:  tldr
Tldr
fast and interactive tldr client written with go
Stars: ✭ 984 (+446.67%)
Mutual labels:  tldr
tldr.el
tldr client for Emacs
Stars: ✭ 118 (-34.44%)
Mutual labels:  tldr
Tldr
Text summarizer for golang using LexRank
Stars: ✭ 92 (-48.89%)
Mutual labels:  tldr
tldr
Simplified and community-driven man pages (tldr-pages) in a single binary.
Stars: ✭ 33 (-81.67%)
Mutual labels:  tldr
Cheat.sh
the only cheat sheet you need
Stars: ✭ 27,798 (+15343.33%)
Mutual labels:  tldr
Tachyons Tldr
quick lookup for tachyon classes, scales and colour palette
Stars: ✭ 170 (-5.56%)
Mutual labels:  tldr
Manpages Tldr
Short, practical manpages for everyday usage
Stars: ✭ 108 (-40%)
Mutual labels:  tldr
Tl
tldr for R!
Stars: ✭ 52 (-71.11%)
Mutual labels:  tldr

tldr c client

Build Status

A command line client for tldr, written in plain ISO C90.

Installing

On OS X, the client can be installed through homebrew.

# To install latest development version
brew install tldr --HEAD

# To install the latest stable release
brew install tldr

To build the latest version from source:

git clone https://github.com/tldr-pages/tldr-c-client.git
cd tldr-c-client

./deps.sh           # install dependencies
make                # build tldr
make install        # install tldr

The default prefix for installation is /usr/local/bin.

Building

Building the tldr client is pretty straightforward.

Requirements

  • clang/gcc
  • libcurl (brew install curl / apt-get install libcurl-dev / apt-get install libcurl4-openssl-dev)
  • libzip (brew install libzip / apt-get install libzip-dev)
  • pkg-config (brew install pkg-config / apt-get install pkg-config)

Compiling

The Makefile in the root directory has all you need for builing the project.

Just call make and tldr will build itself.

make

Autocompletion

Autocompletion is supported for bash, zsh, and fish and can be added by sourcing the correct autocompletion file.

The files autocomplete.zsh, autocomplete.bash, and autocomplete.fish can be found in the autocomplete folder in the root of the repository.

Installation

To install the autocompletion, just move the script for your shell to a an easy to access directory (like your home directory), and source it in your .bashrc or .zshrc.

Example for zsh:

mv autocomplete/complete.zsh ~/.tldr.complete
echo "source ~/.tldr.complete" >> ~/.zshrc

Usage

usage: ./tldr [-v] [OPTION]... SEARCH

available commands:
    -v                   print verbose output
    --version            print version and exit
    -h, --help           print this help and exit
    -u, --update         update local database
    -c, --clear-cache    clear local database
    -p, --platform=PLATFORM select platform, supported are linux / osx / sunos / common
    -r, --render=PATH    render a local page for testing purposes

Contributing

Please read the CONTRIBUTING.md for details.

License

The MIT License (MIT) - see LICENSE for details.

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].