kix / web9

The Web9 project is about making the 9P protocol accessible to web developers. The project involves developing PHP and Javascript implementations of the protocol and some applications that utilize the implementations.

Clone this repository (size: 815.4 KB): HTTPS / SSH
$ hg clone http://bitbucket.org/kix/web9/

Welcome

Welcome to the Web9 homepage - 9P for Everyone!

About

The Web9 project is about making the 9P protocol accessible to web developers. The project involves developing PHP and Javascript implementations of the protocol and some applications that utilize the implementations.

The project currently consists of the following components:

  • PHP9P: Bindings over the libixp library to provide an efficient and usable 9P development toolkit for PHP
  • Net_9P: A pure PHP implementation of 9P, suitable for inclusion in PEAR. Not as efficient as PHP9P, but extremely valuable in environments where PHP extensions cannot be loaded.
  • JS9P: A pure Javascript implementation of 9P. May use one of the following transport mechanisms:
    • XHR: Uses XMLHttpRequest as a transport to send and receive 9P messages. Requires a relay server at the other end.
    • Angled: Uses Mozilla's XPConnect and can directly connect to 9P servers. Also a Firefox extension.

This project was funded by Google, under their Summer of Code program for Plan 9 from Bell Labs. Many thanks to Devon H. O'Dell and Matt Lawless for mentoring the project.

Source

Web9 uses Mercurial for version control. To check out the code to a local repository:

hg clone http://bitbucket.org/kix/web9

License

Web9 is licensed under a combination of the MIT, MPL and LPL licenses. Refer to the source code for more details on which licenses apply to particular modules.

Screenshots

View a text file over JS9P/Angled

Text Read

View an image file JS9P/Angled

Image Read

Error in JS9P/Angled

Error

IXP9 Sample App Home Screen

IXP9 Start

IXP9 Sample App View Contents

IXP9 View


This revision is from 2009-09-26 22:05