about summary refs log tree commit diff stats
path: root/bb/web/htmx.clj
diff options
context:
space:
mode:
authorelioat <hi@eli.li>2023-12-07 19:35:26 -0500
committerelioat <hi@eli.li>2023-12-07 19:35:26 -0500
commit9af5c8368bd5f3d17b90eb0f4b2c37ab68692eaf (patch)
tree71dfbe0dc20ad513275f08ce5abd1fb348169282 /bb/web/htmx.clj
parent683260eee3c319e5ba2e55d74dbb6d1cb379199c (diff)
downloaddecember-2023-9af5c8368bd5f3d17b90eb0f4b2c37ab68692eaf.tar.gz
broken
Diffstat (limited to 'bb/web/htmx.clj')
-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)
+