Egregoros

Signal feed

Timeline

Post

Remote status

Context

7
yeah, something like that sounds good.
I'm still learning vim as you know. In my head I was probably expecting my often-used pepe_neutral.jpg image macro to just pop up in the : list like the custom emoji do, because I had just tabbed over from nvim. And then I thought it should probably be a command or it will conflict with the :emoji: syntax.

probably not gonna get implemented in a million years I'll be over the moon if I can get the posts to show up lol
one step at a time!

@WandererUber re vim: i think most people make keybinds for commands they type a lot in vim. though it can be pretty specific to the individual in question.

re fedi client: are you making a tui client? if so, are you using a tui framework (iirc rust and go have some pretty well-liked ones)? depedning on how vim like you want it to be, you might also consider just having the client be a lua plugin for nvim. not sure if you actually get much lift from that though. also i imagine you meant two different commands, one for emojis and one for attached images... i suppose for the former, you could have completions kickin on typing : in insert mode like in nvim with cmp. for the latter it could be more like a normal mode command

>are you making a tui client?
I am not making any promises. Yes I am trying.

>if so, are you using a tui framework
yes. notcurses (watch the trailer)

>you might also consider just having the client be a lua plugin for nvim
disregarding that this project is already going to be that, forcing it into vim is more trouble than it's worth. I'd have to cook up kitty image protocol escape codes manually, for example. It's not really suited for the task, I think. Again, disregarding that this project is a fucking terminal client for a media feed, lol

@WandererUber thats a cool, if ambitious, project - best of luck with that. i wanna say ive seen a few others use terminal clients for fedi (probably p) but i doubt they supported anything besides text. as an aside, ive always wanted to try making a fork of bloatfe with mathjax support but its low on my project priority list

I'm not at the point where I understand how a frontend is *supposed* to work, and if worst comes to worst I just fucking lie to the server and use libcurl for everything and hack my way around it.

but anyway, from what I gather BloatFE is kind of like the old web where the buttons trigger server-side actions? And you want math equation rendering in that?
You're already using BloatFE then, I take it?
Honestly for that niche of a thing I would probably just hack together a greasemonkey script or something lol

@WandererUber i assumed you would be using libcurl regardless since notcurses is a c library (though it has bindings for other languages so maybe not)... it might be worth doing a practice project on something simpler than fedi to get your frontend bearings.

i would use bloatfe more if it was on here the way pleromafe is. i have a local bloatfe that i run every now and then, but i want to do some other minor tweaks besides the math rendering before making that my primary fe. i also want to see how much i can get away with writing in go since i prefer that to javascript

Replies

6
re: libcurl
Of course, what I meant was I would just hack together requests with libcurl and send them to the poa.st website frontend and pretend I was a browser, if something I want isn't "in the spec" or whatever.
I haven't the faintest idea if that's necessary, because I am still in "it's just a few web requests, how hard can it be?" la la land

I've always had a pleasant experience in Go and I was considering writing my next project after this one in that language to get some reps in. Maybe I'll burn out and smoke crack under a bridge in a few weeks though after my insane autism project doesn't pan out.
>see how much i can get away with
If I had to guess, quite a lot. Very niche project though, if I understand this correctly.
Having support on the page is just adding the mathjax lib and doing it in Go would probably mean you have to reimplement it. Or I'm incorrect and it works entirely differently from what I think it does

@WandererUber "how hard can it be" are famous last words that even i am guilty of lol. in your case, i think you just need to see the mastodon/pleroma api endpoints that the current frontends use hit them from your client - the harder/mroe tedious part is designing all the UI around that imo. in my case, im not gonna do a reimplementation, but i will probably have to bundle something like katex (which is faster than mathjax supposedly). the go stuff is more arpund things like filtering quoasts, serving htmx-style interactivity, etc. i dont really have a solid plan, just some rough ideas in my head.

>the harder/mroe tedious part is designing all the UI around that imo
that's literally what my project is though, lol. I want to make a UI that is cool and doesn't suck ass
>design around the API endpoints
Maybe. I plan on having a bunch of convenience features that would probably be better off server-side, so I might have to buffer and finagle a bunch of shit that I have no business cold-caching.

only thing I really need that cleanly fits client-side is
proper thread tree view (web has them flat and you can't collapse branches)

>katex
unless I am massively misunderstanding you, that's also not Go, that's JS...

>filtering quoasts
Not sure what you mean exactly, but I too have a bunch of these convenience features in my head already.

@WandererUber re ui, idk about you but im not a design guy so i find that tedious. less so the actual implementation. i think pleromafe has a neutered tree-view but i dont use it much.

re katex, yeah that was my point. i like go but not enough to re-implement something like katex in it, so the js will have to be bundled. plus it will br something that happens client side for the mlst part... unless i pre-render server side somehow... maybe i could re-write it afterall (but not really)

re convenience features, on frontends like pleromafe and soapbox, i have to use some niggerlicious regex filters to drop quoasts, and i think id be able to do something cleaner programmatically so that the end result is similar to the hide-repoasts toggle (possibly on a per user basis). and yeah it will be pretty hard to avoid js entirely for the features i want, but i wanna limit it as much as possible

@WandererUber re bearings, one of my first big c ui projects was/is a jellyfin client in gtk, (still WIP) and i found a lot of value in some excursions with other smaller frontend-y projects that were simpler to reason about