{"componentChunkName":"component---src-templates-project-js","path":"/projects/liri-bot","result":{"data":{"site":{"siteMetadata":{"title":"itsHally"}},"markdownRemark":{"html":"<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 590px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/db385ad36d3e1e4b112ded5cda5be6e0/fb937/liri-bot-img.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 48.64864864864865%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAYAAAC0VX7mAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAxElEQVQoz61S2wqDMBTr/3+gDyIieBfvD941kgNKp9PJtkBpG2OSahU0LMuCqz3X2/6o06GOL3wz9BCFD7hr806jdKKu6z11GAbM8yz8OI4IwxBlWQrX973MXdftmlNDEnEco2kaJEkCx3FkLooCbdvCMAzYti0az/OQZRlM05Tgk+HWyvd95HmOIAhETEMOhriuC8uyxJBmbJum6f2RNzEb8Tg04nqaJkRRhKqqxIgh5Pj88qc8+fhP8NLwl2tzuof/wgqPdxKLVxBjkAAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"screenshot\"\n        title=\"screenshot\"\n        src=\"/static/db385ad36d3e1e4b112ded5cda5be6e0/fcda8/liri-bot-img.png\"\n        srcset=\"/static/db385ad36d3e1e4b112ded5cda5be6e0/12f09/liri-bot-img.png 148w,\n/static/db385ad36d3e1e4b112ded5cda5be6e0/e4a3f/liri-bot-img.png 295w,\n/static/db385ad36d3e1e4b112ded5cda5be6e0/fcda8/liri-bot-img.png 590w,\n/static/db385ad36d3e1e4b112ded5cda5be6e0/efc66/liri-bot-img.png 885w,\n/static/db385ad36d3e1e4b112ded5cda5be6e0/c83ae/liri-bot-img.png 1180w,\n/static/db385ad36d3e1e4b112ded5cda5be6e0/fb937/liri-bot-img.png 1820w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n  </a>\n    </span></p>\n<img alt=\"GitHub\" src=\"https://img.shields.io/github/license/itshally/liri-node-app?style=for-the-badge\">\n<img alt=\"GitHub top language\" src=\"https://img.shields.io/github/languages/top/itshally/liri-node-app?style=for-the-badge\">\n<h1>Liri Bot</h1>\n<p>LIRI is like iPhone's SIRI. However, while SIRI is a Speech Interpretation and Recognition Interface, LIRI is a Language Interpretation and Recognition Interface. LIRI will be a command line node app that takes in parameters and then responses with the data back to the user.</p>\n<p>LIRI will search Spotify for songs, Bands in Town for concerts, and OMDB for movies.</p>\n<p>This app retrieves the data by sending requests using the <code>axios</code> package to the Bands in Town, Spotify and OMDB APIs. You can find these Node packages crucial below.</p>\n<h2>Tools &#x26; Technologies</h2>\n<ul>\n<li>JavaScript</li>\n<li>jQuery</li>\n<li>MomentJS</li>\n<li>Axios</li>\n<li>NodeJS</li>\n<li>JSON</li>\n<li>chalk</li>\n<li>APIs\n<ul>\n<li>Spotify</li>\n<li>OMDB</li>\n<li>Bands In Town</li>\n</ul>\n</li>\n</ul>\n<h2>Installation</h2>\n<p>To clone this project to your device, type the <code>code</code> below to your git bash:</p>\n<pre><code>git clone https://github.com/itshally/liri-node-app.git\n</code></pre>\n<p>After cloning the repo, make sure to install all the dependencies before running it locally.</p>\n<pre><code>cd liri-node-app\n\nnpm i\n</code></pre>\n<h3>Note:</h3>\n<p>You must add a <code>.env</code> file at the <strong>root</strong> folder of the repository, and type the following:</p>\n<pre><code>SPOTIFY_ID=[insert key code here]\n\nSPOTIFY_SECRET=[insert key code here]\n\nREACT_APP_API_KEY=[insert key code here]\n</code></pre>\n<p><strong>Do the following to get your API keys:</strong></p>\n<p><strong>Spotify API</strong></p>\n<ul>\n<li>Make sure you have a Spotify account. Go to this link if you have\n<a href=\"https://developer.spotify.com/dashboard/\">Spotify for Developers</a>. Then, login with your Spotify account.</li>\n<li>In your Spotify <strong>Dashboard</strong> tab, click <strong>Create an app</strong> and then complete the required input fields.</li>\n<li>Afterwards, click the app that you just created to view your keys.\n<ul>\n<li><code>SPOTIFY_ID</code> is your Spotify <strong>Client ID</strong></li>\n<li><code>SPOTIFY_SECRET</code> is your <strong>Client Secret</strong></li>\n</ul>\n</li>\n</ul>\n<p><strong>OMDB API</strong></p>\n<ul>\n<li>To claim your API key, go to this link\n<a href=\"http://www.omdbapi.com/apikey.aspx\">OMDB API</a></li>\n<li>Click the <strong>FREE! (1,000 daily limit)</strong> as your account type and complete the required input fields.</li>\n<li>You will receive an email with your API key</li>\n</ul>\n<p>Save those 3 keys in your <code>.env</code> file.</p>\n<h3>App Commands</h3>\n<p>When you start running it locally, here are the commands for you to use:</p>\n<ul>\n<li><code>concert-this</code></li>\n<li><code>spotify-this-song</code></li>\n<li><code>movie-this</code></li>\n<li><code>do-what-it-says</code></li>\n</ul>\n<p>Here is the syntax command:</p>\n<pre><code>node liri [app command] [query of your search]\n</code></pre>\n<p>Example: <code>node liri movie-this mission impossible</code></p>\n<h2>Screenshots</h2>\n<ul>\n<li>This will be the output if the user didn't type any command or left it empty</li>\n</ul>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 590px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/765b7d61a6958aa9d6427624a2039b08/6bff2/img-1.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 37.83783783783784%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAYAAAD5nd/tAAAACXBIWXMAAA7DAAAOwwHHb6hkAAABYElEQVQoz31QuU7DQBQMlxO8l732BpI4F4qAAgmBCIdEiYRICgoaqCio+QgKKiSEhCjooEJ85TAbvGBRUIzn7Xs749lXS4YWcWahhYPOY2TNGNKSXYy6ElgQAlGJeWKZqBNL4nfme1JKCHJtRRkcyAS7UmNPJFgTGmPyiLwtDcacbXK2ThyzbkqFkfyeHfG8wbrFXjCtHQqDa5XjRjk86xaeiE9T4JH8pjt40W28Evd6FQ/EPk1uVRMfusA753fsnaqU6WNob9gXClNlcUZcqGz253NpscOEU5HihGkn5EuZ4YpzR1GbiXyICTU+7RY1UUhYp3Mkw0783iQaSQJluVubcp8WMssQGT1LEVPknzfHerHcZ6O6Q/9RPMzAOjEGLs/R7/XQ7/YwHAzQ7XSQe+NS6KFLTTiLkDCuXAoCpRQSpiyKAs45WJr5nqje/YMfQ1GJGzggTVNkfK43/M+sii9gC8ZV7adb6gAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"img 1\"\n        title=\"img 1\"\n        src=\"/static/765b7d61a6958aa9d6427624a2039b08/fcda8/img-1.png\"\n        srcset=\"/static/765b7d61a6958aa9d6427624a2039b08/12f09/img-1.png 148w,\n/static/765b7d61a6958aa9d6427624a2039b08/e4a3f/img-1.png 295w,\n/static/765b7d61a6958aa9d6427624a2039b08/fcda8/img-1.png 590w,\n/static/765b7d61a6958aa9d6427624a2039b08/efc66/img-1.png 885w,\n/static/765b7d61a6958aa9d6427624a2039b08/6bff2/img-1.png 957w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n  </a>\n    </span></p>\n<ul>\n<li>\n<p>For the \"<code>movie-this</code>\" command</p>\n</li>\n<li>\n<p>This will be the default result</p>\n</li>\n</ul>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 590px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/f1837784d5de2501988b2089ff20e085/bcb8c/img-2.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 54.05405405405405%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAA7DAAAOwwHHb6hkAAABqElEQVQoz1VRSZLiQAzkBtiuffWCTTQY6JiIeUEf+v+fypHKNmMOGVpKlUpJh/aaoHuJ1rWEhODOhAreVMWKpkJdEeoN9c5f0DQNzuczuq7DoR1G6JThYwcXMnRIUNZBuUgIkJYRIYyHpJzQdvHt8sa+UBqn02khdLFHYxMEoTFUQCob7ajQkE/FnPO55AuIXJJlckl56dvS5E2YIo3sDKlziCEi5YwQI0L/l/AHIYQlJqSUirXWQmmDRggad8GbMPJYRsIGCybPmT55Bzf+wo8/hTASCSNTs0RWaw0p5brP+nOHMWYopaCom1zBsTUC0ev3ZynVauUHIZMthKvCMNwhQr8snPbTKIOaCr5ud1IXUVXV++OmaK/sP+GqMFwe0OM3LTyXY9RCoqLi+fHAOF4wDEMZ23sP51yxlg62kW4Nj8djWcnh8vWCbwd4a0qho4U7+vR4PvF6vfAke59n3G634rO9Xq/FzvMdfd+jbdtC9iQRh2mcSsAPHYNksypWY6gBg6/K8Zbj2DB277z3aZroKD6WgBf9iaXYkN3nzZrno/C4+5FZ6T+qAQwx5e2IUQAAAABJRU5ErkJggg=='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"img 2\"\n        title=\"img 2\"\n        src=\"/static/f1837784d5de2501988b2089ff20e085/fcda8/img-2.png\"\n        srcset=\"/static/f1837784d5de2501988b2089ff20e085/12f09/img-2.png 148w,\n/static/f1837784d5de2501988b2089ff20e085/e4a3f/img-2.png 295w,\n/static/f1837784d5de2501988b2089ff20e085/fcda8/img-2.png 590w,\n/static/f1837784d5de2501988b2089ff20e085/bcb8c/img-2.png 879w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n  </a>\n    </span></p>\n<ul>\n<li>\n<p>For the \"<code>spotify-this-song</code>\" command</p>\n</li>\n<li>\n<p>This will be the output</p>\n</li>\n</ul>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 590px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/84ae9af8bfbb563049797693e38a11b6/db3a5/img-5.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 46.621621621621614%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAJCAYAAAAywQxIAAAACXBIWXMAAA7DAAAOwwHHb6hkAAABF0lEQVQoz5WSQU7DMBBFuwScGY89sZ0ESAEhdYE4QBs2XIH73+UzcQpIoWph8TS24/n6/pNNd1+gvaLkDqVTdIOtuwhmB+caNM1vnHMnz2c2IQmcWnMyWjtsCU20SoZbmtecE92klCAmGlOolSKBA4HIQUQQQvhm3l90KOThggMro78b8Lx7wuPuBQ+vHwg64Ob66n8ONUR47+vztuMW02HCfj/h8PaOfrg1p1S/zzDzZYcaFD54aFKkqIjH57FlyPwj9mfBFFtIFIguec2ZllJsvTifc/uivqQKNmcyZLuULRuxHK1hHEfknE3Ar4ZgnJj4mirool22/46IzW22YZjDtkc0WLJNvTPKUmWpJOm4nulrJd/iE7zi1LBwEehLAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"img 5\"\n        title=\"img 5\"\n        src=\"/static/84ae9af8bfbb563049797693e38a11b6/fcda8/img-5.png\"\n        srcset=\"/static/84ae9af8bfbb563049797693e38a11b6/12f09/img-5.png 148w,\n/static/84ae9af8bfbb563049797693e38a11b6/e4a3f/img-5.png 295w,\n/static/84ae9af8bfbb563049797693e38a11b6/fcda8/img-5.png 590w,\n/static/84ae9af8bfbb563049797693e38a11b6/efc66/img-5.png 885w,\n/static/84ae9af8bfbb563049797693e38a11b6/db3a5/img-5.png 1087w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n  </a>\n    </span></p>\n<ul>\n<li>\n<p>For the \"<code>concert-this</code>\" command</p>\n</li>\n<li>\n<p>This will be the output</p>\n</li>\n</ul>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 590px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/d18b61cbdec47e7cf6c8e0e88f319e6c/2c288/img-7.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 73.64864864864865%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAPCAYAAADkmO9VAAAACXBIWXMAAA7DAAAOwwHHb6hkAAACQ0lEQVQ4y21Uu3LbMBB0JYsECBJvkJKlUGOrcJPGv5Eukccz7vL/37BZHCXa8bjYAUHeLfb2DrzLc8IwD3DF4+BmTGHEYT/gdPTIsUMKLaas0BuFttVQaoHWan3+vL87PBSk7BCjR0kRUwmYRpLvE7wzcIPC0BNc7RV1X8nlPdF1aiW9i1bB2waOiL5BcA0S1xy2JGyRokaJjHGKihVGqk1BMXbZl3Q9QKmFsMRegt2gGagR/LJWeMu93fCAlkla4mKoAhZS2Xst35S+Kkwxw3mPEAO8D3COzyEyMcKHjLD7iZgPyLQjxsS4tKwhrmsINc+xbBKazpCdkml+LBFPj084nU4YS0KZZuTnv1DDTO/YoJSRc+ZaSSNKybDW0s9WyDRVCmGr+KJVMMbIx5eXF7y/v+P19YLL7194e3vF5c8F5/MZm81GkmvcDXW/ErrBClFv+pUwUcU8zzgej/gxn/B4VV1VSWzfr6j7G6Tk6pV1Fi45+sPRKYVmO/HE8rBakhbDaf4wyPvvUOOEsCZ1ZO+iweAtSh7ZRYdMf8ZxxDRN9CxKwldFX7Eq9N5x1kgSLbs5EE7KrmprB3e7iQdlxnmZAu/8F4X+Q6FWHf1rsCsNr1hL4oYJGvv9g5A12y3u7++JLbbbBU3T/NcUARt77XIv93RXlNyIOpwdOz+Ohcp2UmYlrqhNqahKb75+hijstJH7WX8AptM8jT+C3lDhXrq8lOlkvRHfhlh9QypzaMzHhV8UavGkJlazvytRCD7N3w3/AMbNayjrU0uHAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"img 7\"\n        title=\"img 7\"\n        src=\"/static/d18b61cbdec47e7cf6c8e0e88f319e6c/fcda8/img-7.png\"\n        srcset=\"/static/d18b61cbdec47e7cf6c8e0e88f319e6c/12f09/img-7.png 148w,\n/static/d18b61cbdec47e7cf6c8e0e88f319e6c/e4a3f/img-7.png 295w,\n/static/d18b61cbdec47e7cf6c8e0e88f319e6c/fcda8/img-7.png 590w,\n/static/d18b61cbdec47e7cf6c8e0e88f319e6c/2c288/img-7.png 684w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n  </a>\n    </span></p>\n<ul>\n<li>\n<p>For the \"<code>do-what-it-says</code>\" command</p>\n</li>\n<li>\n<p>This will be the output</p>\n</li>\n</ul>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 590px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/30b777a10d9ff9fd5e9c90fc60d96fd7/b6e34/img-9.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 60.810810810810814%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAACXBIWXMAAA7DAAAOwwHHb6hkAAABWUlEQVQoz52SW0vDQBCF82r3NrO3bFsTKAoVf4JgBH3R//+DjrObtqSKpPjwsbfkMOfMdGXsEUpAiQWleHivGtYqKKWh9TVKqV93S7oqpoJ8lIRoZC8/saBPqFnkzJpo1297UCRwZrjoYIOF8wbWbEBOg8mBmRvOuRsqJC8VqSZW9gXDYY/t4Rnl8Qs8vMPEI9Tm7lLpaoUpJlhn2+Hp+IS3acI0feDl9ROpPMBSgrO2VWeMWa8wxwzLFjFFJO8RQpCmsFhWDWdNE6tYEV4V7FOWzBwoUMspxijdLk2YiK64STCwZJilgzImVXAY7hshyL3aQC86fAuzoDRFGy0ZSaU+gziBQ5H8olAj6RtG8mxnmvdm8VbRhtCVfBqbyJJdkCwzdrt9W5kD2MfL6ojFljTQ/EG17H9YHsexZXjuqPqXZV8tq9lyEDsuCKmNzGynzFB/bX/5JlTL3+QsG+6OqAH2AAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"img 9\"\n        title=\"img 9\"\n        src=\"/static/30b777a10d9ff9fd5e9c90fc60d96fd7/fcda8/img-9.png\"\n        srcset=\"/static/30b777a10d9ff9fd5e9c90fc60d96fd7/12f09/img-9.png 148w,\n/static/30b777a10d9ff9fd5e9c90fc60d96fd7/e4a3f/img-9.png 295w,\n/static/30b777a10d9ff9fd5e9c90fc60d96fd7/fcda8/img-9.png 590w,\n/static/30b777a10d9ff9fd5e9c90fc60d96fd7/efc66/img-9.png 885w,\n/static/30b777a10d9ff9fd5e9c90fc60d96fd7/b6e34/img-9.png 1103w\"\n        sizes=\"(max-width: 590px) 100vw, 590px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n  </a>\n    </span></p>\n<h2>License</h2>\n<p>Distributed under the\n<a href=\"https://github.com/itshally/liri-node-app/blob/master/LICENSE\">MIT License</a></p>","id":"aa3a59e5-2400-5512-9cb9-8f36b457830f","frontmatter":{"title":"Liri Bot","description":"LIRI is like iPhone's SIRI. However, while SIRI is a Speech Interpretation and Recognition Interface, LIRI is a Language Interpretation and Recognition Interface. LIRI will be a command line node app that takes in parameters and then responses with the data back to the user.","preview":null,"tools":["Nodejs"],"sourceCode":"https://github.com/itshally/liri-node-app","keyWords":"liri bot, speech interpretation, command line, nodejs","image":{"childImageSharp":{"fixed":{"src":"/static/db385ad36d3e1e4b112ded5cda5be6e0/986a3/liri-bot-img.png"}}}}}},"pageContext":{"id":"aa3a59e5-2400-5512-9cb9-8f36b457830f","previousPostId":"bf3ee628-da33-5709-bbbc-50b560d79e1e","nextPostId":"90f66cb1-3e66-52b0-8296-37f0cf6b803d"}},"staticQueryHashes":["143701507"]}