r/CLI • • 1d ago

My first lightweight Python project: TChef, a CLI alternative to Cyberchef

Hey everyone, during CTF's, I got a little tired of switching back and forth to the browser everytime I needed to encode, decode, XOR etc. something. So I built TChef, a really lightweight CLI tool that handles basic encoding, decoding, hashing, and XOR operations in terminal.

You can download it by pip:

pip install tchef-cli

Github repo: https://github.com/kotiaeion2512/TChef

Any feedback, bug reports, ideas etc. would be really welcome!

1 Upvotes

2 comments sorted by

1

u/illegal_appendix 1d ago

Makes sense to keep it in the terminal, opening a browser tab for every little decode gets old. Couple of questions. Can it read from stdin, so I could pipe another command's output straight in instead of pasting it as an argument? And can you chain steps in one command, like base64 decode and then XOR with a key? That chaining is the part of CyberChef I'd want most in a CLI version. A quick example of both in the README would help people still learning this stuff, like me.

1

u/laperen34 6h ago

actually, README of TChef would answer every question you ask. And a quick answer: Yes, TChef is able to perform all of the features you stated.