github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

sunny / edith

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 9
    • 2
  • Source
  • Commits
  • Network (2)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

PHP web notepad, like a wiki, saves every 2 seconds — Read more

  cancel

http://edit.sunfox.org/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Disallow '/' in resource name 
knuton (author)
Sun Feb 07 17:33:20 -0800 2010
sunny (committer)
Mon Feb 08 07:10:03 -0800 2010
commit  2b99999d11800b6fbbddb4c713bfdf7c63e8079e
tree    459d9267bd90328214054a8f090ec52e19ddf702
parent  3b14c332017957e634732e28bd5df877c8ad7265
edith /
name age
history
message
file .gitignore Mon Jan 26 02:56:35 -0800 2009 Added htaccess example for Apache [sunny]
file README.markdown Fri Feb 05 06:41:56 -0800 2010 Renamed example files [Sunny Ripert]
file config.example.php Mon Feb 08 07:10:00 -0800 2010 Add .txt/.html alternative Add option in confi... [knuton]
file htaccess.example Mon Jan 26 02:56:35 -0800 2009 Added htaccess example for Apache [sunny]
file index.php Mon Feb 08 07:10:03 -0800 2010 Disallow '/' in resource name [knuton]
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 Ripert]
directory templates/ Fri Feb 05 06:28:21 -0800 2010 HTML5 ftw [Sunny Ripert]
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.example.php 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

  • By Sunny Ripert sunny@sunfox.org
  • Under the GPL
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server