**** BEGIN LOGGING AT Wed Oct 22 03:00:01 2014 Oct 22 19:01:24 i wrote a php script for downloading and tarring all your IPKs...worth a post for the community? or anyone with a dedicated php server want to host it? Oct 22 19:04:35 PrplHaz4: Sure :) If you can share would be great Oct 22 19:04:42 Downloading from HP servers or..... ? Oct 22 19:05:03 I've been trying osme CURL magic but been getting 403's from HP ;) Oct 22 19:05:41 Herrie: yea, it requires you to dump some stuff from impostah (token, udid, app list) Oct 22 19:05:48 Ah great, I have all this Oct 22 19:06:04 Have a full list of 6000+ IPK's incl URL from TP Oct 22 19:06:14 Of which 2000+ are free Oct 22 19:06:22 yowza....haha...haven't tested at that scale Oct 22 19:07:03 it requires php with exec privs, wget, and tar - but the script is pretty straighforward so easy to modify Oct 22 19:07:25 originally wanted to host it somewhere as a web app, but my host kills processes that run too long Oct 22 19:08:05 :) Oct 22 19:08:06 Herrie: https://github.com/PrplHaz4/webos-ipk-dump/blob/master/webos-ipk-dump.php Oct 22 19:08:29 it's run from command line, and currently doesn't clear cache (so you don't have to re-download if there's a prob) Oct 22 19:09:19 :) Oct 22 19:09:23 OK great stuff! Oct 22 19:10:46 Ah you're using wget, I did CURL Oct 22 19:10:55 yea, figured it was more reliable Oct 22 19:12:06 CURL you have to worry more about request sizes too i think - so my host would kill the dl on big files Oct 22 19:12:39 also experimented with file_get_contents()...etc Oct 22 19:13:02 wget won out based on my restrictions :) Oct 22 19:16:02 On TP it won't run with wget due to https Oct 22 19:18:00 i think wget needs to be compiled with https support :-/ Oct 22 19:18:38 was thinking of ways to get it to run on TP - i didn't even have php on mine Oct 22 19:21:05 TP one doesn't do https only http and ftp Oct 22 19:22:22 But this is helpfull will try the CURL equivalent on tp Oct 22 19:24:05 should run on almost any *nix machine without probs, or even win with a wget binary Oct 22 19:24:30 what version of php does your tp have? Oct 22 19:24:37 and is it available in a repo somewhere? Oct 22 19:27:20 (guzzle may be another php option) Oct 22 19:28:06 It doesn't have PHP Oct 22 19:28:19 I've been modifying Impostah to pull a backup of app cat data ;) Oct 22 19:28:22 So all app info ;) Oct 22 19:28:47 And was playing with CURL to get individual IPK's but wasn't lucky, looks like I was sending too much info in headers maybe Oct 22 19:34:48 ah, gotcha - i got that approach from GMMan here: http://forums.webosnation.com/3378367-post15.html Oct 22 19:47:13 Ah :) Oct 22 19:47:15 Great:) Oct 22 19:52:37 Which is the PALM_PROFILE_TOKEN ? Oct 22 19:52:43 shell script shouldn't be too bad, but then you need to worry about parsing json Oct 22 19:52:46 PalmAuth token ? Oct 22 19:53:05 i think it's actually called "token" in the json output from impostah Oct 22 19:54:21 i just emailed myself the 3 sections from impostah - palm profile, device profile, installed apps Oct 22 19:54:39 found the keys needed and plugged them into the script Oct 22 19:55:18 Ah ok **** ENDING LOGGING AT Thu Oct 23 03:00:00 2014