<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Sumit Patel</title>
    <description>The latest articles on DEV Community by Sumit Patel (@sumitpatel).</description>
    <link>https://dev.to/sumitpatel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F2732744%2Feb617fef-1525-4e02-b3f1-f5b54f4111cc.png</url>
      <title>DEV Community: Sumit Patel</title>
      <link>https://dev.to/sumitpatel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sumitpatel"/>
    <language>en</language>
    <item>
      <title>Introducing TUISIC: TUI Music Streaming App.</title>
      <dc:creator>Sumit Patel</dc:creator>
      <pubDate>Sun, 19 Jan 2025 13:32:50 +0000</pubDate>
      <link>https://dev.to/sumitpatel/introducing-tuisic-tui-music-streaming-app-22ho</link>
      <guid>https://dev.to/sumitpatel/introducing-tuisic-tui-music-streaming-app-22ho</guid>
      <description>&lt;p&gt;Well, i don't have much to say but to show.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feq83mn7v68z0gstrl4ag.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feq83mn7v68z0gstrl4ag.png" alt="tuisic image" width="800" height="449"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;This is what TUISIC looks like, It is written in CPP and at initial release right now.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;As a Linux enthusiast and someone who practically lives in the terminal, One day someone asked me how I play music in terminal. (thanks to that someone BTW, that question led the whole journey started!), the only thing I got was some scripts, that time I felt something was missing in my Arch Linux setup when it came to music. I was using MPD &amp;amp; ncmpcpp to play my downloaded songs, but constantly downloading music felt... outdated, and now i was thinking what if i can just stream music directly from the terminal instead of opening browser and typing &lt;code&gt;spoti...&lt;/code&gt;, &lt;em&gt;yeah that's painful&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;So, TUISIC started its life as a collection of bash scripts. (one of the craziest thing i know )&lt;br&gt;
And If you are curious to know &lt;strong&gt;how&lt;/strong&gt; wild bash script can get, you can checkout this gist ;)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://gist.github.com/Dark-Kernel/7205b6b3f05f51de74a05706622568d5" rel="noopener noreferrer"&gt;Dark-Kernel/Music.sh&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is what it looks like: &lt;/p&gt;

&lt;p&gt;&lt;iframe src="https://player.vimeo.com/video/1048292549" width="710" height="399"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;But then i'm an engineer and doing things in organize manner is what i am supposed to do. And one day i came to this repo &lt;a href="https://github.com/ArthurSonzogni/FTXUI" rel="noopener noreferrer"&gt;FXTUI&lt;/a&gt; a fantastic C++ library for creating terminal user interfaces, so i started building tuisic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Some Cool Features:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Stream music right from terminal (bye-bye browser!)&lt;/li&gt;
&lt;li&gt;Easy to use (seriously, it's pretty intuitive)&lt;/li&gt;
&lt;li&gt;Vim keybinds (because why not make it look cool?)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Want to try it?
&lt;/h2&gt;

&lt;p&gt;If you're on Arch Linux (&lt;em&gt;yeah, it's available on AUR now and that's a big deal! :&lt;/em&gt;)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;yay &lt;span class="nt"&gt;-S&lt;/span&gt; tuisic-git
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;


&lt;p&gt;For other distributions, you can build from source:&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fassets.dev.to%2Fassets%2Fgithub-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/Dark-Kernel" rel="noopener noreferrer"&gt;
        Dark-Kernel
      &lt;/a&gt; / &lt;a href="https://github.com/Dark-Kernel/tuisic" rel="noopener noreferrer"&gt;
        tuisic
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      A simple TUI online music stream app written in c++ with easy vim keybinds.
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;TUISIC&lt;/h1&gt;

&lt;/div&gt;

&lt;p&gt;TUI Online Music Streaming application.&lt;/p&gt;


  
    
    

    &lt;span class="m-1"&gt;tuisic3.mp4&lt;/span&gt;
    
  

  

  


&lt;p&gt;It let's you search and play online songs from cli hassle free.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features&lt;/h2&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;Vim motions&lt;/li&gt;
&lt;li&gt;Easy downloads&lt;/li&gt;
&lt;li&gt;Multiple song sources&lt;/li&gt;
&lt;li&gt;Playlist support&lt;/li&gt;
&lt;li&gt;Copy urls&lt;/li&gt;
&lt;li&gt;Add to favourites&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Sources&lt;/h2&gt;

&lt;/div&gt;

&lt;p&gt;It fetches songs from some platforms:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;SoundCloud&lt;/li&gt;
&lt;li&gt;LastFM&lt;/li&gt;
&lt;li&gt;ForestFM&lt;/li&gt;
&lt;li&gt;YouTube ( Yet to be implemented )&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Installation:&lt;/h2&gt;

&lt;/div&gt;

&lt;ol&gt;
&lt;li&gt;Using &lt;a href="https://aur.archlinux.org/packages/tuisic-git" rel="nofollow noopener noreferrer"&gt;AUR&lt;/a&gt; package&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;yay -S tuisic-git&lt;/pre&gt;

&lt;/div&gt;

&lt;ol start="2"&gt;
&lt;li&gt;Building from source&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Dependencies&lt;/h3&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;sudo pacman -S curl mpv fmt yt-dlp&lt;/pre&gt;

&lt;/div&gt;

&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;Build, Compile &amp;amp; Run&lt;/h3&gt;

&lt;/div&gt;

&lt;div class="highlight highlight-source-shell notranslate position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;mkdir build &lt;span class="pl-k"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="pl-c1"&gt;cd&lt;/span&gt; build
cmake ..
make
sudo make install&lt;/pre&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Thanks to all.&lt;/h2&gt;

&lt;/div&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/ArthurSonzogni/FTXUI" rel="noopener noreferrer"&gt;FTXUI&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/mpv-player/mpv/tree/master/libmpv" rel="noopener noreferrer"&gt;libmpv&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://curl.se/libcurl/" rel="nofollow noopener noreferrer"&gt;libcurl&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/karlstav/cava.git" rel="noopener noreferrer"&gt;Cava&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Contribution&lt;/h2&gt;

&lt;/div&gt;

&lt;p&gt;It's open for contribution, read &lt;a href="https://github.com/Dark-Kernel/tuisic./CONTRIBUTING.md" rel="noopener noreferrer"&gt;CONTRIBUTING.md&lt;/a&gt; for more information.&lt;/p&gt;

&lt;/div&gt;
&lt;br&gt;
&lt;br&gt;
  &lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/Dark-Kernel/tuisic" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


&lt;h2&gt;
  
  
  What's Next?
&lt;/h2&gt;

&lt;p&gt;This is just the initial release, and I have many features planned:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Custom Playlist support&lt;/li&gt;
&lt;li&gt;Search history&lt;/li&gt;
&lt;li&gt;Custom keybindings&lt;/li&gt;
&lt;li&gt;Visualization like &lt;a href="https://github.com/karlstav/cava" rel="noopener noreferrer"&gt;cava&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Lyrics support
etc.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Contributing
&lt;/h2&gt;

&lt;p&gt;If you're interested in terminal applications, music, or just want to contribute to an open-source project, feel free to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Star the repository&lt;/li&gt;
&lt;li&gt;Report issues&lt;/li&gt;
&lt;li&gt;Submit pull requests&lt;/li&gt;
&lt;li&gt;Share your feature ideas&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Let's make terminal music streaming better together! 🎵&lt;/p&gt;




&lt;p&gt;&lt;em&gt;TUISIC is free and open source software. Contributions and feedback are always welcome!&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
