Skip to content

Repository files navigation

tinytldr

Minimal tldr command line client in plain C99.

PREVIEW

screenshot

  • Never gets in the way.
  • Displays a page in ~12 ms.

srcery - terminal colorscheme on the screenshot.

INSTALL

Satisfy the dependencies first, and then:

git clone https://github.com/kovmir/tinytldr.git
cd tinytldr
# Optional: Adjust ./config.h to your linking.
make
sudo make install

USAGE

tldr -u # Fetch or update pages.
tldr cd# View 'cd' page.
tldr -p windows scoop # One could specify a platform.
tldr git apply # View git-apply.md

This implementation does not support tldr-pages client specification, as it makes clients identical for no reason and goes against the minimalist approach of this project.

DEPENDENCIES

SUPPORTED OPERATING SYSTEMS

  • Linux
  • BSD

FAQ

Q: Can I use it to display my personal pages?

A: Yes, you can.

TLDR_PAGES="$HOME/.local/share/tinytldr/pages"
mkdir "$TLDR_PAGES/mypages"echo'# My custom page'>"$TLDR_PAGES/mypages/testpage.md"
tldr testpage

CREDITS

Thanks @bilditup1 for code contributions.

CONTRIBUTING

When submitting PRs, please maintain the coding style used for the project.

About

Minimal tldr command line client in plain C99

Topics

Resources

Stars

21 stars

Watchers

2 watching

Forks

Used by

Contributors

Languages