diff --git a/.gitignore b/.gitignore index 2c8adbc7..d7e05671 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,9 @@ dist/ cache/ local/ # debian build specific -deb-struct/usr +deb-struct/usr/lib/ +deb-struct/usr/bin/ +deb-struct/usr/share/applications # deply build binaries deploy/linux/build deploy/win32/build diff --git a/README.md b/README.md index fe85463e..68a467ac 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - +![Spotube](assets/spotube_banner.svg) Spotube is a [qt](https://qt.io) based lightweight spotify client which uses [nodegui/react-nodegui](https://github.com/nodegui/react-nodegui) as frontend & nodejs as backend. It utilizes the power of Spotify & Youtube's public API & creates a hazardless, performant & resource friendly User Experience ![spotube](https://user-images.githubusercontent.com/61944859/111771249-a7d38180-88d5-11eb-85f2-d9db57717694.png) @@ -23,7 +23,8 @@ Don't worry **spotify premium isn't required**😱. But some extra packages are - [MPV](https://mpv.io/installation/) player for playing the actual audio - [youtube-dl](https://github.com/ytdl-org/youtube-dl) for streaming the audio from youtube. It already comes pre bundled with mpv -**Tip!:** If you're using windows try installing **mpv & youtube-dl** player with **chocolatey package manager** as it'd make the installation a lot easier +**Tip!:** If you're using **[Windows]()** try installing **mpv & youtube-dl** player with **[chocolatey](https://chocolatey.org/install) package manager** as it'd make the installation a lot easier. +**But always install youtube-dl first & then mpv player** **Important for [Ubuntu/Debian]():** If you're using any **ubuntu/debian** based linux distro then **youtube-dl** installed from the typical **apt-get** repositories will most likely not work as that version is older than current release. So remove it & install from the repository manually @@ -47,7 +48,7 @@ $ snap install youtube-dl I'm always releasing newer versions of binary of the software each 2-3 month with minor changes & each 6-8 month with major changes. Grab the binaries -All the binaries are located in the [releases](https://github.com/krtirtho/spotube/releases) +All the binaries are located in the [releases](https://github.com/krtirtho/spotube/releases), just download & install **I'll/try to upload the package binaries to linux debian/arch/ubuntu/snap/flatpack/redhat/chocolatey stores or software centers or repositories** @@ -123,7 +124,7 @@ $ cd deploy//build/spotube If everything went smoothly then double clicking on the - `AppRun` or Spotube-x86_64.AppImage for **linux** -- Spotube-x86_64.exe for **Windows** +- qode.exe for **Windows** - Spotube-x86_64.dmg for **MacOS** should work just fine without any problem @@ -154,6 +155,12 @@ There will be some glitches, lags & stuck motions because of the library Spotube - Support for playing/streaming podcasts/shows - Easy installation procedure/mechanism for simplicity +## Things that don't work +- Shows & Podcasts aren't supported as it'd require premium anyway +- Beautiful UI (you missed it, see the title😂^) +- Images aren't added to ensure the lowest resource usage +- OS Media Controls + #### Social handlers Follow me on [Twitter](https://twitter.com/@krtirtho) for newer updates about this application diff --git a/assets/icon.png b/assets/icon.png deleted file mode 100644 index 93d05c6c..00000000 Binary files a/assets/icon.png and /dev/null differ diff --git a/assets/icon.svg b/assets/icon.svg new file mode 100644 index 00000000..11da7b37 --- /dev/null +++ b/assets/icon.svg @@ -0,0 +1,217 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/spotube.png b/assets/spotube.png deleted file mode 100644 index 93d05c6c..00000000 Binary files a/assets/spotube.png and /dev/null differ diff --git a/deploy/linux/spotube/Spotube Icon.svg b/deploy/linux/spotube/Spotube Icon.svg deleted file mode 100644 index 954565fc..00000000 --- a/deploy/linux/spotube/Spotube Icon.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/deploy/linux/spotube/icon.png b/deploy/linux/spotube/icon.png new file mode 100644 index 00000000..4be22cd5 Binary files /dev/null and b/deploy/linux/spotube/icon.png differ diff --git a/deploy/linux/spotube/spotube.desktop b/deploy/linux/spotube/spotube.desktop index 7440c1ca..48e125e2 100644 --- a/deploy/linux/spotube/spotube.desktop +++ b/deploy/linux/spotube/spotube.desktop @@ -1,8 +1,8 @@ [Desktop Entry] Type=Application Name=Spotube -Exec=AppRun -Icon=spotube +Exec=/usr/bin/spotube +Icon=icon Comment=A music streaming app combining the power of Spotify & Youtube Terminal=false Categories=Music; diff --git a/deploy/linux/spotube/spotube.png b/deploy/linux/spotube/spotube.png deleted file mode 100644 index 93d05c6c..00000000 Binary files a/deploy/linux/spotube/spotube.png and /dev/null differ diff --git a/src/app.tsx b/src/app.tsx index c4ee395a..462d8619 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -1,6 +1,6 @@ import React, { useState, useEffect, useRef } from "react"; -import { Window, hot, View, useEventHandler, BoxView } from "@nodegui/react-nodegui"; -import { Direction, QIcon, QKeyEvent, QMainWindow, QMainWindowSignals, WidgetEventTypes, WindowState } from "@nodegui/nodegui"; +import { Window, hot, View, useEventHandler } from "@nodegui/react-nodegui"; +import { QIcon, QKeyEvent, QMainWindow, QMainWindowSignals, WidgetEventTypes, WindowState } from "@nodegui/nodegui"; import { MemoryRouter } from "react-router"; import Routes from "./routes"; import { LocalStorage } from "node-localstorage"; @@ -15,7 +15,7 @@ import showError from "./helpers/showError"; import fs from "fs" import path from "path"; import { confDir } from "./conf"; -import spotubeIcon from "../assets/spotube.png"; +import spotubeIcon from "../assets/icon.svg"; export enum CredentialKeys { credentials = "credentials",