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

Display list of themes on web frontend #21

Open
AbbyCottontail opened this issue Aug 13, 2017 · 5 comments
Open

Display list of themes on web frontend #21

AbbyCottontail opened this issue Aug 13, 2017 · 5 comments

Comments

@AbbyCottontail
Copy link
Collaborator

Displays a list of of themes that can be selected with ducky

AbbyCottontail pushed a commit that referenced this issue Aug 13, 2017
Update SQL file to include werewolf tables/data and add skeleton for web-ui ref: #21, #6
@LucileDT
Copy link

Same as #20: could you add details of how the thing would works?

@AbbyCottontail
Copy link
Collaborator Author

Still considering the implementation details of it. The front end of itself, now, data is stored in sqlite, that's not a problem side of the things, I'm trying to think ahead with ideas that may come up, and one idea is displaying user profile, there's some information that comes from discord itself and some that come from sqlite, so would that interaction would happen.

At the moment, I'm considering php for the web backend of things for ease of development however there's the discord interaction and there's several solution to it. Let me copy/paste from the discord chat.

Hey, programmer incline @ducky's-fans I have a question, for the php frontend, I want to access some of the data from discord API, (such as user nicknames, and so forth) Now, I can think of several ways that could this could be achieved, one is to spin up the PHP Discord API https://github.com/teamreflex/DiscordPHP, https://github.com/restcord/restcord (to name a few), to creating restful API with Java https://www.playframework.com/ PHP could call, and finally there's a bridge http://php-java-bridge.sourceforge.net/pjb/ (for one example) And I'm honestly not sure which method to aim for, now for the record, I want to mention that more than one program can access the same token, (so in theory you could have many bot program accessing the same token if need be, not sure what's the limit is)

I can think of a few pros and cons of each method but I want to hear the opinions and ideas from others.

@LucileDT
Copy link

If I understand well, it's an other project, which would be the creation of a website?

@AbbyCottontail
Copy link
Collaborator Author

That's actually a good point, I will create a project called Ducky's Website

@LucileDT
Copy link

I think you should probably need to create a new repository for the website (unless you want to mix the bot code and the website code into one big pack, but in my opinion, it's gonna be messy if you do it that way).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants