This is a clone of chatbot-ui built in electric and datahike.
I have made some minor modifications to the UI and UX and will do a full redesign once all the base issues are resolved.
npm install
to install Tailwind and other javasscript dependencies
npm run build:tailwind:dev
to build the css watch and build
Entities are collected from config.edn
Add this as a file to get started.
{:all-entities-image "bot.svg"
:entities [{:name "Chatbot"
:image "bot.svg"
:prompt ""}]}
Dev build:
- Shell:
clj -A:dev -X dev/-main
, or repl:(dev/-main)
- http://localhost:8080
- Electric root function: src/electric_starter_app/main.cljc
- Hot code reloading works: edit -> save -> see app reload in browser
Prod build:
clj -X:build:prod build-client
clj -M:prod -m prod