nandi/frqpublic Fork 0
7a293a9096b4109669742097f41382365089dc7f
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

deps.edn · 67 lines · 3.4 KBClojure Blame HistoryRaw
A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago1{:paths ["src"]
2
3 ;; glimmer owns the reactive half (ratom, components, reconciler);
4 ;; glimmer-vidya paints it as Vidya/egui through libvidya's retained-tree ABI.
Show the list and the conversation at once on a wide window 10a1bd0 nandi 19d ago5 ;; Our fork of glimmer, until the reconciler fixes in it land upstream. A
Keep a row's actions from wandering when its line gets an id 5b5e90e nandi 19d ago6 ;; component unmounted between a cell firing and the queued render running
7 ;; used to render anyway, into widgets the backend had already freed and
8 ;; handed out again — which took the message list apart in a busy channel.
Show the list and the conversation at once on a wide window 10a1bd0 nandi 19d ago9 ;; And replacing a native node with one of another tag left every watcher
10 ;; under it subscribed, so swapping the phone layout for the split one and
11 ;; back shredded the chat: one component's props painted onto another's
12 ;; widget.
Keep a row's actions from wandering when its line gets an id 5b5e90e nandi 19d ago13 :deps {jolt-lang/glimmer {:git/url "https://gitlab.com/nandithebull/glimmer"
Show the list and the conversation at once on a wide window 10a1bd0 nandi 19d ago14 :git/sha "399df371c790d690fb6e4560c3d4d7f838502857"}
Take glimmer-vidya from gitlab, so a stranger can build this 5c40e75 nandi 19d ago15 nandi/glimmer-vidya {:git/url "https://gitlab.com/nandithebull/jolt-native"
Retire the release-bumping script 4f38d68 nandi 11d ago16 :git/sha "d970307ccf1fe67e2e971f2837d2282d8ba79a62"
17 :deps/root "glimmer-backends/glimmer-vidya"}}
A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago18
Take both native libraries from one place a66d1c1 nandi 19d ago19 ;; Both objects come from gitlab.com/nandithebull/jolt-native, one crate each,
20 ;; out of one target directory:
21 ;;
22 ;; libvidya the retained-tree ABI glimmer-vidya binds, on egui
23 ;; libjoltmoq the AV media plane — MoQ over QUIC, Opus, H.264, capture
24 ;;
25 ;; Calls are the one thing this client cannot do in jolt. Signaling is IRC and
Rename the source files from .jolt to .clj 3c3a947 nandi 11d ago26 ;; lives in src/frq/av.clj; the media half is three thousand lines of codec
Take both native libraries from one place a66d1c1 nandi 19d ago27 ;; and transport that would only be written badly a second time here.
28 ;;
Build the desktop libraries rather than fetching a release of them 0b81161 nandi 15d ago29 ;; just run
A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago30 :jolt/native [{:name "vidya"
31 :darwin ["libvidya.dylib"]
Calls f31ad3d nandi 19d ago32 :linux ["libvidya.so"]}
33 {:name "joltmoq"
34 :darwin ["libjoltmoq.dylib"]
Bind libmoq_ffi from the object's own metadata, not from its header 9f081a1 nandi 9d ago35 :linux ["libjoltmoq.so"]}
Build libmoq_ffi ourselves, for the codecs the release leaves out eab184b nandi 9d ago36 ;; moq-ffi's own object, built by the flake. It is not a
37 ;; second media plane: it is the transport half plus the
38 ;; codecs, behind UniFFI's C ABI, and it is here so `frq.moq.*`
39 ;; has something to load while the port off libjoltmoq
40 ;; happens. Both are declared for now, and the day frq.av
41 ;; stops calling joltmoq_* is the day that entry goes.
Bind libmoq_ffi from the object's own metadata, not from its header 9f081a1 nandi 9d ago42 ;;
Build libmoq_ffi ourselves, for the codecs the release leaves out eab184b nandi 9d ago43 ;; No :darwin because :systems is not: the flake builds for
44 ;; x86_64-linux and aarch64-linux, and a .dylib named here
45 ;; would name a file nothing produces.
Bind libmoq_ffi from the object's own metadata, not from its header 9f081a1 nandi 9d ago46 {:name "moq_ffi"
47 :linux ["libmoq_ffi.so"]}]
A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago48
Paint the same screens into a terminal ab83b42 nandi 17d ago49 :aliases {:frq {:main-opts ["-m" "frq.app"]}
A freeq client in jolt, as glimmer components on Vidya 4719d6f nandi 20d ago50
Paint the same screens into a terminal ab83b42 nandi 17d ago51 ;; The same screens in a terminal. glimmer-tui is the other backend
52 ;; for the same reconciler — libjolttui's tree ABI is libvidya's
53 ;; with cells under it — so `frq.tui` requires it after `frq.app`
54 ;; and renders the hiccup that is already written.
55 ;;
Merge origin/main, and let one jolt-native answer for both backends 1e8b590 nandi 16d ago56 ;; A path rather than a sha, like glimmer-vidya's would be if this
57 ;; alias were the way in: `just tui` builds jolt-native out of the
58 ;; flake and hands both Jolt halves over with -Sdeps, so this is for
59 ;; a checkout beside the tree and nothing else reads it.
Paint the same screens into a terminal ab83b42 nandi 17d ago60 ;;
61 ;; just tui
62 :tui {:extra-deps {nandi/glimmer-tui
Retire the release-bumping script 4f38d68 nandi 11d ago63 {:local/root "../jolt-native/glimmer-backends/glimmer-tui"}}
Paint the same screens into a terminal ab83b42 nandi 17d ago64 :main-opts ["-m" "frq.tui"]}}
65
66 :tasks {frq "jolt -M:frq"
67 tui "jolt -M:tui"}}