Skip to content
MangoLight Editor is a lightweight open-source code editor for editing files remotely through FTP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
functions
public
tmp
LICENSE
README.md
config.php
index.php

README.md

MangoLight Editor

MangoLight Editor is a lightweight open-source code editor that works in the cloud, created by Nicolas Thomas from MangoLight Web agency.

Official page: http://www.mangolight.com/labs/mangolight_editor/index.php

Features

  • Remote edit your files in your browser
  • Run on your own server
  • Unlimited FTP connections, simultaneously
  • Small, simple and very fast
  • Basic requirements (PHP & jQuery)
  • Open-source
  • Files browser, tabs bar, functions browser
  • Multiple windows
  • Password protected
  • Light or dark interface / 36 code themes
  • Based on the incredible Ace Editor
  • Syntax coloration for +100 languages
  • Autocomplete
  • Code folding
  • Multiple cursors
  • Search and replace using regex
  • Create/Edit/Delete remote files and folders
  • Rename and move remote files
  • Download an upload files
  • View remote images
  • View your changes using the integrated web-browser

Installation notes

Note: MangoLight Editor is in early stages of development. Please configure correctly your server in order to restrict the access to this tool. Suggestions, improvements, and fixes are welcome. Read the Licence before using MangoLight Editor. I am not responsible in any damage this tool could do on your files, server, computer or life! Enjoy :)

  1. Download MangoLight Editor and upload it to your server
  2. Set writing permission to /tmp folder and config.php file
  3. Open MangoLight Editor in your browser
  4. Configure your login and password; and FTP connections
  5. Start using it!

Why another code editor?

The reasons why I created this tool:

  • I love cloud editors for their simplicity, I just open my browser and can start coding.
  • I don't want to be afraid of loosing anything if my computer crashes (a cron job back up daily my server's files).
  • I don't like duplicate files, I'm always lost between local and remote versions.
  • I'm always in a place where there is an Internet connection, so a cloud editor is fine for me.
  • I want to have a code editor that I can make evolve / I like to create things.
  • I don't need IDE powerful functionalities (compiling, refactoring, collaborative editing, ...).
  • I got used to avoid developping locally, I prefer to code from my server and be sure everything is backed up.

I shared this code editor because I think it can be useful for someone else than me. Try it and see if it fits your needs!

Todo

  • Better security, attach tokens to any actions to prevent CSRF attack
  • Manage mutliple users / Hosted version
  • Plugins
  • Upload several files at the same time
  • Download entire directory as zip file
  • View files size
  • View/Edit files permissions
  • Your ideas...

Keyboard shortcuts list

  • Ctrl + S: Save/upload file
  • Ctrl + C: Copy
  • Ctrl + X: Cut
  • Ctrl + V: Paste
  • Ctrl + Z: Undo
  • Ctrl + Y: Redo
  • Ctrl + F: Search
  • Ctrl + H: Search & Replace
  • Ctrl + L: Go to line
  • Ctrl + D: Delete current line
  • Ctrl + Shift + D: Duplicate current line (or current selection)
  • Ctrl + P: Jump to matching bracket
  • Ctrl + Shift + P: Select all until matching bracket
  • Ctrl + Alt + Shift + Left: Jump to previous similar word
  • Ctrl + Alt + Shift + Right: Jump to next similar word
  • Alt + A: Go to next tab
  • Alt + Shift + A: Go to previous tab
  • Alt + Q: close current tab
  • Alt + M: toggle maximize file
  • Ctrl + Q: Focus functions browser search bar
  • Ctrl + Shift + F: Focus files browser search bar
  • Ctrl + Alt + E: Record macro
  • Ctrl + Shift + E: Replay macro
  • Alt + F: Toggle hide files browser
  • Ctrl + Click: Place multiple cursors
  • Ctrl + Shift + Up/Down: Increase/Decrease number
  • Ctrl + ,: Show Ace editor advanced settings

Licenses

You can’t perform that action at this time.