Hey bud, IIRC, I couldn't get it working. :/
Looking at my past statuses with the #brutaldon hashtag, it looks like I got it working with #NetSurf and #w3m, but I don't see anything from (nor recall getting it working with) #Dillo. :/
One more question — how to download more toots for my home timeline, if I read the whole chunk, which was downloaded by #brutaldon ? In the footer of my timeline I have only this, no pagination or button to load more toots :-(
Finally, I found some time to install #brutaldon on the my #FreeBSD box in the #jail. Installation was pretty simple — just create thinjail and apply the next template to it (it is a Bastillefile):
CONFIG set enforce_statfs=1;
CONFIG set allow.mount.fdescfs;
CONFIG set allow.mount.procfs;
CONFIG set mount.procfs;
CONFIG set devfs_ruleset=70
RESTART
SYSRC clear_tmp_enable=YES
SYSRC clear_tmp_X=YES
CMD pkg bootstrap -f
CMD pkg update
PKG git py311-pipenv py311-lxml py311-sqlite3
CMD pw useradd brutaldon -s /bin/sh -m
CMD su - brutaldon -c 'cd /usr/home/brutaldon && git clone https://gitlab.com/brutaldon/brutaldon.git'
CMD su - brutaldon -c 'cd /usr/home/brutaldon/brutaldon && pipenv install'
CMD su - brutaldon -c 'cd /usr/home/brutaldon/brutaldon && pipenv run python ./manage.py migrate'
CONFIG remove ip4.addr;
CONFIG set ip4=inherit;
LIMITS pcpu 80
LIMITS memoryuse 2G
CP brutaldon /etc/rc.d/
SYSRC brutaldon_enable="YES"
RESTART
I used thinjail which uses the same network and network interfaces as the host system, because I suck in networking :-D.
Sadly, I don't understand how to use brutaldon with #Dillo — looks like it is impossible
I'm able to login to mastodon.bsd.cafe only via OAuth form, which doesn't work in Dillo — instead of it I got the "old" form with login/password/OAuth code credentials. And at the end I got the screenshot №1.
In the Librewolf I successfully logged in via the OAuth form, so I'm able to use brutaldon only in the Librewolf :-( (see screenshot №2 and №3).
IIRC, @rl_dane you are using Brutaldon with Dillo — how do you achieve that (main question — how to login? :-D )?
P.S. Contents of brutaldon startup script:
#!/bin/sh
# PROVIDE: brutaldon
# REQUIRE: DAEMON
# KEYWORD: shutdown
. /etc/rc.subr
name=brutaldon
rcvar=brutaldon_enable
load_rc_config $name
: ${brutaldon_enable:=NO}
start_cmd="${name}_start"
stop_cmd="${name}_stop"
status_cmd="${name}_status"
brutaldon_start()
{
su - brutaldon -c 'cd /usr/home/brutaldon/brutaldon && HTTP_PROXY=http://localhost:20172 HTTPS_PROXY=http://localhost:20172 pipenv run python ./manage.py runserver 8082 > /dev/null 2>&1 &'
echo "Brutaldon started"
}
brutaldon_stop()
{
pkill -U $(id -u brutaldon) python
while /bin/test ! -z $(/usr/bin/pgrep -q -U $(id -u brutaldon) python); do
echo "Waiting for brutaldon to die"
sleep 5
done
echo "Brutaldon stopped"
}
brutaldon_status()
{
if pgrep -q -U $(id -u brutaldon) python; then
echo "Brutaldon is running"
else
echo "Brutaldon is stopped"
fi
}
run_rc_command "$1"
Sad part — even with big enough limits for the jail in the Bastillefile — brutaldon works not so fast. Possibly it is because it is written in Python, which wants a lot of memory/CPU, as I know from my experiments with home server, which has Intel Atom CPU inside and 2 Gb of memory :-D
https://codeberg.org/lil5/brutaldon_docker/src/branch/main/docker-compose.yaml
Brutaldon client in a dockerfile
Just FYI, I don't seem to be able to get #brutaldon.org and #GtS working in Dillo.
This is the error I get:
An error occured:
Bad Request: Key: 'OAuthAuthorize.ResponseType' Error:Field validation for 'ResponseType' failed on the 'required' tag
Key: 'OAuthAuthorize.ClientID' Error:Field validation for 'ClientID' failed on the 'required' tag
Key: 'OAuthAuthorize.RedirectURI' Error:Field validation for 'RedirectURI' failed on the 'required' tag: If you arrived at this error during a sign in/oauth flow, please try clearing your session cookies and signing in again; if problems persist, make sure you're using the correct credentials
Request ID: v8k98pcs04000r460pcg
Beautifully so! Also #dillo and #miniflux!
I wasn't able to get #brutaldon working, though. It does work with #Netsurf, however.
As a large part of the #Fediverse, and a driving force for popularizing it (plus being where I had my first experiences on it), I really love #Mastodon.
But to me, it has two pretty annoying/concerning issues:
Requiring JS is kinda gauche for such a groovy, nerdy, counter-cultural place such as this.
And as we should all understand by know, GitHub (and Microsoft) are freaking evil
Ok, </rant>. Merci.