1 (edited by 9072997 2013-03-28 20:00:43)

Topic: WebkitCP

This is a VERY early alpha-stage version of the webkit based CP I am working on. So far I have only made 2 widgets, and they are very simple. The CP is also buggy and unfinished, so try at your own risk. Extract the below archive to a ext2 formatted usb stick and boot the chumby with it pluged in. You must have already set up wi-fi in the old flash based cp (sorry, getting to that). You will be greeted with the new cp. Press the chumby logo to see your widgets, the green plus to install new ones, ans the gear to access settings (not implemented). The top button toggles cp/widget view. It is necisary to press the top button after loading a new widget from the cp to see it.

http://www.4shared.com/file/7bN1g8co/we … a-001.html

UPDATE: see post 13 for latest version

Re: WebkitCP

Can you upload it to some place that isn't awful?  I couldn't figure out how to download it from 4-shared with their mix of spam, advertising, signups, etc.

Linux Guy - Occasional Chumby Hacker

Re: WebkitCP

Yeah, this seems like the perfect thing to put up on GitHub, for example.

4 (edited by r1vver 2013-03-22 12:26:44)

Re: WebkitCP

http://www.datafilehost.com/download-f58370d1.html
Remove mark from "Use our download manager and get recommended downloads"

5 (edited by 9072997 2013-03-24 17:31:19)

Re: WebkitCP

Sorry for the add-spamey-ness of 4shared. Is mega.co.nz better? This is release 2 which, is still an alpha-quality build. New features include:
* The ability to uninstall apps
* Volume control on the CP home page
* Button to start sshd for debugging
* Goes back to CP home every time you open the CP

here is the link:

https://mega.co.nz/#!lEM31bgR!JvKjcUx8N … aRgVIc9BOo

Also a new widget (from http://www.nanochess.org/chess4.html) which is a chess game.

Feel free to examine the widgets (they are really just tar files)
http://9072997.net23.net/chumby/ToledoChess.chw
http://9072997.net23.net/chumby/Wifi-Indicator.chw
http://9072997.net23.net/chumby/Flashlight.chw

As per request (and licence requirements) here is the code for the binary "userapp/app". As you can see it is a fork of chbrowser with modifications made so that the cp could load faster (it is always kept loaded in memory).

https://github.com/9072997/ChumbyBrowser

Re: WebkitCP

Does the flash drive have to be ext2 formatted? Zurk's firmware boots off of FAT32 for example. The reason I ask is that I don't have a PC with Linux at the moment. That may make me lose some of my geek cred, but I installed Arch Linux from scratch! And used it for about a month before the Windows installer overwrote my Linux partition. Why install Windows? The DOCX compatability in Libreoffice leaves a lot to be desired, and converters often ruin the document.

Re: WebkitCP

nathanm wrote:

Does the flash drive have to be ext2 formatted? Zurk's firmware boots off of FAT32 for example. The reason I ask is that I don't have a PC with Linux at the moment. That may make me lose some of my geek cred, but I installed Arch Linux from scratch! And used it for about a month before the Windows installer overwrote my Linux partition. Why install Windows? The DOCX compatability in Libreoffice leaves a lot to be desired, and converters often ruin the document.

Getting a linux VM shouldn't take more than an hour... just saying. wink

Linux Guy - Occasional Chumby Hacker

Re: WebkitCP

Materdaddy -

Materdaddy wrote:

...

Getting a linux VM shouldn't take more than an hour... just saying. wink

Just pop in a "boot to Linux" CD and format the thumb drive?

cfg83

Re: WebkitCP

cfg83 wrote:

Materdaddy -

Materdaddy wrote:

...

Getting a linux VM shouldn't take more than an hour... just saying. wink

Just pop in a "boot to Linux" CD and format the thumb drive?

cfg83

Good point. I think I have a copy of Hiren's around here somewhere.

10 (edited by 9072997 2013-03-25 20:05:08)

Re: WebkitCP

Version 3:
* Javascript keyboard (sadly is slow, and requires page loads. From http://net.tutsplus.com/tutorials/javas … nd-jquery/)
* Fixed clock
* Added "Widget Loaded" page
* Added back light dimmer on settings page
* New widget ChChat (requires build 3)
* Probably other stuff I can't think of right now

https://mega.co.nz/#!0JNVmIQD!VGywqFP8j … J2_sef07S8

New widget to demo keyboard (mostly server side code which is included in the comments of www/CH Chat/index.php please don't try to hack my site, it's a simple demo)
9072997.net23.net/chumby/ChChat.chw

Sorry about the ext2 requirement. I haven't tried it on fat, but I think some of the libs use links that may have trouble. I may be able to publish an installer for fat that would download a tar, format the flash drive (mkfs.ext2 is available on the chumby), and extract the tar to the new flash drive, or maby even run off internal storage, though that would require some changes (I've bean hard coding /mnt/usb as the prefix). If that gets done it will probably be part of the "polish" after the more unstable development is done.

UPDATE: Sorry I just realized I left a test script (redirect.php) in the build. It will do no harm, If you want the one without this test script here it is:
https://mega.co.nz/#!0Qsn2KyS!KhDZFVeDT … si2-GWFis0

Re: WebkitCP

nathanm wrote:

Does the flash drive have to be ext2 formatted? Zurk's firmware boots off of FAT32 for example. The reason I ask is that I don't have a PC with Linux at the moment. That may make me lose some of my geek cred, but I installed Arch Linux from scratch! And used it for about a month before the Windows installer overwrote my Linux partition. Why install Windows? The DOCX compatability in Libreoffice leaves a lot to be desired, and converters often ruin the document.

My guess is the "fix" for having it work on FAT32 is ugly.   By ugly, I mean copying files where there should be symlinks.  Things like /lib/libc.so.8->/lib/libc.so and such.

Linux Guy - Occasional Chumby Hacker

Re: WebkitCP

You could compile up http://posixovl.sourceforge.net/ and load that to overlay the FAT filesystem to get better link support, but it seems kinda bogus.  One other solution would be to make a tmpfs filesystem (in RAM), and just symlink from that to all the FAT files from a .sh script stored on the drive.

Re: WebkitCP

Build 5 is done the only new things are it now should run on a fat formatted usb stick, and items on the CP are no longer selected (turn blue) when dragging the cursor across them.
https://mega.co.nz/#!hdlzCR5I!aFiH3GL6u … YM-vg3N2YM

I got around the file system limitations by putting an ext2 file system in a file, mounting that as /mnt/webkitCP and running everything from there.

Re: WebkitCP

9072997 wrote:

Build 5 is done the only new things are it now should run on a fat formatted usb stick, and items on the CP are no longer selected (turn blue) when dragging the cursor across them.
https://mega.co.nz/#!hdlzCR5I!aFiH3GL6u … YM-vg3N2YM

I got around the file system limitations by putting an ext2 file system in a file, mounting that as /mnt/webkitCP and running everything from there.

Thanks! I'll have to get around to trying it later.