Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
This is a simple editor to be used on the Raspberry Pi (or anywhere?).
JavaScript Python ApacheConf CSS Shell HTML CMake

This branch is 588 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
controllers
helpers
public
views
.gitignore
README.md
config.js
package.json
server.js

README.md

OccEditor

This is a simple editor for learning to program the Raspberry PI.

Installation

On the Raspberry PI:

sudo apt-get install nodejs npm redis-server -y
mkdir ~/tmp
npm config set tmp ~/tmp
git clone git@github.com:adafruit/OccEditor.git
cd OccEditor
npm install
node server.js
or
sudo node server.js (to use I2C, etc)

Browser:

http://raspberrypi.local:3000

TODO:

  • Add ability to rename, and delete folders and files.
  • Queue up git requests...
  • Better Commit messages?
  • Setup git config git config --global user.email "you@example.com" git config --global user.name "Your Name"
  • Basic Command Line access, ability to submit commands. (discussions probably further needed)
  • Add bitbucket to known_hosts at server startup
  • Generate SSH Key, and use Bitbucket API to add it to account?
  • Security (xss, chroot, etc)
  • simpler installation

Nice to have:

  • Resizable left-navigator
  • File Tree for advanced users
  • vim/emacs modes in editor

SCREENSHOTS

Coming soon

Something went wrong with that request. Please try again.