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 /
name age message
file .gitignore Mon Jan 26 02:56:35 -0800 2009 Added htaccess example for Apache [sunny]
file .htaccess.example Mon Jan 26 02:56:35 -0800 2009 Added htaccess example for Apache [sunny]
file README.markdown Sun Mar 08 00:12:14 -0800 2009 Small README fixes [sunny]
file config.php.example Sun Mar 08 00:13:18 -0800 2009 Added comments and Mobwrite options in config.php [sunny]
file index.php Sun Jun 07 06:49:17 -0700 2009 Merge branch 'master' of git@github.com:sunny/e... [sunny]
directory lib/ Mon Jan 26 02:50:43 -0800 2009 Now returns 500 if the page could not save [sunny]
directory public/ Sun Jun 07 06:44:23 -0700 2009 Font family changed to monospace [sunny]
directory templates/ Sun Jun 07 06:53:57 -0700 2009 Fixed fatal 'define(d)' typo [sunny]
README.markdown

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