-- Leo's gemini proxy

-- Connecting to gemini.thebackupbox.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

but ofc the hardway


previous and related

next


I want to self-host all of the janusweb stuff, which ofc means I need to clone the repo and build it from source, right?

First bug I ran into when I started playing with this, was that when I pressed spacebar it'd freeze up. This seemed to be because it was doing non-null checks on x and x.y.z but not on x.y. If you're interested in details, I commit'd that fix to a copy of janusvr with my changes.

//git.thebackupbox.net/janusweb/commit/8905b7615b87d9c4a8824e15a276cf68062cc21e

The other thing I changed, but I'm not sure if I needed to now... was to stop some variables from being reset.


Seemingly at random, janusweb would start acting off. Still does sometimes, but I think one of the things I missed was that a version was bumped and my changes to code weren't actually being used in the tests.

I discovered this because the URL it was using for the presence server was present in some built file, but not the sources anymore.

Then I noticed the two different versions of the build and my stuff pointing at the old one.


Setting the server in the room tag only expects it to be used for setting the hostname of the websocket URL it will use.

if you try to set <room server="a://b/c?d=e"> it will treat that whole string as the server when it is constructing the URL it ends up using, so it gets turned into: wss://a://b/c?d=e:5567

So I've been leaving that unset, and it falls back to whatever is put into the scripts/config.js which can be a full URL.


In the files assets/webui/apps/navigation/navigation.js there is a hardcoded reference to api.janusvr.com. Which is a CNAME to some cloudfront domain, which doesn't resolve. So, I also edited that file to point at a CGI on my own server.


Found that the title of the webpage with the janus viewer on it gets replaced by the title of the room.


got my websocket.cgi.c to where it seems to be working nicely now.

which means it is less painful working on a presence server

so I stayed up way too late getting my janus-presence server talking to my IRC server.


media/2024-04-19_IRC-janus-bridge.png


For some reason I haven't been able to figure out how to get text to be rotated. wth?

inb4 <text rotation="0 180 0">



minor updates: 2024-04-26


https://git.thebackupbox.net/janusweb/commit/69540aa7e507d0ad9ecc24be39af3672a0a95e52

it seems like I still need to do this patch that I wasn't sure I'd need.


https://github.com/jbaicoianu/janusweb/commit/b4be3ea3ee41e091305e2b122bb246ecaf9e000d

text rotation got fixed. thx, bai.


-- Response ended

-- Page fetched on Sat May 11 04:34:50 2024