Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: Zendrael on November 04, 2012, 01:39:51 PM

Title: Web Desktop
Post by: Zendrael on November 04, 2012, 01:39:51 PM
Hello all!

I just started a web desktop to use with the Core.

Think in it acting like AirDroid does when installed in your Android device - it provides a "desktop" interface accessible trought a browser to view, edit, upload files to the device and download, install apps... etc..

I am just wondering what would be better: an app that depends on lighttpd to run OR a single app that responds on some port while running (no webserver required)...

Anyone interested in sharing some ideas?

Basic features for now (test version) are:
- install tcz
- edit filelist, ondemand and bootlocal files
- backup system (mydata.tgz)
- and many more to come!

When good enought, where can I post the TCZ file so other people can help testing it?

Thanks by your attention and sorry by my english! (It's better to create a locale for it too...)

Title: Re: Web Desktop
Post by: Rich on November 04, 2012, 04:51:52 PM
Hi Zendrael
Quote
When good enought, where can I post the TCZ file so other people can help testing it?
Check out this Wiki page:
http://wiki.tinycorelinux.net/wiki:creating_extensions
The instructions for where to submit an extension are at the bottom of the page.
Title: Re: Web Desktop
Post by: curaga on November 05, 2012, 07:20:11 AM
I'd recommend a CGI script, which can then be run from any web server. You could even post it in the programming section then.
Title: Re: Web Desktop
Post by: Zendrael on November 05, 2012, 09:10:54 AM
Hello!

@Rich, thanks by the link, I was just there a few seconds before you answer! 

@Curaga, I think it is the easier way. But, for example, if some user just need to access the machine and don't want to have a webserver on it? Maybe someone already has a webserver and uses a Core machine just to handle some files... Or maybe both approaches are good and useful, for those who want (or don't mind) to install a webserver and those that don't...

The initial usefullness of the proposed webdesktop is good? Do you think it would be usefull for some people?

Thanks by the attention!

Title: Re: Web Desktop
Post by: curaga on November 05, 2012, 11:18:10 AM
Yes, I think it will be useful. But having it standalone instead of behind a server, I don't see the point in that. It's very quick to set up busybox httpd for that purpose if needed.
Title: Re: Web Desktop
Post by: Zendrael on November 05, 2012, 11:59:05 AM
Hello @Curaga!

The busybox that comes by default with the Core was compiled with Http?

I saw an applet here: http://forum.tinycorelinux.net/index.php?topic=2208.0 - is it still needed?

And, if the applet is necessary, it will replace the default busybox?

I am using lighttpd to do the tests, so I am asking about busybox-httpd because I won't knew that it was possible!

Thanks for pointing me on this!
Title: Re: Web Desktop
Post by: tinypoodle on November 05, 2012, 07:28:34 PM
Perhaps some of those links might be useful for your purposes:                 
                                                                               
http://wiki.openwrt.org/doc/howto/webinterface.overview
Title: Re: Web Desktop
Post by: curaga on November 06, 2012, 12:16:32 AM
No, the base build of bb doesn't include httpd, but the extension is very small and has no deps (16kb).
Title: Re: Web Desktop
Post by: Zendrael on November 06, 2012, 02:33:10 AM
Hi @tinypoodle!

In 2009 I had a project called "Netwix" which was a web desktop to be used locally (http://www.youtube.com/watch?v=9ww1taiLP-k ) - It was some sort of "Palm WebOS" or "Mozilla B2G" for desktops - none of them existed in that time. If this web interface/desktop goes well with Core, maybe I can release the app to run it locally too for those who want just web apps or HTML5 based apps. Thanks for the link!

And thank you @Curaga! I will go for the CGI way and start the tests with busybox and the httpd extension!

The app (CGI) is still too big for me (1.8MB)... I will try to compress some JS and CSS sources and see what happens...

Thank you guys for the answers!
Title: Re: Web Desktop
Post by: mocore on November 06, 2012, 04:31:54 AM
Perhaps some of those links might be useful for your purposes:                 
                                                                               
http://wiki.openwrt.org/doc/howto/webinterface.overview

 interesting link n link's !

 .. idk if this goosh.org (http://goosh.org/) thing could be of any use
 its just some html and javascript , and a httpd ,
 github.com/isaacs/goosh (https://github.com/isaacs/goosh)
 this one github.com/slim/bashoola (https://github.com/slim/bashoola)
 adds  an option to exec bash commands ..


Title: Re: Web Desktop
Post by: Zendrael on November 07, 2012, 02:19:01 AM

 interesting link n link's !

 .. idk if this goosh.org (http://goosh.org/) thing could be of any use
 its just some html and javascript , and a httpd ,
 github.com/isaacs/goosh (https://github.com/isaacs/goosh)
 this one github.com/slim/bashoola (https://github.com/slim/bashoola)
 adds  an option to exec bash commands ..

Thanks for the links @Dubcore! I'm doing something more graphical but this looks interesting to research!

Title: Re: Web Desktop
Post by: Zendrael on January 06, 2013, 01:55:41 PM
Hello!

Just writting to show the progress of the project (image attached).

Hope the Core team enjoy!