WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Web Desktop  (Read 2535 times)

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 355
    • Zendrael's home of projects
Web Desktop
« 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...)


Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 6599
Re: Web Desktop
« Reply #1 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.

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9997
Re: Web Desktop
« Reply #2 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.
The only barriers that can stop you are the ones you create yourself.

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 355
    • Zendrael's home of projects
Re: Web Desktop
« Reply #3 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!


Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9997
Re: Web Desktop
« Reply #4 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.
The only barriers that can stop you are the ones you create yourself.

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 355
    • Zendrael's home of projects
Re: Web Desktop
« Reply #5 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!

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: Web Desktop
« Reply #6 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
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 9997
Re: Web Desktop
« Reply #7 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).
The only barriers that can stop you are the ones you create yourself.

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 355
    • Zendrael's home of projects
Re: Web Desktop
« Reply #8 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!

Offline mocore

  • Full Member
  • ***
  • Posts: 215
Re: Web Desktop
« Reply #9 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 thing could be of any use
 its just some html and javascript , and a httpd ,
 github.com/isaacs/goosh
 this one github.com/slim/bashoola
 adds  an option to exec bash commands ..


« Last Edit: November 06, 2012, 04:38:04 AM by dubcore »

Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 355
    • Zendrael's home of projects
Re: Web Desktop
« Reply #10 on: November 07, 2012, 02:19:01 AM »

 interesting link n link's !

 .. idk if this goosh.org thing could be of any use
 its just some html and javascript , and a httpd ,
 github.com/isaacs/goosh
 this one 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!


Offline Zendrael

  • Sr. Member
  • ****
  • Posts: 355
    • Zendrael's home of projects
Re: Web Desktop
« Reply #11 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!