Local File Editor for Chrome using NPAPI
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.
cm
.gitignore
README.mkd
background.js
content.js
icon.png
icon_16.png
icon_48.png
index.html
init.js
jquery-1.7.2.min.js
main.html
manifest.json
manual.mkd
npapi-file-io-32.dll
npapi-file-io-32.so
npapi-file-io-64.so
script.js
style.css
underscore.js

README.mkd

#SYMPATHY EDITOR

Sympathy is an in-browser text editor for Chrome, which allows you to edit local files. This means you can browse to file:///path/to/file.js and it will open in Sympathy itself and you can save/edit it within Chrome itself.

Sympathy does not hit the web for any sort of sync ever. It is an alternative to simple text editors such as geany/notepad++, but it works within your browser.

##Downloads

Screenshot of manual page

file:// browsing

bookmark support

new tab

#Why? Because the future is the browser? And more so because I wanted a local editor in my browser to complement a terminal. Other than these three things, what more would you need? You can read the related blog post at my blog which gave birth to this editor. I was initially hoping for a chromium fork as I could not think of a way to get (good) local file access in chromium, but I recently heard about NPAPI plugins having full access to local filesystem (and consequentially npapi-file-io).

#How? Sympathy does not use the HTML5 filesystem API. It instead relies on a NPAPI plugin called npapi-file-io. The plugin acts as a relay between the frontend and the filesystem, allowing you to save and read files, directories.

#What's Next? A move to use backbone.js is in progress (see the backbone branch). Lots of exciting features are planned as well.

#Compatability It only works with Linux/Windows as of now. But due to lac of npapi-file-io bindings for mac, it won't work there.

##Licence I have not yet decided on the licence, but it will probably be MIT/GPLv3.

##Contribute

  • Feel free to add fork and add patches via github for new features. Please open an issue first to make sure that I'm not already working on it.
  • If you are good in C++, contribute to the npapi-file-io plugin. It could really help us out.

Editor Icon by Asher used under CC BY-NC-SA 3.0