Jump to content

SirCmpwn

Members
  • Posts

    317
  • Joined

  • Last visited

Everything posted by SirCmpwn

  1. Added support for uploading new versions of your mods, including changelogs. Users can view and download any previous version. live demo
  2. Updates to Kerbal Stuff today: Installation instructions removed Mod authors can now preview their mods before publishing them Screenshots are no longer required List your mods on your user profile When setting your KSP forum username, it doesn't screw it up and lets you autocomplete forum usernames Related: kerbal stuff now hosting a simple API endpoint for this task Tomorrow I think I'll work on letting users follow mods they like, and then allowing modders to upload new versions of their mods. Hopefully I can use this opportunity to implement emailing users who are following mods when their mods update.
  3. Hi MacTee, thanks for the feedback. The upload limit is 50 MB for both images and videos. Images and videos are hosted off-site on https://mediacru.sh (another website I made). If you're able to reproduce the issue of uploading a zip file, could you do it again with the developer tools open, specifically the network panel? Press F12 to see these tools. If the error occurs again, right click and copy as curl, then give that to me (privately! anyone who sees that string can log into the site as you). I just tested at a bunch of different resolutions, including that one, and it looks great. Here are the results: https://mediacru.sh/6ef37eb94c8a I hope to provide that as well as some sort of GitHub integration to smooth the workflow.
  4. Update: you can now download the mods you upload. They're also versioned, though you can't upload new versions yet. Example mod: [Link removed by moderator: original site defunct, now taken over by malware] I read the past few replies and saw the extra emphasis on dependencies. I'll support that the next time I do some work on the site. It'll be a good excuse to get more milage out of Twitter's typeahead.js.
  5. Pounding GitHub isn't a concern with web hooks. Web hooks are made for this sort of thing. They notify you when something changes, so you don't have to keep hitting their servers. Speaking of web hooks, I set up [snip] with one so that it redeploys itself whenever something is pushed to master.
  6. I think it would be feasible to parse this and create new versions automatically, but the only issue is that with a site hosting hundreds of mods, polling GitHub periodically for all of their releases would be troublesome. You could use webhooks instead, and that should do the trick. Modders would have to link the site up with their GitHub repository and follow some instructions to get their hook plugged in.
  7. The overall goals I have are: Good UX overall for modders and users alike By extension, good search, good hosting, multiple versions of mods and KSP, and so on [*]Respectful of Do Not Track [*]Project Wonderful ads (maybe?), with revenue sharing if there's any revenue to share I use Project Wonderful on https://mediacru.sh, they have good ethics and a good community. MediaCrush's finances are posted here. [*]Open source and well designed ([snip]) so others can contribute and it can scale well [*]Email users when mods update (I said this would be tough, but I did some more research and it can be done for version 1) So far I've implemented user accounts and mod creation, and tonight I'll polish up mod creation and probably get down to search stuff. I think my efforts are promising, hopefully others can agree and help out.
  8. Thanks for the testing. Sorry it was finicky last night. I'll see if I can add a "Back" button. It should be pretty easy to do. This isn't easy to do, but I'll see what's possible. Update: I added a back button, but I haven't deployed it yet. Going to try and fix some deployment issues on production first. Refreshing the page and saving data actually should be fairly possible, and is already mostly done for us by the browser.
  9. I just manually confirmed your account, sorry about that. Someone else reported it and I haven't deployed the fix yet. (I have done so now, though). Sorry for the 500 errors, I was fixing a few bugs rapid-fire after hearing from another user. All should be well now.
  10. Okay, I set up the mod creation workflow and I'd like some feedback on it. Create an account and then create a mod, and let me know what you think of the flow. I recorded a video of the process if you'd rather not go to the trouble of creating an account and everything: https://mediacru.sh/OYfwB2-tZIwP The code is all pushed up to GitHub, feedback on that is also welcome: [snip]
  11. I've used a few mail services that claim to deal with the spam issues. I've also set up my own mail servers, and I know that if we go that route it'll be tough to get working (we'd need a mailer daemon that paces itself, as well as the enormouse headache of setting up a mail server with all the extra anti-spam stuff in place). It's probably 2 or 3 days of full time work to get the mail stuff going, but I'll put some more thought into it to see if it's worth it for version 1.
  12. Hello! I thought I'd throw my hat in the court. [Link removed by moderator: original site defunct, now taken over by malware] Note that the frontend of this is barely more than a bootstrap site with some layout thrown together. The backend is a WIP, but currently has some notable things in place: Python+pSQL backend, with nginx in front of it SCSS+CoffeeScript processing pipeline (also supports plain CSS and JS) SqlAlchemy is wired up with a few data types defined and wired up [Link removed by moderator: original site defunct, now taken over by malware] I've done scalable sites before. I have one site that runs on a single server and handles a million pageviews a month, streaming HTML5 video to most of them. It peaks at a thousand requests per second during heavy loads and doesn't break a sweat. I'm taking a similar approach here, and this site should be able to scale fine on day one (assuming it's on better hardware than the dev server it's running on now). Speaking of that site that handles a million pageviews a month, I have a good website with infrastructure for hosting images and video that can be easily integrated into this one - https://mediacru.sh (also open source). You can see on the example mod page that MediaCrush is running the embedded video. I'll get this integrated more or less seamlessly and then the load of images and video is handed over to a fast and reliable host. I've read this thread and I know more or less what people want, so I'm going to do my best to match that. I chose not to go with MongoDB for two reasons - data integrity, and fancy queries. I know people want data on how their mods are being used, and a relational database is a good tool to crunch that data for them. I chose Python because it runs on any Linux server out there, as well as being a sane language overall (I did not choose PHP because it is not a sane language. I did not choose node because it's not as sane as it should be). I also went with Python because I can steal a lot of the MediaCrush code (like the asset pipeline) to make things go faster. I have also decided NOT to do some things that I've heard in this thread. I will not be hosting a build server (out of scope), and version 1 will probably not have email blasts when mods update (I'd rather not have GMail flag me as a spammer). Let me know if you're interested in helping out.
×
×
  • Create New...