summon-meme
v1.0.11
Published
This is a fun cli aßpp which shows you a new meme from reddit and much more...
Downloads
17
Readme
This is a fun CLI app that serves you fresh memes anytime.
Installation:
npm i summon-meme -g
summon-meme
Or to use it directly run following command:
npx summon-meme
the program will start running
Note: This app works with node version 14 and above because it uses ES module syntax.
There are three main commands
- get-meme: To open a ramdom meme for you.
- help: Shows how to use the app.
- exit: To exit the app.
User can customize the output by passing multiple arguments eg: subreddit name, number of memes you want to fetch
User have to specify the type of argument using flags.
- eg:
get-meme catmemes --subreddit
This will show you memes from catmemes subreddit. - eg:
get-meme catmemes 4 --subreddit --count
This will show you 4 memes from catmemes subreddit.
Other important flags are
- --save: to save the meme to local machine.
- --visit: to open the meme post on reddit.
- --json: to print the result to console.
This is made using following API https://meme-api.com/gimme. Check out this page to learn more about it https://github.com/D3vd/Meme_Api