Skip to content

adelevie/code-browser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A quick proof-of-concept code browser for the DC Code.

This is a much simpler and less feature-rich system that more developed stuff like The State Decoded, but ideally is either a proof-of-concept of a fully static approach or at least a useful tool for proofing our parser.

This site takes a static approach to the task. There's no server, but there's a multitude of files. The initial target for deployment is Amazon S3. The site is deployed with s3cmd and takes about 16,000 PUT requests to go live.

Setup

git clone git@github.com:openlawdc/code-browser.git
make

Then boot up a local development server: https://gist.github.com/tmcw/4989751 and go to the url specified there, like http://localhost:8080/

CloudFront dist: http://d1eu6ip9xyd6yj.cloudfront.net/

Precook

Early versions of the results of this code:

The most useful output so far is JSON sections (zipped) (21MB) - 16,569 detected sections (detected with parse.js) output into JSON. These are fast to generate but downloading them lets you skip the Word Doc to Text to Parsed workflow.

Precook is updated with search indices!

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.8%
  • CSS 43.2%