Skip to content
The export tool for all zeppelin notebooks.
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
bin
.gitignore
Dockerfile
Gomfile
LICENSE
Makefile
README.md
docker-compose.yaml
zeppelin_exporter.go
zeppelin_exporter_test.go

README.md

zeppelin-exporter

GitHub release CircleCI MIT License

The export tool for all zeppelin notebooks.

Installation

Get binary from here or build yourself.

go get github.com/bells17/zeppelin-exporter
cd $GOPATH/src/github.com/bells17/zeppelin-exporter
make && make install

Usage

zeppelin-exporter --host 127.0.0.1 -p 8080 > notebooks.json
cat notebooks.json | jq .[0] > notebook1.json
content=`cat notebook1.json`
curl -v -H "Accept: application/json" -H "Content-type: application/json" -d $content http://127.0.0.1:8080/api/notebook/import

Help

zeppelin-exporter --help
Usage:
  zeppelin-exporter [OPTIONS]

Application Options:
      --host=     Zeppelin host (default: 127.0.0.1)
  -p, --port=     port (default: 8080)
      --protocol= protocol (default: http)

Help Options:
  -h, --help      Show this help message

Reference

Development

Requirements

  • ghr
    • And need set your Github Token(export GITHUB_TOKEN="...")
  • zopfli

Use Docker

docker-compose run builder bash

Initialize

make init
make bundle

Run Testing

make test

Build

make build

Release

make tag
make release
You can’t perform that action at this time.