/donger

Pet project of my life, the most sophisticated one as well

Primary LanguageGoApache License 2.0Apache-2.0

donger cli

History of donger phenomenon - https://knowyourmeme.com/memes/raise-your-dongers

Description

Simple CLI tool to copy dongers from Dongerlist to clipboard. Should work on all mainstream OS.

Usage

$ donger                        will print random donger from random category
$ donger -category=CATEGORY     will print random donger from chosen category
$ donger -list                  will print all available donger categories

TODOs

  • Marshal map of donger categories to JSON
  • Default randomization option
  • Copy donger to clipboard
  • CLI option to print all categories
  • CLI options for categories based on JSON and add command to print random donger from category or just random donger
  • CLI help
  • Fix an issue with sometimes returning an empty donger categories when scraping Dongerlist
  • Manual and automatic periodic updates for dongers JSON, printing diff after update
  • Option to turn off automatic copying to clipboard (to overcome limited OS environments)

Limitations

  • Clibboard functionality does not work out of the box in Windows WSL due to absence of X11 and maybe some other exotic environments