PMPluginDevelopers / Plug-On

Official Website Development - Project Website and Forums:
http://plug-on.tk
6 stars 2 forks source link

[Discussion] General Discussion #9

Closed Thunder33345 closed 8 years ago

Thunder33345 commented 8 years ago

Ok since we all rarely discuss most things at least to me i guess So lets get this straight i would like to see how other contributor envision this to be or prefer how this would be Personally: it would be consist of home,upload,list page my original idea would be that we will have a SQLITE3(NOT MYSQL)(since SQLITE is free unlike SQLITE) database that stores user,voting,plugin data itself etc ok but before i went on rambling i would like to see what other of you guys have to say

Magicode1 commented 8 years ago

My General Thoughts:

I totally agree. I had the same homepage layout as you, except I also wanted to add an Authors page.

I also like the idea of using SQLITE3, can you help get that set up?

Me and Edward where not communicating at all, just changing stuff and reading each others commits 😄

I made a To Do List issue, you can edit it if you want

Also, I will make you an Owner

What if we make some teams to divvy up the work?

It would also help to have more contributors, do you know anyone who would want to help? 😋

Thunder33345 commented 8 years ago

well for author it would be better to be like plugin.php?id=(plugin ID) the plugin php will do the work for sorting out data and so on sure but i would just be happy if i have write access also about contributors it would helpful if we have a more somewhat clearer shared goal so we wont end up with a lot people trying to do the same thing with different approaches which would not be helpful

Magicode1 commented 8 years ago

Agreed. I gave you Ownership and write access

Maybe we make our goals and approaches in the Wiki?

Thunder33345 commented 8 years ago

ok i think you could do that with the wiki about the SQLITE we dont necessary need to set it up as long as the host support it

EdwardHamHam commented 8 years ago

Is the plan still to use infinityfree.net? I've used them, I know they support MySQL, however I'm not sure about SQLITE.

Thunder33345 commented 8 years ago

I dislike SQL for several reasons some host limits space or how much "databases" you can have and for SQLITE it cant be limited(other than storage limit) it just need the SQLITE library to function

Magicode1 commented 8 years ago

InfinityFree.net is a good option, I assume there's no better ones out there?

Do we want out own domain?

Github also supports making websites from repositories, but they are pretty limited on space.

Thunder33345 commented 8 years ago

i THINK github allows you to redirect it to DNS like settings? where you just need to point it toward github's DNS and they will sort it for you not very sure will go on and research a bit

Magicode1 commented 8 years ago

Same, I am unsure of their features

Thunder33345 commented 8 years ago

Update: wasted more time than i like researching i don't know maybe we just have to use git pages to redirect it toward our host IP meanwhile i found something https://thunder33345test.github.io/PageTest/ some browsers dont like it tho and very hacky

EdwardHamHam commented 8 years ago

Wait. I'm afraid I have some bad news. I just read Infinity Free's terms of service. Part of it says this:

upload, post, email, transmit or otherwise make available any material that is of keylogging / proxy service / irc / shell(s) if any type / file hosting / file sharing types.

In other words, we can't use them, because sharing the plugins counts as "file sharing". Looking at the rules of some other free hosts, it looks like the only web hosts without that limitation, are very limited free hosts, or paid web hosts.

Magicode1 commented 8 years ago

I like the test page @Thunder33345

Do either of you have access to your own server? If so we could use that.

I am going to research some more web hosts.

Magicode1 commented 8 years ago

Ok, Some stuff on what I found:

https://blog.cloudflare.com/secure-and-fast-github-pages-with-cloudflare/

Github pages doesn't seem too secure. If we want to have a login system then maybe self-hosted or online hosting is better.

It says we could use cloudflare but IDK how much more secure it will make it.

Thunder33345 commented 8 years ago

Glad you catch that @Edwardthedog2 we have a few valid options:

Thunder33345 commented 8 years ago

@Magicode1 i have my own server which i got for free but that is all i would have to make a subdomain or something to make it host there also remember someone offer to sponsor the first month but that is not enough since we need to be self sufficent as possible

also github pages arent meant to be top tier security it is meant to just SHOW stuff like your project page or personal pages but not like for your important stuff that need to be threatened with security what we are doing is just essentially HACKING it since by

they DONT serve PHP and they are not a webhost

Magicode1 commented 8 years ago

A redirect might be the best bet then.

No-ip would be a good option. They have a nice system, but you have to refresh it once a month in order for the Dynamic-DNS to stay active.

http://www.noip.com/

Thunder33345 commented 8 years ago

depends do you want it to be (something).github.io or yourname.(ddns from no-ip) wait we could use (something).mcpe.me !!!! (it somewhat suits more since we are about mcpe anyways right?)

Magicode1 commented 8 years ago

Yeah! Thats what I was thinking!

Thunder33345 commented 8 years ago

i guess we can "close" that issue about domain names ok we still need to sort the issue about no file sharing

Magicode1 commented 8 years ago

If you have a server, we could use noip for that server, then we wouldn't have to worry about file sharing restrictions.

Thunder33345 commented 8 years ago

well it is a hosted server that i own but not very sure if they allow hosting

Thunder33345 commented 8 years ago

oh wait never mind

Magicode1 commented 8 years ago

Ok

Sweet! Is it ok if we use it for this website??

Thunder33345 commented 8 years ago

nope like my last reply from what i seen most webhost does not allow it but we could just try it anyways if we limit the size of each files so it wont be too critical OR just let some website to handler our plugins

Magicode1 commented 8 years ago

We could try google drive. It has 15GB free. Just store the plugins there and have the website access them. It's secure, and if it gets full we could have a script that deletes the least voted/outdate plugins from the bottom of the list. There is also an option to HOST from google drive, again possibly using the Noip

Thunder33345 commented 8 years ago

i mean if we really strive to not violate the TOS we could and if we are just hosting plugins it wont be too much of an headache we arent hosting videos so capacity wont be an issue but it would help if we have other alternatives so i could investigate their APIS or just brute force it in PS something like https://transfer.sh/ but store files longer like prefrebally forever will do the trick too

Magicode1 commented 8 years ago

Alright, I will look into other options. I will let you guys know what I find. If you find anything be sure to tell us as well. 😃

It might be beneficial to use google drive to host the files (Have an HTML/PHP script to upload the author's plugins to google drive) and then just use the download url inside a Download box on each plugins page

EdwardHamHam commented 8 years ago

Found something! We could use https://kloud51.com as the host. I've used them before, pretty good pricing, and very professional services. I've read their terms of service, and they have no rule against hosting a file sharing site on their web hosting plans. Read it at: https://kloud51.com/tos

Magicode1 commented 8 years ago

Awesome! We would definitely have to use the Google Drive approach I mentioned earlier because of their storage size, but it looks like a really solid option!

I have to do some more research on it, but for now, I think it would be best to start working on the To-Do list at: https://github.com/PMPluginDevelopers/Plug-On/issues/8

We also have to keep in mind that we can't release the website until we've coded it as well 😋

I'm so excited to get this up and running!

EdwardHamHam commented 8 years ago

Is there a way to have a website obtain the files from Google Drive?

Thunder33345 commented 8 years ago

personally my idea is to store all author and dats on another sqlite table so it dosent matter as long as i can give them a download button to somewhere that the file stays permenant and good find @Edwardthedog2 but storage size is questionable but the 0.50$/M(6$) plan is something to keep in mind personally i would like to have other options since the google drives api seems to no where be found or at least for me i prefer NOT using a libary if it is possible i would go with external storage TBH if dealing with this size since we rather aim to keep the site running long with the artifect plugin of the past

Thunder33345 commented 8 years ago

we would have to use API to upload files to THERE once player uploads them on our site so it looks like User upload plugin -> our server API -> external storage API return link -> server store link user request -> our server give link to user -> user download from that link now i think about if we can also ASK user to handel them by themself like tell them to give link but not good since it can be removed/do stuff on

Magicode1 commented 8 years ago

There is a way. Google drive lets you make download links. You could simply put those links into a download button and it would download from google drive. It would also cut out a considerable amount of traffic data.

Magicode1 commented 8 years ago

About the api... I have no idea. But there is a resource called google scripts:

https://ctrlq.org/code/19747-google-forms-upload-files

Thunder33345 commented 8 years ago

hm nope we need PHP code that uploads it so we are basically middle man passing data to our external API google seems fairly decent since it should be persistent and forever but their API is kinda over compeherensive for my liking i am also in search for free alternative with free API nothing to loose really looking for possible alternatives also this should be the last massage from me for the day at least while i sleep

Thunder33345 commented 8 years ago

update; i think it is best of our interest to just store it ON site with a host that allows that so we dont need to deal with external APIS and remember plugin are only around KB

Magicode1 commented 8 years ago

So we are still going through with this website, even with xBeastModes? I was thinking we could have more features, like author pages and leaderboards.

Magicode1 commented 8 years ago

Yes, I agree, we just need to find a host with enough storage. Yeah plugins are super tiny. Even worst case scenario (Plugins all being 25kb) we could store 400 of them on 10mb

And I guess we will have more features, because our design is mostly crowd sourced, with plugins earning votes to get to the top.

Thunder33345 commented 8 years ago

yes i personally would like to do that regardless of how it turns out it is a learning experience for me but serious for a moment the issue with it was aparently there other people have the sort of same same idea(in a more general spectrum- a site to share plugins) look at XBeast with his plugin page or SOFe with her poggit and mostlikely even more that we never notice

Magicode1 commented 8 years ago

Yes, the thing that sets our site apart is our voting system. We don't have plugin reviewers, authors just post there plugins and they either get voted for to go up the list, and ones with the least votes go to the bottom

Magicode1 commented 8 years ago

That's why we need to finish the PHP upload script so we can get working on the Plugin list

Thunder33345 commented 8 years ago

yes and a useful DORK(not the best on using dork but this should do the trick) should pull out host that did not say we cant file share (best to read their site to make sure they are free and did not use other kind of "unprediected" wording

Thunder33345 commented 8 years ago

Come to conclusion that https://www.2freehosting.com/features.html would be our prefered host to deploy our work onto they have no regulations against file sharing with 20 GB disk space that should do the trick

Magicode1 commented 8 years ago

Sounds good. Now we just need a Domain.

Thunder33345 commented 8 years ago

well that was surely a heck of a problems we are encountering we could probably request plugon.mcpe.me for an easy solution ALSO : the site will automatically be deactivated if it dosent have visitors for 30 days(like all free hosts) ALSO : just notice that they uses PHP 5.4 as latest i have a genius idea for a ping back mechanism to avoid that automatically doe

Thunder33345 commented 8 years ago

actually i think all free host are out of order since their FTP wont work

Magicode1 commented 8 years ago

So we can't do a free host?

Thunder33345 commented 8 years ago

we may just have to use some cheap host

Magicode1 commented 8 years ago

Alright. Who should sponsor? I can't spend any money on it ATM

Thunder33345 commented 8 years ago

no idea TBH