public
Description: PHP web notepad, like a wiki, saves every 2 seconds
Homepage: http://edit.sunfox.org/
Clone URL: git://github.com/sunny/edith.git
edith / README.markdown
100644 40 lines (25 sloc) 1.247 kb

Edith

A quick small wiki, perfect for pasting quick texts or code between friends.

Don't worry about saving, it saves every 2 seconds. Paste and forget! Think of it as a magic web notepad. Try it out at http://edit.sunfox.org/any-page-name.

Usage

  • /any-page-name: type what you want, it's saved automagically!
  • /any-page-name/txt: raw text version.
  • /any-page-name/html: html representation, pushed through the markdown syntax.

Setup

  • Make a writeable directory that will contain your pages as txt files. For example:

    mkdir mydata
    chmod a+wx mydata
    
  • Copy config.php.example to config.php

  • Modify config.php to your liking
  • Tell your http server app to redirect 404s to index.php.

    • Under apache copy .htaccess.example to .htaccess and modify the RewriteBase directive.
    • Under lighttpd, add this line to your configuration:

      server.error-handler-404 = "/index.php"
      
  • To enable concurrent accesses, uncomment the lines in config.php regarding Google Mobwrite

Licence