We're archiving the forums and going read only! You'll be able to see old threads, but new topics and replies have been disabled.

Visit the Game Jolt community for new questions and conversations.


Something like:

		
			Rachel@Jeroens-Mac-mini:/Volumes/Scyndi/Projects/Applications/Go/src/trickyunits$ gjupload --game:mygame --package:maindownload --version:1.2.3 --publish
Processing 100%
Huzzah! Your game has been uploaded and will be visible after it's been processed!
Rachel@Jeroens-Mac-mini:/Volumes/Scyndi/Projects/Applications/Go/src/trickyunits$
		
	

This above is just a fake shot, but shown to give the global idea.
Some work on this has been done, but I'm putting it here to see how much support there is for a CLI tool (which I think we REALLY need) :P


over 7 years ago

This should be possible to do with curl and a very fancy command line :-)

over 7 years ago

I wanna work on it for fun in my spare time, not sure it'll be an official tool. we definitely need it tho. Uploading with rsync would be pretty easy to do too :D

over 7 years ago

Now I have used curl already for downloading tons of data, but does it also support uploading?

over 7 years ago
In response to %{ user }@Tricky

Yes, curl is basically an http client tool, it can do all http request types, for upload that would be POST and PUT, maybe some others. Basically you'd need a cookie from gamejolt, and the https endpoint + the request scheme and it should be able to upload a game. All that might be possible to read via tamperdata or some similar browser addon.

over 7 years ago
In response to %{ user }@Cyber_Killer

Well, in that case curl could help, indeed.
I use HomeBrew a lot and I know HomeBrew is "curl" based (HomeBrew is a package manager for Mac). I do not know if curl comes standard with Mac though. When I installed Ubuntu in a VM last month I had to install curl separately, so I guess this will in that case need to be clear for Linux users they might need curl as a dependency (I really don't know how things are on other distros).

The big problem could be (as always) Windows. Is curl available for Windows (and I mean for "true Windows" and not cygwin)? And if so I guess it will need to be installed with the CLI tool altogehter.

over 7 years ago
In response to %{ user }@Tricky

I don't think windows users would be interested in anything command line based ;-).

Anyway, this curl solution would need to be scripted around, and probably with help from CROS or other GJ developers (extracting cookies is very cumbersome so ability to pass authentication via POST would help). What I mentioned with curl, is a way that could work as is today, without much effort from GJ staff. However a proper upload API would make this a lot more friendly :-).

over 7 years ago
In response to %{ user }@Cyber_Killer

I don't think windows users would be interested in anything command line based ;-).

You'd be surprised. I was already doing everything on the command line before I switched over to Mac (which has as far as I know even less command line users). After all we're software developers here. Not all Windows users are on Unity, or Game Maker :-P
I've seen more command line freaks in Windows. Not to mention when I'm at work (where they only have Windows) the first app I open is always... the command prompt... (strictly speaking I am on that moment a Windows user, even though I only use it there because I have to) :-P

Now I've looked curl up. According to the English wikipedia curl also is there for Windows, and even better it has an open source license.
Ah, the curl website confirms this. As well "pure Windows" as "cygwin".

Yeah, even with curl I think an application (which can easily be written in Go) will come in handy. Working with urls can be a bit bothersome and the app can make sure all data is in order before even calling curl.

(Now itch.io uses Butler, which does appear to use Go routines to upload stuff (although it's hard to see where the upload code is, as there are tons of files), but Fernando (a Go fan) already made it clear that "screw what they are doing, we will do it our own way". But either be through curl or by Go libraries, there needs to be a server point where the data can go).

over 7 years ago
In response to %{ user }@Tricky

can confirm, am windows user, I use CLI apps all the time...

over 7 years ago

Pretty sure @ylivay already did this because he's crazy

over 7 years ago
In response to %{ user }@CROS

Crazy? Tell me something I didn't know :P

about 7 years ago

Oh yeah, totally forgot I did this. Im not crazy for doing it, im crazy for forgetting.
If anyone wants to help test the tool and give feedback (it's still closed-beta) send me an email to [email protected]

The project is available here: https://github.com/gamejolt/cli

about 7 years ago
In response to %{ user }@YLivay

Me me me! I already sent you a mail :)

about 7 years ago

The gamejolt CLI is amazing when integrated into a pipeline, I use this one: https://github.com/Chaser324/unity-build

about 7 years ago
In response to %{ user }@J3X

Thanks! This pipeline looks very fancy indeed. Do you think it'll be able to handle the features i've got lined up for the public testing milestone?

https://github.com/gamejolt/cli/milestone/1

about 7 years ago
In response to %{ user }@YLivay

YES! That is exactly what I need!