SudhanPlayz / Discord-MusicBot

An advanced discord music bot, supports Spotify, Soundcloud, YouTube with Shuffling, Volume Control and Web Dashboard with Slash Commands support!
https://musicbot.darrenofficial.com
Other
2.99k stars 2.89k forks source link

Discord Music Bot v5 - Dashboard #638

Open SudhanPlayz opened 2 years ago

SudhanPlayz commented 2 years ago

To Do list for dashboard of v5

Features

Endpoint

Socket.io

Web

Note: This list in incomplete, In future maybe new things will be added

DarrenOfficial commented 2 years ago

yeeeeeeeeeeeeeeeeeeeee

JotaroKujo0525 commented 2 years ago

h

SudhanPlayz commented 2 years ago

Maybe I am free next month... if I am then I would do this

DarrenOfficial commented 2 years ago

Maybe I am free next month... if I am then I would do this

Teach me react js.

SudhanPlayz commented 2 years ago

Maybe I am free next month... if I am then I would do this

teach me react js.

Design in figma first then react

k-g-n commented 2 years ago

hmm

DarrenOfficial commented 2 years ago

Patiently waiting cause i don't know how to figma.

SudhanPlayz commented 2 years ago

Patiently waiting cause i don't know how to figma.

Learn ;-;

priyam1234-spec commented 2 years ago

any eta on this?

TheOnlyWayUp commented 2 years ago

[ ] POST: Delete song from queue

Convert to [ ] DELETE: Delete song from queue.

DarrenOfficial commented 2 years ago

No? theres no such thing as Delete

DarrenOfficial commented 2 years ago

Just an update, the v5 will use MySQL to store information such as but not limited to: 24/7 per server config Music Queue (if bot restart it will picked up the previusly stored queue) Dashboard related config and maybe, just maybe, Playlist.

For future reference, SQLite will be used. https://github.com/SudhanPlayz/Discord-MusicBot/issues/638#issuecomment-1444003852

Based on @Checker8763 suggestion.

TheOnlyWayUp commented 2 years ago

No? theres no such thing as Delete

https://reqbin.com/Article/HttpDelete

DarrenOfficial commented 2 years ago

No? theres no such thing as Delete

https://reqbin.com/Article/HttpDelete

This wouldn't work as what we're trying to accomplish is to allow a user from the dashboard to send a request through the API to delete something on the queue

It goes something like this You → Dashboard(Sends a GET request for what's in the queue for X guild) → API (Sends all the songs in the queue for that "guilds") → You (get the list) Let's say the queue for that guild is

  1. Him
  2. Calling
  3. Knee Deep At ATP

You → Dashboard(sends a POST request to delete song number 3, on guild X) → the song gets removed from the queue! everyone's happy yay

TheOnlyWayUp commented 2 years ago

Press a button -> Sends delete request

DarrenOfficial commented 2 years ago

no

DarrenOfficial commented 2 years ago

thats not how it works, you'll need to think it logically

DarrenOfficial commented 2 years ago

cause there's multiple variables, such as different guilds

SudhanPlayz commented 2 years ago

[ ] POST: Delete song from queue

Convert to [ ] DELETE: Delete song from queue.

i just wanna make everything POST and GET lol

DarrenOfficial commented 2 years ago

exactly, simple 🙏

Vincenzo160 commented 2 years ago

What appended?

popQA17 commented 2 years ago

Need help with react (nextjs)?

DarrenOfficial commented 2 years ago

if you can sure 👍🏼

xAlcahest commented 2 years ago

Any news about it?

SwadowMaster commented 2 years ago

Maybe I am free next month... if I am then I would do this

teach me react js.

Design in figma first then react

i can help with it but in ejs (dashboard)

SudhanPlayz commented 2 years ago

Need help with react (nextjs)?

yup, you can help if you can. I will be pushing the nextjs project to v5 branch in some hours

SudhanPlayz commented 2 years ago

Any news about it?

gspxrk commented 2 years ago

Any news about it?

Yeah, and I have a few issues, not sure if its implemented or pending or what but when I click the login button, it says "Cannot GET /login" this continues to happen with /404, /dashboard, /index, /login, /logout and /servers. Is this a bug?

gspxrk commented 2 years ago

Any news about it?

Yeah, and I have a few issues, not sure if its implemented or pending or what but when I click the login button, it says "Cannot GET /login" this continues to happen with /404, /dashboard, /index, /login, /logout and /servers. Is this a bug?

For reference, the links looks like this discord-music-bot.<user>.repl.co

SudhanPlayz commented 2 years ago

Any news about it?

Yeah, and I have a few issues, not sure if its implemented or pending or what but when I click the login button, it says "Cannot GET /login" this continues to happen with /404, /dashboard, /index, /login, /logout and /servers. Is this a bug?

it's not a bug, it's the feature 😊 They will be working soon

jchrobakk commented 2 years ago

If you need frontend dev with react stack then you can hmu, I can help you guys with it but I'm just a junior, so I don't promise anything

BossDaily commented 2 years ago

Someone should come up with a rough concept in something like figma

SudhanPlayz commented 2 years ago

Someone should come up with a rough concept in something like figma

since I'm the only one who is coding the dashboard rn, I think its a waste for time now. I will just build it without using figma cuz all components are available within nextui and will be easy to code

popQA17 commented 2 years ago

im not sure about using NextUI, its not really completed yet.

popQA17 commented 2 years ago

Let me know if you need me to design the landing page :)

SudhanPlayz commented 2 years ago

Let me know if you need me to design the landing page :)

If you can, then you can do it. Thanks for the contribution

SoulHunter287 commented 2 years ago

ded

SudhanPlayz commented 2 years ago

ded

not really

IlyasMooerkens commented 2 years ago

ded

not really

the api for v5 is not working is it still under dev?

JotaroKujo0525 commented 2 years ago

ded

not really

the api for v5 is not working is it still under dev?

ye

popQA17 commented 2 years ago

Any news?

Checker8763 commented 2 years ago

Just an update, the v5 will use MySQL to store information such as but not limited to: 24/7 per server config Music Queue (if bot restart it will picked up the previusly stored queue) Dashboard related config and maybe, just maybe, Playlist.

But Darren! Is mysql available on replit? yes https://replit.com/talk/templates/Getting-started-with-MySql/33744 go

Why MySql and need an extra service to run? I would have more thought of SQLite because of

Thats a perfect usecase for sqlite

And because it is a wide spread technology it has gread libs and the sql should stay the same or can even be enhancey because sqlite supports more complex querys usualy found on something like PostGres migrating the code should be realtivly easy. Nomraly only the setup should be changed.

jozef-drabik commented 2 years ago

If there is something u need help with i would like to contribute. I am full-stack developer but mainly focus on next.js and react. HMU.

sukhman-16 commented 1 year ago

any update? @SudhanPlayz

pheeef commented 1 year ago

Just an update, the v5 will use MySQL to store information such as but not limited to: 24/7 per server config Music Queue (if bot restart it will picked up the previusly stored queue) Dashboard related config and maybe, just maybe, Playlist. But Darren! Is mysql available on replit? yes https://replit.com/talk/templates/Getting-started-with-MySql/33744 go

Why MySql and need an extra service to run? I would have more thought of SQLite because of

* great performace even on medium trafic websites 100k/visit(day [claim](https://www.sqlite.org/whentouse.html#website)

* otherwise better performace that I/O like json file

* single file database

* ease of deployment just copying a single file

* No diffrence or even improvement in code.

* epic library support

* even more sql features

* Workload is perfect for sqlite of the Bot would be as far as I know just be writing and updating config occationaly
  but reading a lot of data.

Thats a perfect usecase for sqlite

And because it is a wide spread technology it has gread libs and the sql should stay the same or can even be enhancey because sqlite supports more complex querys usualy found on something like PostGres migrating the code should be realtivly easy. Nomraly only the setup should be changed.

I totally agree, we don't need a heavy MySQL Server for storing dashboard data. SQLite is the way to go. :+1:

DarrenOfficial commented 1 year ago

@Checker8763 Why MySql and need an extra service to run? ... And ... only the setup should be changed.

To answer your question, MySQL because at the start this project was designed to run in hundreds of servers simultaneously. But since we all know what happened to big music bot… We now changed our focus for this bot to run on “small” server. Server with few members. SQLite is valid. Will update the to-do list.

@jozef-drabik If there is something u need help with i would like to contribute. I am full-stack developer but mainly focus on next.js and react. HMU.

Any contribution is accepted and welcomed. Feel free to add features that you would like to see added.

@thirsty-12 any update? @SudhanPlayz

AFAIK No, he has been pretty inactive in this project.

DarrenOfficial commented 1 year ago

To be completely transparent with you all, my schedule is very, very full. I only have free time on Sunday night. So some important issue on this GitHub might not get to me in time. Ahem, https://github.com/SudhanPlayz/Discord-MusicBot/issues/1156

I will contribute from time to time with the dashboard development, but I cannot guarantee you. So if you wanted to help / contribute, feel free to do so. Discussion is also welcomed.

aVitomin commented 1 year ago

project with dashboard probably died ? :D

DarrenOfficial commented 1 year ago

project with dashboard probably died ? :D

On hold to be exact... 😄

BLACK4585 commented 1 year ago

Hey, what's the current status of v5? It already got mentioned in the latest release in 2021 "soon™". But it's still not out. Thanks in advance.