Skip to content

sirjofri/gridchat-web

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gridchat web

This application is an extension of rc-httpd(8). It supports the Range HTTP header field.

For correctly retrieving the data from files, this repository also contains a native plan9 application (C source code in /src, there's also a mkfile).

In addition, the use case is providing a progressive web app for reading and writing the gridchat.

Installation

You need a plan9/9front system. The repository is complete, so after cd src; mk install you should be ready to go. The run script prepares the namespace.

You need to mount the gridchat to /n/chat before starting the run script.

Additional Information

  • We extend the default serve-static with correct javascript mime types (bin/serve-static-modern).
  • We understand Ranges like bytes=1-2 and bytes=1-, but no combinations like bytes=1-2, 5-6.
  • To use the progressive web app features without https, you can whitelist the domain (in chome at least). See the chrome://flags.