googlecreativelab / coder

A simple way to make web stuff on Raspberry Pi
http://goo.gl/coder
Apache License 2.0
2.42k stars 276 forks source link

Changing the main web app of Coder #67

Closed Luuii closed 10 years ago

Luuii commented 10 years ago

Hi there. I would like to know if is possible to change and add more features [constitution of tools like the visuality-preview web app, security password, more application settings] of the main web app of Coder, How is the best way to do it and what is the status of the license in order to know what changes we capable to do and how to distribute the modified version to any public, or under what rules we can do anything with Coder.

A example that I would like to do is an approximate design like a native app in the device. This is, design of a clean app with hidden the automatic generated hyperlinks of Coder [coder main and the breaks edit code mode, showed in the top right corner in every designed app].

jmstriegel commented 10 years ago

Everything is under the Apache 2 license, unless otherwise noted (see LICENSE in the repo root).

If you want to play around with stuff, pretty much everything in coder is built in coder, including the editor. All apps have 1 html, 1 css, 1 js, and 1 node file. Some of the apps (editor - the editor, coder - the main menu, auth - password and login) have a hidden flag on them, so they don't show up in the main menu. You can edit these by going to /app/editor/edit/appid (Ie. /app/editor/edit/coder will edit the main menu page). Careful editing the editor :)

There's also a little bit of logic that starts up the server, loads the coder modules, and restricts access to certain programs if the user is not logged in. That code is in server.js and you'd need to manually alter that by sshing in to the raspberry pi.

Luuii commented 10 years ago

Okei, I will try to do a first step into coder main app and I will notice it if something happens in a successful way or in a failure way !