Hi,
After porting Kiwixi on Raspberry Pi, I presented the whole system during
the inauguration of the new WMFR’s offices two weeks ago, and I present it
this Saturday on a small hackfest for general public in my local
hackerspace.
For these two events I’ve created a small poster mainly to appeal the
public to this small device and explain the thing.
You can see on the photo that the system is entirely autonomous with the
battery (about 7 hours of functionning with Wi-Fi), which is kind to walk
with it even without power plug.
Poster (2xA5, in French, if you want the sources in SVG ask me):
https://commons.wikimedia.org/wiki/File:Wikipedia_hors-ligne_2xA5.pdf
Photo of the device:
https://commons.wikimedia.org/wiki/File:Raspberry_Pi_with_a_battery.JPG
~ Seb35
Hello,
During the Zürich hackathon, Kelson gave me the mission to port
Kiwix-serve on
Raspberry Pi. I worked today to make this happen and I continue tomorrow
with
a focus on the WiFi (see below).
https://github.com/Seb35/kiwix-other/tree/feature/raspberrypi
Here are some considerations about the port:
* I created a plug/setup_raspberry.sh similar to plug/setup_plug.sh
* this can be executed either on the Raspberry Pi itself (it has a direct
graphical UI or command line) either from a remote computer through
SSH,
similarly to setup_plug.sh
* I though about a direct setup of the SD card on the master computer
with
a chroot, but the Raspberry Pi has possibly a different architecture
than
the master computer (ARM vs x86), so I abandonned this path
* possibly setup_raspberry.sh could be merged into setup_plug.sh; for
now I
keep two distinct files
* the Raspberry Pi has no built-in WiFi and the model A doesn’t even have
an
Ethernet connection, so you have to add an USB WiFi dongle
* particularly for model A, the ZIM files should probably be added on the
system SD card (which has to be big enough), so it should probably be
added some detection first on an USB key and then on the system SD card
(/usr/share/zim? /opt/kiwix-serve? ask to user?)
* I propose to mv plug/setup_usbkey.sh plug/setup_content.sh: if there
is no
empty USB key, put the ZIM and system on the Raspberry Pi’s SD card
* I added a device probber in script/kiwix-plug.plug (Raspberry Pi,
GuruPlug,
TonidoPlug), mainly for the differences in WiFi management
* I’m not well-versed into WiFi, any advices are welcome: I plan to use
hostapd to manage the WiFi AP, it seems to be quite standard on the
Raspberry Pi. Given there is no built-in WiFi, it is up to the user to
install the drivers. For now I removed the README section about the
optional
router, it could be tested and added afterwards.
~ Seb35
v1.6.1 is a general release. Download links are available here:
http://xowa.sourceforge.net/download.html
These are the major changes since the last announcement (v1.4.1):
* New tabbed interface (New Tab; Open Link in Tab); See [[Help:Options/Tabs]]
* Customizable popup-menus. See [[Help:Options/Menus]]
* Customizable keyboard shortcuts. See [[Help:Options/Shortcuts]]
* Packed gallery support; See w:National_Gallery_of_Art
* Hieroglyphics support; See w:Hieroglyphics
* Expandable / Collapsible Table of Contents
* Luaj is now the default for Scribunto (40% faster performance). See
[[Help:Options/Scribunto]]
* JTidy is now the default HTML tidy engine. See [[Help:Options/HTML_Tidy]]
* Minor parser enhancements
* Offline images for Wikipedia and sister wikis in Norwegian, Catalan,
Vietnamese, Czech, Korean, Bengali and Persian.
* Offline image updates for English, German, French, Polish, Chinese
and Simple wikis
A full list of changes is available at [[Help:Change_log]] inside XOWA
As always, any feedback is appreciated.
Thanks.
Yannick Guigui, 02/06/2014 10:59:
> It’s about Dump of Wikipedia. I’m working in a project which uses
> Wikipedia Database to display articles offline.
Nice! But please don't use the raw database + images. What you need is
already available: http://kiwix.org
If it's a problem for you to get about 42+22 GiB (en+fr) I or someone
can mail you a couple SDs at a cost of ~25 €. (If interested reply
offlist to organise details.)
Nemo