Skip to content

Commit 06193fe

Browse files
committed
v0.1.13
1 parent c44d600 commit 06193fe

3 files changed

Lines changed: 5 additions & 10 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ You can execute the following commands from the built-in shell:
116116
| `vi` | Opens the vi port (based on [neatvi](https://github.com/aligrudi/neatvi)). Includes 5 configurable themes, check `.virc` |
117117
| `vncd` | Launches a VNC Server. Known compatible with TigerVNC. Terribly slow |
118118
| `webvncd` | Launches a web "VNC"-like server. Faster than `vncd` |
119-
| `wiki` | Offline Simple English Wikipedia reader; reads `/sd/wiki/`, gen with `utils/wikiconvert.py` |
119+
| `wiki` | Offline Simple English Wikipedia reader; ~170MB from SD. See `utils/wikiconvert.py` |
120120
| `zm` | Launches `dfrotz`, the ZMachine interpreter |
121121

122122
To get out of the shell, type `exit`. This will bring you to the MicroPython shell, where you can type in python expressions. To get back to the built-in shell, type `sh` in the MicroPython shell.

modules/scripts/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ def run(self):
326326
ver = sys.implementation.version
327327
version_str = f"{ver[0]}.{ver[1]}.{ver[2]}"
328328
# TODO: move versioning to makefile
329-
print(f"vtOS v0.1.13-dev; MicroPython v{version_str}\nType 'help' to see commands.")
329+
print(f"vtOS v0.1.13; MicroPython v{version_str}\nType 'help' to see commands.")
330330

331331
self.running = True
332332

utils/wikiconvert.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,9 @@
33
# This utility converts a Simple English Wikipedia XML dump into the
44
# compact binary format vtOS's `wiki` command reads from /sd/wiki/.
55
#
6-
# Pipeline: download the dump (or use a local file), stream-parse the
7-
# MediaWiki XML in two passes (pass 1 collects titles/redirects, pass 2
8-
# cleans wikitext and emits compressed article chunks), and write out
9-
# an index + data file pair sized to fit comfortably under ~1GB.
10-
#
11-
# Requires: mwparserfromhell, requests (see utils/.venv for a pinned
12-
# environment: `uv venv utils/.venv && uv pip install --python
13-
# utils/.venv/bin/python mwparserfromhell pytest requests`).
6+
# Resulting files should be around ~170MB. Process can take 20+ min
7+
8+
149

1510
import argparse
1611
import bz2

0 commit comments

Comments
 (0)