Coder Social home page Coder Social logo

javascriptdata / dnotebook Goto Github PK

View Code? Open in Web Editor NEW
143.0 3.0 10.0 31.38 MB

Dnotebook is a Jupyter-like library for javaScript environment. It allows you to create and share pages that contain live code, text and visualizations.

Home Page: https://dnotebook.jsdata.org/getting-started

License: MIT License

TypeScript 82.56% JavaScript 15.59% CSS 1.85%
notebook notebook-javascript javascript live-code interactive-visualizations data-analysis

dnotebook's People

Contributors

acethecreator avatar gantman avatar risenw avatar steveoni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dnotebook's Issues

Saving and reloading JSON changes order

The numbers on the left side create the order when a JSON is reloaded. These numbers should be run operation counts like they are in Jupyter, and saving and reloading JSON should not reorder a dnotebook.

Creating, using and managing multiple notebooks

Users can open more than one Notebook in a tab. Ideally, we should execute each notebook in a separate context. This is similar to Kernels in Jupyter notebooks.

This ensures that multiple notebooks can be run simultaneously, and each manages its own state.

Acceptance

  • User can run multiple notebooks simultaneously
  • User can start and manage notebook context

Project status and vs code version?

Hello! This is a very neat project. Are you still working on it? It would be a great tool. I saw that microsoft put out something similar but it unfortunately doesn't work with newer versions of VS Code. Have you considered building this as a VS Code environment? I find that it's nice to have all of the amenities of my code editor but what's missing is nice visual output.

Embedding Dnotes

Thanks for Dnotes! Its looks amazing and I have been looking for something like this for quite sometime. I was wondering, if you have plans to make them easily embeddable?

Epic Roadmap to new version of Dnotebook

We decided to rewrite Dnotebook to be more like Jupyter notebooks, where we can write and run code that interacts directly with the user's local OS in a safe and secure way. This overarching goal here is that we want users to have a native experience when using Dnotebook.

The following is a list of proposed features for the new release:
Target release date: March 2022

  • Rewrite core components in Typescript
  • Add a new code editor with syntax highlighting, lining, snippet, and autocomplete.
  • Add support for file system directory: Users can interact with their local file system from the UI so they can create, update and delete files securely
  • Bash command support for managing notebooks: Users can execute bash commands from the UI. This makes the installation of new packages relatively easy and intuitive.
  • Better UI/UX
  • File menu options for managing kernels and notebooks

Save and reload notebook

Acceptance

  • Users can download, save and re-upload notebooks
  • Choose an efficient serialization format for notebook.
  • Choose an extension name for notebooks

Track running state of cells and know when they finish execution

This will help us toggle the cell running indicator in the UI, and also ensure we block all cell code execution until a cell has finished execution.

Acceptance

  • Running cells are properly tracked and UI state is updated to show this state
  • Other cells are blocked from running when a cell is also already running
  • Cells jobs can be canceled or killed

CSS / Theme support

There's a lot of white in the product for comfortable evening work. Is it possible to support themes like jupyterlab or add a dark mode option?

Fix menu bar item open

At moment, the menu item must be clicked before they are opened, we should use the onMouseEnter flow instead of click events.

Acceptance

  • Menu items are opened onMouseEnter
  • Menu items are closed onMouseLeave

Question: Defining Image Size

Hello,

Is it possible to either:

  1. govern the size of the displayed image by means of MarkDown
  2. use an HTML tag instead of MarkDown?

Thanks.

How to save data into csv file in dnotebook?

Hi there, thanks for creating this project and making data analysis easier in the JavaScript world.

I am cleaning up some data and would like to save the result into local file, e.g. csv format. Does dnotebook supports this and how?

Using Danfo.js, DataFrame.to_csv could save the result to local drive. But in dnotebook, there is no any files saved after execute to_csv. Below is the my code.

`var data = {
"Abs": [20.2, 30, 47.3] ,
"Count": [34, 4, 5] ,
"country code": ["NG", "FR", "GH"]
}
let df = new dfd.DataFrame(data)
df.to_csv("./try_data.csv").then((csv) => {
console.log(csv);

}).catch((err) => {

console.log(err);

})`

Deleting first cell appears to cause unexpected type error

dnotebook looks great, but the following looks like a small glitch to me.

Steps to recreate:

  1. Use an empty notebook, first code cell to run a command - the command will run successfully
  2. Delete that first cell - it will not disappear, than re-run the command, a type error is caused

Is this the expected behaviour?

dnotebook 01

dnotebook 02

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.