Skip to content

summon-meme is a fun cli app which shows you a new meme from reddit and much more...

Notifications You must be signed in to change notification settings

AbhijeetNandvikar/summon-meme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a fun CLI app that serves you fresh memes anytime.

summon-meme

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

  1. get-meme: To open a ramdom meme for you.
  2. help: Shows how to use the app.
  3. 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

  1. --save: to save the meme to local machine.
  2. --visit: to open the meme post on reddit.
  3. --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

About

summon-meme is a fun cli app which shows you a new meme from reddit and much more...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published