Mokopedia

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(heavy editing since a lot changed on this project)
Line 1: Line 1:
 
{{todo|Support this project by adding ideas and comments to the discussion page and edit this article}}
 
{{todo|Support this project by adding ideas and comments to the discussion page and edit this article}}
  
Mokopedia intends to make wikipedia accessible on your phone even without being online because all articles will reside bzipped on an SD Card.
+
Mokopedia makes wikipedia accessible on your openmoko phone even without being online because all articles will reside in a compressed filesystem (squashFS) on your SD Card.
It's now rewritten in python and uses pythons gtkhtml2 binding (not available yet on openmoko - fgau is working on it) and bzip2 binding to do everything the former version in c did.
+
 
Please submit more feature ideas!
+
You will have to install lighttpd to access a local python script with the web browser of your choice. This script will offer you a text box to easily search your stored articles.
  
 
==Feature Ideas==
 
==Feature Ideas==
 
Please feel free to add anything that comes to your mind.
 
Please feel free to add anything that comes to your mind.
*show articles depending on location (GPS)
 
*list with
 
**recently viewed articles (history)
 
**most viewed articles
 
*search articles "as you type" (benchmarks on a neo with searching in large text files proove such things to be impossible due to processor slowness)
 
 
*it will have no pictures - not enough room on any storage media
 
*it will have no pictures - not enough room on any storage media
 
*tex forumlas could be generated with a local LaTeX install but this may be too big for the phone
 
*tex forumlas could be generated with a local LaTeX install but this may be too big for the phone
 
*all wikipedia versions except the english one will fit on a 1GB SDCard (tested with the second largest wikipedia (german)) - compressability tests with en-wiki in progress
 
*all wikipedia versions except the english one will fit on a 1GB SDCard (tested with the second largest wikipedia (german)) - compressability tests with en-wiki in progress
*all articles will be bzipt in seperate files - 7zip/lzma only performs better than bzip with really big files due to it's dictionary and it's also much slower and eats much more memory
+
*support for stripped down wikipedia versions (100MB, 500MB)
*new wikipedia versions can be obtained from here [http://static.wikipedia.org/] and can then be optimzed with a perl script I wrote
+
*option for varying the text size
+
*settings dialog
+
**set articles location
+
*forward/back buttons
+
*bookmarks
+
*support for stripped down wikipedia versions (100MB, 500MB) with only the most viewed articles for users with storage restrictions
+
**if an article is not available locally - ask the user if it should download it form the web
+
*Scan SMS and emails for keywords of current events (extracted from a news feed) or foreign words and automagically crossreference them to the respective article of the offline wikipedia.
+
  
 
==Development Status==
 
==Development Status==
  
*UTF-8 capable article viewer
+
*I finished writing the perl and bash scripts for optimizing your wikipedia html dump. To obtain the dumps goto http://static.wikipedia.org. The scripts will soon be available on the mokopedia projects site on projects.openmoko.org.
*read bzip2 compressed articles
+
*lighttpd is working on openmoko as a light webserver without too much overhead
 +
*python script for accessing the articles is nearly finished
  
You can obtain the current version of the little mokopedia python script on http://www.rabenfrost.net/mokopedia.py. The article which is shown is hardcoded. The demo article is an optimzed version of "Alexander the Great http://www.rabenfrost.net/Alexander_the_Great.html.bz2
+
==Credits==
 +
A big thank to the following people:
 +
* kahuna for bringing me back to the ideo of mokopedia as served html to a browser of your choice
 +
* fgau for trying out everything I wrote on his neo
 +
* thomasg for suggesting the use of a compressed file system
 +
* everyone on #neo1973germany
 +
All you guys helped me a lot!!
  
 
[[Category:Add-on data]]
 
[[Category:Add-on data]]
 
[[Category:Ideas]]
 
[[Category:Ideas]]
 
[[Category:Unimplemented]]
 
[[Category:Unimplemented]]

Revision as of 10:51, 17 September 2007

TODO: Support this project by adding ideas and comments to the discussion page and edit this article (See: To-Do List)

Mokopedia makes wikipedia accessible on your openmoko phone even without being online because all articles will reside in a compressed filesystem (squashFS) on your SD Card.

You will have to install lighttpd to access a local python script with the web browser of your choice. This script will offer you a text box to easily search your stored articles.

Feature Ideas

Please feel free to add anything that comes to your mind.

  • it will have no pictures - not enough room on any storage media
  • tex forumlas could be generated with a local LaTeX install but this may be too big for the phone
  • all wikipedia versions except the english one will fit on a 1GB SDCard (tested with the second largest wikipedia (german)) - compressability tests with en-wiki in progress
  • support for stripped down wikipedia versions (100MB, 500MB)

Development Status

  • I finished writing the perl and bash scripts for optimizing your wikipedia html dump. To obtain the dumps goto http://static.wikipedia.org. The scripts will soon be available on the mokopedia projects site on projects.openmoko.org.
  • lighttpd is working on openmoko as a light webserver without too much overhead
  • python script for accessing the articles is nearly finished

Credits

A big thank to the following people:

  • kahuna for bringing me back to the ideo of mokopedia as served html to a browser of your choice
  • fgau for trying out everything I wrote on his neo
  • thomasg for suggesting the use of a compressed file system
  • everyone on #neo1973germany

All you guys helped me a lot!!

Personal tools
TODO: Support this project by adding ideas and comments to the discussion page and edit this article (See: To-Do List)

Mokopedia intends to make wikipedia accessible on your phone even without being online because all articles will reside bzipped on an SD Card. It's now rewritten in python and uses pythons gtkhtml2 binding (not available yet on openmoko - fgau is working on it) and bzip2 binding to do everything the former version in c did. Please submit more feature ideas!

Feature Ideas

Please feel free to add anything that comes to your mind.

  • show articles depending on location (GPS)
  • list with
    • recently viewed articles (history)
    • most viewed articles
  • search articles "as you type" (benchmarks on a neo with searching in large text files proove such things to be impossible due to processor slowness)
  • it will have no pictures - not enough room on any storage media
  • tex forumlas could be generated with a local LaTeX install but this may be too big for the phone
  • all wikipedia versions except the english one will fit on a 1GB SDCard (tested with the second largest wikipedia (german)) - compressability tests with en-wiki in progress
  • all articles will be bzipt in seperate files - 7zip/lzma only performs better than bzip with really big files due to it's dictionary and it's also much slower and eats much more memory
  • new wikipedia versions can be obtained from here [1] and can then be optimzed with a perl script I wrote
  • option for varying the text size
  • settings dialog
    • set articles location
  • forward/back buttons
  • bookmarks
  • support for stripped down wikipedia versions (100MB, 500MB) with only the most viewed articles for users with storage restrictions
    • if an article is not available locally - ask the user if it should download it form the web
  • Scan SMS and emails for keywords of current events (extracted from a news feed) or foreign words and automagically crossreference them to the respective article of the offline wikipedia.

Development Status

  • UTF-8 capable article viewer
  • read bzip2 compressed articles

You can obtain the current version of the little mokopedia python script on http://www.rabenfrost.net/mokopedia.py. The article which is shown is hardcoded. The demo article is an optimzed version of "Alexander the Great http://www.rabenfrost.net/Alexander_the_Great.html.bz2