XANADU 2.0
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README
dump.py
hyper.css
hyper.js
jquery.js
mk-indices.py
mysqlpassword.example.py
serve.py
skeleton.html

README

HYPEROPIA is a XANADU 2.0
bring "THE WORLD'S INFORMATION"[tm]
to you for personal research and expansion.

## Hyperopia 0.1

Wikipedia + Books

An attempt to cross-reference an offline wikipedia dump
with a digital library.

--

# setup (45gb)

Download 
  - enwiki-latest-pages-articles-multistream-index.txt.bz2
  - enwiki-latest-pages-articles-multistream.xml.bz2
  - enwiki-latest-categorylinks.sql.gz

from
http://dumps.wikimedia.org/enwiki/latest/

import the enwiki category database into mysql:

% zcat enwiki-latest-categorylinks.sql.gz | mysql -u USER -p DBNAME

copy mysqlpassword.example.py to mysqlpassword.py and fill in your db info

make indices
% python2 mk-indices.py /path/to/enwiki-latest-pages-articles-multistream.xml.bz2

serve
% python2 serve.py /path/to/enwiki-latest-pages-articles-multistream.xml.bz2