Pudl
Command line tool to help you stay on top of news on pudelek.pl
(Polish gossip website)
Usage
pudl list
- get list of hot topicspudl top
- get only top of the list (default 3)pudl cache
- get list of cached topicspudl show ID
- open browser with selected topic id.
Typical usage would look something like this:
12:37 kuba@> pudl list
⭐⭐⭐ 😹 Lista tematow z pudla 🐩 😹 ⭐⭐⭐
1: 17-letnia siostra Julii Wieniawy chwali się nową fryzurą. Ma CZERWONE włosy (FOTO)
2: Justyna Gradek ujawnia, ile kosztowały ją NOWE POŚLADKI, na których przez dwa tygodnie nie mogła siadać...
...
12:37 kuba@> pudl show 5
.pudl.yaml
Pudl is using a yaml file to store config and cache info. It is located in your home directory and named .pudl.yaml
Install
Build from source
You will need Go 1.16 at least.
- Clone repo
- make build
- add to PATH <pudl_repo_path>/bin
If you build it in /Users/kuba/pudl
you would need to add to your .bashrc
or .zshrc
line
PATH="/Users/kuba/pudl/bin:$PATH"
Install from binary
To download ready binary use releases page https://github.com/JakubOboza/pudl/releases
- Download binary for your operating system and arch eg. osx amd64
- Untar it in a directory eg.
/Users/<user_name>/pudl
usingtar -zxvf pudl.osx-amd64.tar.gz
- Add it to the path var (if you are using bash ir will be ~./bashrc)
PATH="/Users/<user_name>/pudl:$PATH"