about summary refs log tree commit diff stats
path: root/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bb')
-rw-r--r--bb/web/htmx.clj16
1 files changed, 16 insertions, 0 deletions
diff --git a/bb/web/htmx.clj b/bb/web/htmx.clj
new file mode 100644
index 0000000..772da25
--- /dev/null
+++ b/bb/web/htmx.clj
@@ -0,0 +1,16 @@
+#!/usr/bin/env bb
+
+(require '[babashka.deps :as deps])
+(deps/add-deps '{:deps {org.clojars.askonomm/ruuter {:mvn/version "1.3.2"}}})
+
+(require '[org.httpkit.server :as srv]
+         '[clojure.java.browse :as browse]
+         '[ruuter.core :as ruuter]
+         '[clojure.pprint :refer [cl-format]]
+         '[clojure.string :as str]
+         '[hiccup.core :as h])
+
+(import '[java.net URLDecoder])
+
+(def port 3000)
+