Code Monkey home page Code Monkey logo

jupyterlab-app's Introduction

JupyterLab App for macOS

An app that launches and displays jupyter-lab.

screenshot

Overview

Unfortunately, the official desktop app succesfully died, so this is one of many apps that try to replace it.

This app can run jupyter-lab:

  • in a separate window like it's own app (because it is) and not in browser tab
  • without an opened terminal window (but if you like it, just use it as an c.LabApp.browser)

It is written on Swift and SwiftUI. It is my first project on Swift, sorry about bad coding style.

Why another similar app?

I thought it will be a good practise for me. Almost every app that I found didn't do what I wanted. The best one that I found is this one, but it's written on another language. I was trying to fix webview problem (see known bugs), but I had no luck. This app still uses different mechanics to run and stop jupyter-lab.

Where to download?

Right here!

How to run?

Make sure you've already installed python and jupyter-lab and everything works fine.

Make sure you placed jupyter at /usr/local/bin/jupyter (jupyter-lab is not required). If you haven't already, it's just ln -s /path/to/your/jupyter /usr/local/bin/jupyter in terminal.

You will probably want to write this to you jupyter_notebook_config.py:

c.LabApp.browser = '/Applications/JupyterLab.app/Contents/MacOS/JupyterLab %s
c.NotebookApp.notebook_dir = "/your/homedir/"   # don't forget to change to your home directory

If everything is ready, just click the app icon. You also can run it from terminal as jupyter lab.

Disclaimers

  • icon is borrowed from here (similar project) which is taken from here and slightly redesigned.
  • font JetBrains Mono is used on a screenshot

Knows Bugs

  • if app stays inactive for a while (~3-4 min for me), webview doesn't respond immediately. (Please, help me! I have absolutely no idea how to fix it).
  • Terminal is not rendering properly

jupyterlab-app's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.