Hacker News new | ask | show | jobs
by kwamenum86 1179 days ago
No need to use AWS at all -

Jupyter Nbconvert: Jupyter Nbconvert is a command-line tool that allows you to convert Jupyter notebooks into various formats, including HTML, PDF, and Markdown. You can use the nbconvert command to convert your Jupyter notebook into an HTML file, which you can then upload to a web hosting service or a file-sharing platform like GitHub or GitLab. To use this method, you will need to have Jupyter installed on your computer.

Binder: Binder is a free service that allows you to turn your Jupyter notebook into a live, interactive website that can be accessed by anyone. Binder creates a virtual environment that includes all the dependencies required to run your notebook and launches it in a web browser. To use this method, you will need to upload your Jupyter notebook to a GitHub repository and provide a link to your repository to Binder.

Google Colab: Google Colab is a free cloud-based service that allows you to create and run Jupyter notebooks in a web browser. You can create a new notebook in Colab, write your code, and then export it as an HTML file using the nbconvert command. You can then download the HTML file and upload it to a web hosting service or file-sharing platform.

1 comments

Binder is great! Here is an example of it in action, with a notebook in a github repo that solves fizbuzz 50 different ways. It is super easy on both the dev and user side. For the dev, just create a public git* repo, upload the ipynb, any data, and dependencies (requirements.txt, environment.yml, or Dockerfile). To use, no login or special permissions required, you can run it on anyone's public repo.

https://mybinder.org/v2/gh/quasiben/fiftyfizzbuzzes/master?f...