Skip to content
zrcoderPublic

About

Draw with codes, for kids and coders~

Resources

Stars

11 stars

Watchers

2 watching

Forks

Latest commit

 

History

133 Commits

Folders and files

Repository files navigation

ndor

ndor is an app with which you can draw by codes, for kids and coders~

ndor

You can take a look at the wiki for detail.

web

Vist https://ndor.netlify.app or run on your local machine as described bellow.

cli

Install with go:

go install github.com/zrcoder/ndor/cmd/ndor@latest

Run:

ndor {source file}

The argument is the code source file(xxx.xgo or xxx.md), the cli will generate a image as xxx.png or a html as xxx.html.

gui

A native GUI version built with mygo.

develop

ndor is implemented with go, js and wasm.

If you want to run ndor on your local machine:

  1. Install git, Go and task

  2. Clone the repo

    git clone https://github.com/zrcoder/ndor
  3. Run

    • web app:

      task web

      delete or comment the line "Version: version" in cmd/web/main.go for every dev build this is to break the cache mechanism, just for developing

      for product, modify the const "version" variable and then push and make pr

      Open http://localhost:9999, start your painting journey~

    • cli app

      task cli -- cmd/web/examples/rainbow.xgo
      task cli -- cmd/ndor/examples/hello.md
    • gui app:

      task gui

About

Draw with codes, for kids and coders~

Resources

Stars

11 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages