Skip to content

TopixIM/polygonum

Repository files navigation

Polygonum

A chat app.

Usages

Install Node.js, Yarn, Calcit to start.

Notice that you need to clone dependencies into .config/calcit/modules/ manually.

yarn
yarn watch-page # watch compile page code

yarn vite # for browser app

mode=dev cr --entry server # for starting server

code with calcit-editor.

Actions

Add card:

d! :stack/add $ {} (:name :topics) (:data topic-id)

Close card:

d! :stack/close idx

Add topic:

d! :topic/add "|some text"

Add topic reply:

d! :topic/reply $ {}
  :topic-id |demo-id
  :text |demo

Remove topic reply:

d! :topic/remove-reply $ {}
  :topic-id |demo-id
  :id |demo-id

Workflow

https://github.com/Cumulo/calcium-workflow.calcit

License

MIT