dries007 / cursemeta Goto Github PK
View Code? Open in Web Editor NEWA small shim between CurseForge/Twitch & MC launchers like MultiMC
Home Page: https://cursemeta.dries007.net
A small shim between CurseForge/Twitch & MC launchers like MultiMC
Home Page: https://cursemeta.dries007.net
Appears that cursemeta.dries007.net is down.
While running a serverstarter script, it ran into this error:
java.io.IOException: Request to https://cursemeta.dries007.net/410127/3548273.json was not successful
Link: https://cursemeta.dries007.net/293425/2697986.json
Project: https://minecraft.curseforge.com/projects/alchemistry
File: https://minecraft.curseforge.com/projects/alchemistry/files/2697986
This URL was requested by multimc, and this issue has made it fail to download/install a pack I'm working on.
Some Project+FileID combinations MultiMC is trying to resolve via CurseMeta are returning host errors. It looks like it might be an intermittent issue, my guess is that the result sometimes manages to make it to the cache but that the backend requests are timing out. Sorry for hammering the heck out of the server ๐
Examples
Texture packs added to modpacks result in 502 Bad Gateway
Example: https://cursemeta.dries007.net/270078/2457838.json
Modpack: https://minecraft.curseforge.com/projects/all-the-mods-3/files
Apparently something super bad happened and the server is responding with internal errors:
https://cursemeta.dries007.net/
The staging site and the API are currently returning an 'Internal Server Error', or Error 500.
Pretty basic use-case of resolving a slug to an mod id. No idea how to get it to work.
I tried minecraft/storage-drawers
using GET & POST in various different forms, but I always just get 200 null
back (yay)
The following pages return a stacktrace on top of a json error.
See also https://paste.ee/p/zjuT9 for the full error.
The game version for releases is is missing an R in the key. Just spent a good amount of time trying to work out why I kept getting issues with undefined values lol.
{
"FileType": "release",
"GameVesion": "1.4.2",
"ProjectFileID": 642755
},
The CORS settings for https://staging_cursemeta.dries007.net prevent accessing the API from other domains in a browser. This makes it not possible to use the CurseMeta API in a front-end web app.
You can watch this issue if you want to know if/when sections are finished.
V2 is now live, under beta label. A live-edit staging environment can also be found on staging_cursemeta.dries007.net.
With the v2 python rewrite, all the previous aggregation/stats/history functionality was lost.
Bringing all of it back will take time, but will be done over time.
Feel free to comment and note what you need. New functionality may also be requested here.
This is causing MultiMC to fail as newer files are not found, causing download failures/json parsing failures.
Last entry in
https://cursemeta.dries007.net/history/index.json
"timestamp_human": "2018-02-23 21:58:27 UTC",
"timestamp": 1519423107,
"history": [
....
1519419991,
1519423107
]
}
So something may need kicking or Curse changed something again.
It would be really nice to have a way to get server version of a modpack (imagine a self-updating modded server). Right now the API lists only client-version files.
Just my thoughts: AddonFile model has IsCompatibleWithClient property. Could be the thing.
Hello, I've been looking into using this for MMD's curse info bot. Basically you give the bot a username, it will tell you how many downloads that user has, and link to their top 10 projects. I was wondering if you could add a few things to help us out.
This is what the current output looks like.
The main thing missing is the monthly downloads data for a specific project. Im not sure if you have that data available when you scrape it, but it would be nice to keep that feature. Some other feature requests would be a way to get all of the projects from a username. Grabbing the mods.json every few hours and processing it ourselves would allow for this, however it would make the bot less ram/storage efficient than it is now. I noticed that you can search using a username but scraping this has similar performance to what we have now.
Another thing we have been planning to implement, is a system that will announce when a new mod has been put on Curse. This is probably beyond your scope, but do you think it would be possible to have a way to get all mods that were created since the last time the data was scraped?
Thanks
The API should support basic query syntax, for example:
GET /.json?ver=1.12&fields=name,versions,url
[
{
"name": "Project that supports 1.12",
"versions": ["1.12", "1.0"],
"url": "http://blah.blah"
}
]
There should also be endpoints for searching, eg;
GET /search.json?q=tinkers
[
{
// Tinkers Construct
},
{
// IDK something else with tinkers in the name/desc
}
]
(Will continue updating this issue)
I noticed that the user profile has the ASPX extension appended when it shouldn't. This is easy to fix on the receiving end, but still a bit weird.
"Authors": [
{
"Name": "NuclearHex",
"Url": "https://mods.curse.com/members/NuclearHex.aspx"
}
],
This leads to issues like these:
MultiMC/Launcher#2340 (comment)
Specific request:
https://cursemeta.dries007.net/278645/2514913.json
It should contain something like this to be usable:
"_Project": {
"PackageType": "singlefile",
"Path": "resourcepacks"
},
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.