/
index.html
34 lines (29 loc) · 1.23 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.jsdelivr.net/pyodide/v0.18.1/full/pyodide.js"></script>
</head>
<body>
<h1>Kolibri in your web browser</h1>
<p>
Kolibri is normally accessed using a web browser (or embedded web browser),
however it relies on a Kolibri server backend which is written in Python.
This architecture brings some complexity to deploying Kolibri - a suitable
Python interpreter must be available for your OS, you have to run it, it
has to open a socket, etc. Notably, this complicates the prospect of
Kolibri as a ChromeOS app.
</p>
<p>
This experiment runs the Kolibri server entirely within your browser.
It does this by creating a javascript thread where a Python interpreter is run (pyodide, using WebAssembly).
</p>
<p>
It takes a few minutes to load - one of the first learnings from this experiment. Watch the javascript console to see things moving.
</p>
<p>
Once loaded, this page will be replaced by the Kolibri setup wizard. It's broken - you can't complete the setup - work is ongoing to make it progress beyond this stage!
</p>
<p><b>Loading, please wait</b></p>
<script src="consumer.js"></script>
</body>
</html>