WebKit Browser

From AwkwardTV
Revision as of 16:25, 27 February 2008 by Sollie (talk | contribs) (Plugins (Flash, Quicktime, ..))
Jump to: navigation, search

Couch Surfer is a native web browser for the Apple TV written using the WebKit rendering engine. You can scroll through web pages and even interact with them! It also supports web plugins like flash.

Written by Brandon Holland If you like it, please think about donating.

Compatible with ATV 1.x and 2.0

Installation Instructions

Download the installer from Couch Surfer

To install it, you will need to copy the CouchSurfer folder to your AppleTV. You can copy it to the home folder of the 'frontrow' user if you wish, although its location doesn't really matter.

Next, you need to open an SSH connection to your AppleTV, like so:

ssh -1 frontrow@<your_appletv_address>

When prompted for a password, enter 'frontrow'.

Now go to the directory where you placed this folder on your AppleTV and type the following command:

sudo ./installcouchsurfer

When prompted for a password, enter 'frontrow' again.

If you get any errors about installsafari not existing try

chmod +x installcouchsurfer

and run again

Edit the file Bookmarks.plist and add any bookmarks you want, then move it to the directory /Users/frontrow/Documents/Bookmarks.plist ==Plugins (Flash, Quicktime, ..)== (Is there a way to do java)

Enabling things like flash and quicktime is acutely fairly easy but you will need a few files. You can get the plugins off of a Leopard 10.5 install but you will need frameworks from 10.4. Also the needed frameworks are not in the Combo update, so you will need the install CDs or a booted OS 10.4 system.

Step 1:

Copy over any plugins from /Library/Internet Plug-Ins/*.plugin that you want to have. I have tested Quicktime and Flash and can confirm that they work. Note: You need the .plugin versions, there may also be .xpt plugins but these are for Firefox and will be of no use.

You will need to create a /Library/Internet Plug-Ins/ folder on the AppleTV and put the files there.

-bash-2.05b$ md5 /Library/Internet\ Plug-Ins/Flash\ Player.plugin/Contents/MacOS/Flash\ Player /Library/Internet\ Plug-Ins/QuickTime\ Plugin.plugin/Contents/MacOS/QuickTime\ Plugin 
MD5 (/Library/Internet Plug-Ins/Flash Player.plugin/Contents/MacOS/Flash Player) = f4f2bce6ee216e97ed48e649edd47191
MD5 (/Library/Internet Plug-Ins/QuickTime Plugin.plugin/Contents/MacOS/QuickTime Plugin) = e8265ff56537d905c9f0a8be8d2202f0

Step 2:

Locate the proper CoreAudioKit Framework. I used the one off of my OSX 10.4.10 install disk. To extract this framework extract the /Volumes/Mac OS X Install Disc 1/System/Installation/Packages/Essentials.pkg/Contents/Archive.pax.gz archive and then copy ./System/Library/Frameworks/CoreAudioKit.framework from the archive to your AppleTV. Finally move the framework to our /System/Library/Frameworks Folder.

-bash-2.05b$ md5 /System/Library/Frameworks/CoreAudioKit.framework/CoreAudioKit 
MD5 (/System/Library/Frameworks/CoreAudioKit.framework/CoreAudioKit) = 47410bdc321b62e7a1d6bc61f8d545

--Dr Omega 00:58, 27 February 2008 (CET)