Pokemonsay: Pokemon Version of Cowsay
github.com
github.com
Here is an example of a third-party template for cowsay: https://github.com/lochsh/alpacasay/blob/master/alpaca.cow
The actual code used to pick a random Pokemon and display it is only a few dozen lines.
One person's complaint about a json parser being too heavyweight is just as valid as the complaints that the arcane one-off cow template syntax is hard to use and understand.
Not to mention that this has different features than cowsay, and it's just a fun little project. It parses image files into the terminal display, it can scrape 3rd party websites to download new Pokemon images.
Your final paragraph had a good point, though. It's not just cowsay.
(If you are a Lisp developer and you are reading this, I challenge you to build one in your favourite Lisp. Let's see how HN's favorite "secret weapon" fares against the entire ecosystem of JavaScript. The hypocrisy is unreal here, people would espouse Lisp in one breath and go back to coding their startup in Rails in another.)
But seriously. If you don't tell people politely and explain what and why it's wrong, they'll never know that what they're doing could be better. Just ranting and shaming might not be the best way. Still I agree with all the NodeJS hate.
What's wrong with having a rapid development ecosystem within which to build that is fairly simple to install, run, and cycle? JavaScript, and NodeJS by extension, are just as viable as languages as any other out there. There are languages, such as Rust or Go, that people tout their benefits. However, I see no simple way to get an env set up, learn the language, and turn around anything of meaning in the time I could in JavaScript. There are some deficiencies in the platform, surely, but those (as I would expect) get resolved over time.
I could make the same argument about having to get a JRE or a Python interpreter. Each language is going to have its deficiencies and bonuses.
That said, it's a cool project!
On another note: a less condescending way of conveying the same message would have been "Cool project. Pokésay would have been a great name instead of Pokemonsay."
For the pityful group of users who use the default US keymap.
Not for users with a US keyboard
Install a proper keymap.
https://github.com/danjordan/pokefusion
You can run it with `npx pokefusion`
Edit: nitpick: have the selectors ordered alphabetically.
So no, I don't think this is going to provoke a cease and desist. It's not competing with anything official, and barely even counts as a fan work at all.
After that, then it seems like you can execute `node dist/cli.js` for it. So just pipe to that.
Because the former added Zeraora as well as Poipole, Naganadel, Stakataka and Blacephalon (along with new Necrozma forms), whereas the latter added Meltan and Melmetal. Would be nice to see them added for completeness sake, though it raises the question of how 'complete' these joke projects should be character wise, especially when dealing with series that introduce about 100 new characters every three or so years.
For Necrozma, its extra forms don't have pokédex entries so this tool doesn't scrape them from Bulbapedia.
This seems to just use blank spaces with terminal background color codes to draw things, which means your smallest "pixel" is the size of a terminal line.
Are there ways of getting higher definition in a terminal with fairly widespread support and keeping full color?
The hacker part of me is thinking with some combination of finding Unicode characters that "fit" an outline combined with color quantization (since every "character" has to be one color at most) might be able to cut the size in half...