Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord Music Bot v5 - Dashboard #638

Open
2 of 15 tasks
SudhanPlayz opened this issue Jan 9, 2022 · 55 comments
Open
2 of 15 tasks

Discord Music Bot v5 - Dashboard #638

SudhanPlayz opened this issue Jan 9, 2022 · 55 comments
Assignees
Labels
Help Wanted Help Wanted Soon Will be done soon type: enhancement Feature to be added

Comments

@SudhanPlayz
Copy link
Owner

SudhanPlayz commented Jan 9, 2022

To Do list for dashboard of v5

Features

  • Routes handler
  • API Authorization
  • Discord Authorization
  • Socket.io Handler with Auth
  • Web Lyrics

Endpoint

  • POST: Add song to server
  • GET: server queue
  • GET: params(query) to search top 10 songs and return it
  • GET: current song
  • POST: Delete song from queue

Socket.io

  • Connection event
  • Song added event
  • Queue ended event
  • Pause n play song event and handling from clients

Web

  • Design a beautiful panel UI

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

@SudhanPlayz SudhanPlayz added Soon Will be done soon Help Wanted Help Wanted type: enhancement Feature to be added labels Jan 9, 2022
@SudhanPlayz SudhanPlayz pinned this issue Jan 9, 2022
@DarrenOfficial
Copy link
Collaborator

yeeeeeeeeeeeeeeeeeeeee

@JotaroKujo0525
Copy link
Collaborator

h

@SudhanPlayz
Copy link
Owner Author

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

@DarrenOfficial
Copy link
Collaborator

DarrenOfficial commented Jan 10, 2022

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

Teach me react js.

@SudhanPlayz
Copy link
Owner Author

SudhanPlayz commented Jan 10, 2022

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
Copy link

k-g-n commented Jan 17, 2022

hmm

@DarrenOfficial
Copy link
Collaborator

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

@SudhanPlayz
Copy link
Owner Author

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

Learn ;-;

@priyam1234-spec
Copy link

any eta on this?

@TheOnlyWayUp
Copy link

[ ] POST: Delete song from queue

Convert to [ ] DELETE: Delete song from queue.

@DarrenOfficial
Copy link
Collaborator

No? theres no such thing as Delete

@DarrenOfficial
Copy link
Collaborator

DarrenOfficial commented Feb 4, 2022

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. #638 (comment)

Based on @Checker8763 suggestion.

@TheOnlyWayUp
Copy link

No? theres no such thing as Delete

https://reqbin.com/Article/HttpDelete

@DarrenOfficial
Copy link
Collaborator

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
Copy link

Press a button -> Sends delete request

@DarrenOfficial
Copy link
Collaborator

no

@DarrenOfficial
Copy link
Collaborator

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

@DarrenOfficial
Copy link
Collaborator

cause there's multiple variables, such as different guilds

@SudhanPlayz
Copy link
Owner Author

[ ] POST: Delete song from queue

Convert to [ ] DELETE: Delete song from queue.

i just wanna make everything POST and GET lol

@DarrenOfficial
Copy link
Collaborator

exactly, simple 🙏

@Vincenzo160
Copy link
Contributor

What appended?

@popQA17
Copy link
Contributor

popQA17 commented Apr 23, 2022

Need help with react (nextjs)?

@DarrenOfficial
Copy link
Collaborator

if you can sure 👍🏼

@gspxrk
Copy link
Contributor

gspxrk commented Jun 10, 2022

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
Copy link
Contributor

gspxrk commented Jun 10, 2022

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
Copy link
Owner Author

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
Copy link

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
Copy link

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

@SudhanPlayz
Copy link
Owner Author

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
Copy link
Contributor

popQA17 commented Jun 18, 2022

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

@popQA17
Copy link
Contributor

popQA17 commented Jun 18, 2022

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

@SudhanPlayz
Copy link
Owner Author

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
Copy link

ded

@SudhanPlayz
Copy link
Owner Author

ded

not really

@IlyasMooerkens
Copy link

ded

not really

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

@JotaroKujo0525
Copy link
Collaborator

ded

not really

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

ye

@popQA17
Copy link
Contributor

popQA17 commented Aug 19, 2022

Any news?

@Checker8763
Copy link

Checker8763 commented Sep 6, 2022

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
  • 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.

@jozef-drabik
Copy link

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
Copy link

sukhman-16 commented Feb 15, 2023

any update? @SudhanPlayz

@pheeef
Copy link
Contributor

pheeef commented Feb 20, 2023

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. 👍

@DarrenOfficial
Copy link
Collaborator

@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
Copy link
Collaborator

DarrenOfficial commented Feb 24, 2023

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, #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
Copy link

aVitomin commented Apr 4, 2023

project with dashboard probably died ? :D

@DarrenOfficial
Copy link
Collaborator

project with dashboard probably died ? :D

On hold to be exact... 😄

@BLACK4585
Copy link

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.

@brianferri
Copy link
Contributor

brianferri commented Jun 19, 2023

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.

Working on it right now, but in v5.1. we time skipped.

Get live updates from
#1227

@brianferri
Copy link
Contributor

All this has been done in: https://github.com/wtfnotavailable/Discord-MusicBot

@fragtion
Copy link

fragtion commented Mar 7, 2024

@BioCla
can you open issue requests on your repo? we need lavalink v4 support

@dpaes
Copy link

dpaes commented Sep 12, 2024

this still in develelopment?

@LewdHuTao
Copy link
Collaborator

this still in develelopment?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Help Wanted Soon Will be done soon type: enhancement Feature to be added
Projects
None yet
Development

No branches or pull requests