Comments (8)
It does work, but unfortunately some of the package files exceed the file size limit for Github pages at this point, which is why we moved to Netlify for hosting.
from pyodide-demo.
pinging @mdboom
from pyodide-demo.
Latest pyodide releases should be under https://github.com/iodide-project/pyodide/releases in the pyodide-build*.tar.bz2
. I don't think this repo is still used (unless it changed lately).
from pyodide-demo.
Ahh ok, I am really looking to get the terminal demo up and running. How can I get that working?
from pyodide-demo.
from pyodide-demo.
Ahh OK, when I download the release tarball and run python -m http.server
in the extracted directory, and then navigate to http://localhost:8000/console.html, I see the following on both firefox and chrome
Uncaught (in promise) TypeError: Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.
from pyodide-demo.
Actually here is a little Python server that works:
import http.server
import socketserver
PORT = 8000
Handler = http.server.SimpleHTTPRequestHandler
Handler.extensions_map['.wasm'] = 'application/wasm'
with socketserver.TCPServer(("", PORT), Handler) as httpd:
print("serving at port", PORT)
httpd.serve_forever()
from pyodide-demo.
So I guess my question is, if I want to deploy a static website that uses pyodide (say to github pages), will this work? It seems like this would work given that wasm is in https://github.com/jshttp/mime-db according to this. Have either of you tried this?
from pyodide-demo.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyodide-demo.