Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jinglue/amalthea

the hyper front-end engine of data science
https://github.com/jinglue/amalthea

code-mirror coffee-script html-plugin jupyter-notebook online-judge

Last synced: 2 months ago
JSON representation

the hyper front-end engine of data science

Awesome Lists containing this project

README

        

# ![Amalthea](https://jinglue.github.io/Amalthea/icons/icon.svg) Amalthea

[![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
[![Build Status](https://travis-ci.org/Jinglue/Amalthea.svg?branch=master)](https://travis-ci.org/Jinglue/Amalthea)
[![npm](https://img.shields.io/npm/v/amalthea.svg)](https://www.npmjs.com/package/amalthea)
[![Gitter](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/amalthea_ai/Lobby)
[![Presented By Apollo Wayne](https://img.shields.io/badge/Presented%20By-Apollo%20Wayne-blue.svg)](https://twitter.com/shinerising)
[![shinerising's twitter](https://img.shields.io/twitter/follow/shinerising.svg?style=social&label=Follow)](https://twitter.com/shinerising)

![Amalthea Preview](https://jinglue.github.io/Amalthea/images/preview.png)

## Attention

By now, Amalthea is still under development, thus we don't encourage you to use it in production. But you can have it builded and tested, and send us issues if you find any. We are now working with the document and user guide, you can keep watching this project to receive the latest information.

## What is Amalthea

Amalthea is a enhanced front-end version of Jupyter Notebook. With it, you can directly run your script within your browser, which could be beneficial for development document or online-education courses.

Check https://jinglue.github.io/Amalthea/ for demos

## Changelog

https://github.com/Jinglue/Amalthea/releases

## Download

Download Amalthea with NPM or Bower:

```shell
npm install amalthea --save
bower install amalthea --save
```

Then you can find the minified JavaScript Library in `dist` folder

## How to Use

Firstly, insert specific HTML elements to your webpage:

```HTML




{{ TITLE }}




{{ YOUR CODE }}



```

Such formatted HTML can be ganerated with the `ganerate.html` in `docs` folder.

then you can load this plugin like normal JavaScript libraries:

```HTML

const amalthea = new Amalthea({
//options
});

```

Do not forget to add the CSS in your HTML.

Alternatively, you can use SystemJS to load Amalthea dynamically:

```JavaScript
SystemJS.import('../dist/amalthea.js').then((root) => {
const amalthea = new root.Amalthea({
//options
});
})
```

Amalthea will render your webpage to enable online coding environment.