go-notebook

command module
v0.0.0-...-29a1a49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 19 Imported by: 0

README

Go-Notebook

Go-Notebook is an app that was developed using go-echo-live-view framework, developed also by us.

GitHub repository is here.

For this project we using https://github.com/cosmos72/gomacro too

About

Go-Notebook is inspired by Jupyter Project (link) in order to document Golang code.

You can add code and text depends your needs.

Run

We will make docker in the future :P

git clone https://github.com/arturoeanton/go-notebook.git
cd go-notebook
go run main.go
Wait
⇨ http server started on [::]:1323
Go to

http://localhost:1323/

Run on docket

We will make docker in the future :P

docker pull arturoeanton/go-notebook
docker run --rm -p 1323:1323 arturoeanton/go-notebook
Go to

http://localhost:1323/

Change notebooks and snippet folders
Docker
docker run --rm -p 1323:1323 --volume ./notebooks:/app/notebooks --volume ./snippet:/app/snippet arturoeanton/go-notebook
Podman
podman run   --rm -p 1323:1323 --volume ./notebooks:/app/notebooks:Z --volume ./snippet:/app/snippet:Z arturoeanton/go-notebook

DEMO

alt text

alt text

To Do

This project is still in progress, we are working in the following features.

  • Add examples.
  • Save snippet
  • default.gonote.json convert in folder, and run files in this folder.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL