Post ASjgBlaFgUnFg1K0ZM by selea@social.linux.pizza
(DIR) More posts by selea@social.linux.pizza
(DIR) Post #ASjbWGpuhLL6crbZXE by stux@mstdn.social
2023-02-16T10:43:48Z
0 likes, 0 repeats
I'm setting up #libretranslate on it's own VPS within the network now :blobcathighfive: Let's seeee
(DIR) Post #ASjbk3PZPNIF2kr6g4 by daevien@freeside.cafe
2023-02-16T10:46:19Z
0 likes, 0 repeats
@stux Good luck with it lolThough to be fair to it, in my testing it seems to be mastodon taking forever to send the request is why it makes the translation seem so derpy.Mastodon seems to wait to send it then times out very quickly after, giving the translate very little time to work.
(DIR) Post #ASjc0S7JJzyGId8Nua by stux@mstdn.social
2023-02-16T10:49:20Z
0 likes, 0 repeats
@daevien Hmm, got it running now! Now hooking it up and testing :ed_grin:
(DIR) Post #ASjcKKhObwrv5JUbCa by daevien@freeside.cafe
2023-02-16T10:52:56Z
0 likes, 0 repeats
@stux Sidenote: If you are running it via docker, unless they've reworked the dockerfile, it would download the translation libraries every time it started up and if you have every language enabled, it takes a while.I ended up mapping /home/libretranslate/.local/cache/argos-translate and /home/libretranslate/.local/share/argos-translate to directories so contents would survive a restart of the docker and added a crontab to update them once a day.
(DIR) Post #ASjcQSYKK9P5BEAip6 by nuncio@mstdn.social
2023-02-16T10:54:07Z
0 likes, 0 repeats
@stux OMG I just came across a post in French and there's now a "Translate" link on there!!!
(DIR) Post #ASjca4Mv5uPb4RQ1my by stux@mstdn.social
2023-02-16T10:55:48Z
0 likes, 0 repeats
@daevien Nop, no Docker for me :ed_grin:
(DIR) Post #ASjcwQto0WFpJnSrTM by stux@mstdn.social
2023-02-16T10:59:45Z
0 likes, 0 repeats
Done and done! Now reloading the web interface and testingPlease don't panic if translation doesn't work right, im still working on our much much cheaper alternative
(DIR) Post #ASjcy92fN2KEVyQR04 by daevien@freeside.cafe
2023-02-16T11:00:09Z
0 likes, 0 repeats
@stux Docker was quick to test for me and didn't seem to be the issue, it was just Mastodon waiting like 95% of the time, sending command then going welp your translation bit sucks when libre translate couldn't get the request, process and spit it back instantly lol
(DIR) Post #ASjeQXRaL23aG5BSs4 by thor@berserker.town
2023-02-16T11:03:51Z
0 likes, 0 repeats
@stux you can get that working with Mastodon?
(DIR) Post #ASjer2mISfrky6VhlA by selea@social.linux.pizza
2023-02-16T11:21:18Z
0 likes, 0 repeats
@stux What specs do you use for the VPS?I have thought about getting an nvidia jetson or similar in order to run libretranslate on that one
(DIR) Post #ASjetreYHQeXKlEUU4 by stux@mstdn.social
2023-02-16T11:21:48Z
0 likes, 0 repeats
@selea A minimal VPS but it's running 😮 :blobcatgiggle:
(DIR) Post #ASjeyFx3sf4nqvz768 by selea@social.linux.pizza
2023-02-16T11:22:36Z
0 likes, 0 repeats
@stux Ah hopefully it works :) From what I've heard it is pretty slow on CPU's
(DIR) Post #ASjfGDlYkFnMHrAepc by NerdyKeith@mstdn.social
2023-02-16T11:25:52Z
0 likes, 0 repeats
@stux Wow that would be awesome if we had a translator on Mastodon. I'm using the native one on iOS / Mac, doesn't support all languages.
(DIR) Post #ASjfxNqN9Vg3zi0Hr6 by stux@mstdn.social
2023-02-16T11:33:38Z
0 likes, 0 repeats
@selea I can access it now from mstdn via CURL when im running it on the private IP on libre machine)But now the question is Mastodon :blobcatgiggle: The ALLOWED_PRIVATE_ADDRESSES var would be the mstdn private IP I guess right?
(DIR) Post #ASjgBlaFgUnFg1K0ZM by selea@social.linux.pizza
2023-02-16T11:36:15Z
0 likes, 0 repeats
@stux "Comma-separated specific addresses/subnets allowed in outgoing HTTP queries."
(DIR) Post #ASjl7SgyTqiBhLEUsq by jahanson@masto.veri.dev
2023-02-16T12:31:29Z
0 likes, 0 repeats
@stux @selea Mine is 127.0.0.1 so that would be appropriate I believe.
(DIR) Post #ASjlHaRmVDhme4xEOG by stux@mstdn.social
2023-02-16T12:33:17Z
0 likes, 0 repeats
@jahanson @selea Got it working now but via nginx and public :blobcatgiggle: Think im gonna keep it this way
(DIR) Post #ASjlOlhR43ddZUhW4W by jahanson@masto.veri.dev
2023-02-16T12:34:37Z
0 likes, 0 repeats
@stux Way less 💸
(DIR) Post #ASjnIhgtFvrfJEgKNk by selea@social.linux.pizza
2023-02-16T12:55:55Z
0 likes, 0 repeats
@jahanson @stux Nice!
(DIR) Post #ASjnKx9OkQG9pu5YcC by stux@mstdn.social
2023-02-16T12:56:20Z
0 likes, 0 repeats
@selea @jahanson If you guys need a free translation service for Masto just let me know :cat_hug_triangle:
(DIR) Post #ASjnUpbvdSilLc8z3I by selea@social.linux.pizza
2023-02-16T12:58:07Z
0 likes, 0 repeats
@stux @jahanson Thanks :) I will wait a few weeks before asking thou, so you know that you have ok load on that one, I dont want to be a burden/liability :)
(DIR) Post #ASjnaaohYI3rCbrj1c by stux@mstdn.social
2023-02-16T12:59:09Z
0 likes, 0 repeats
@selea @jahanson Totally alright mate :blobcathighfive: im keeping an eye on the server and also setup a status :ed_grin: Got it running on 2 instances now and load is minimal
(DIR) Post #ASjnocabl3j6kpxkqO by selea@social.linux.pizza
2023-02-16T13:01:42Z
0 likes, 0 repeats
@stux @jahanson Try to translate some stuff :)
(DIR) Post #ASjnuT3s60EEwQREiO by stux@mstdn.social
2023-02-16T13:02:44Z
0 likes, 0 repeats
@selea @jahanson Haha i am :ed_grin: Set back the UI lang to Dutch and removed all lang prefs! I keep hitting that translate button :blobcatcode:
(DIR) Post #ASk0JQmctygAZ72evI by catalyst@bluechakra.cloud
2023-02-16T15:21:40Z
0 likes, 0 repeats
@stux Have any instructions on how to do all this? Thanks!