Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


This repo houses the directories and files used in the making of my solution to the node homework assignment.

This is a node.js app named LiriBot and is run entirely in the terminal. To complete this homework, I utilized the npm packages "twitter", "dotenv", "nope-spotify-api", and "request".

There are four different commands the user may enter into LiriBot, two of which take arguments.


Screenshot of my-tweets command

When the my-tweets command is entered, the 20 most recent tweets from my twitter account are logged to the terminal, separated by a series of equal signs for visibility.


screenshot of spotify-this-song command

The spotify-this-song command is one of two that can take in an argument. The user may enter the title of a song to get inforation of that song returned to the terminal. If the user does not enter a song, the search defaults to "The Sign".


Screenshot of movie-this command

The movie-this command is the second command that can take in an argument. The user may enter the title of a movie to get information returned to the terminal. If the user doesn't enter a movie, the search defaults to "Mr. Nobody".


Screenshot of do-what-it-says command

The do-what-it-says command does not take in arguments. When the user inputs this command, the random.txt file is read, and whatever command exists in random.txt is the command that is executed, along with any arguments if they exist.


As a bonus challenge for the homework, I added logic to have each command not only log the results to the console, but also append each item that is logged in the console to log.txt.

You can’t perform that action at this time.