codeberg.org

recursive_recursion, to foss in Treedome 0.4.5 is out: Encrypted, Local First, Note Taking App
@recursive_recursion@programming.dev avatar

Just a heads up but your codeberg link returns a 404 not found

  • Edit: huh it’s just the embeded link that does that, strange

besides that I really like your project, it hits all the right spots for me in terms of languages used, features being implemented, and in addition the interface also looks nice!✨

tengkuizdihar,
@tengkuizdihar@programming.dev avatar

Thank you! This project was made for my learning purposes, but I accidentally got a working product at the end, so that’s nice!

MarshReaper, to godot in WebSocket not receiving anymore updates after initial connection
@MarshReaper@lemmy.world avatar

I wouldn’t have gotten here without doing almost all of the previous steps. I even learned a lot about Godot and other libraries.

To solve this issue, go to PROJECT SETTINGS -> NETWORK -> LIMITS -> Max In Buffer (KB) & Max Out Buffer (KB) to a generous 1024 AND (I think) set Max Buffer (Power of 2) to a whopping 256.

MarshReaper, to godot in WebSocket not receiving anymore updates after initial connection
@MarshReaper@lemmy.world avatar

UPDATE

I posted this before testing out an older version of godot and it seems to work just great! But as in the github issue, that is because of changes with how the protocols worked and what headers are sent!

Here is the code for use in Godot 3.1.1:


<span style="color:#323232;">extends Node
</span><span style="color:#323232;">
</span><span style="color:#323232;">var _client = WebSocketClient.new()
</span><span style="color:#323232;">
</span><span style="color:#323232;">func _ready():
</span><span style="color:#323232;">	print("connecting...")
</span><span style="color:#323232;">	_client.connect("connection_closed", self, "ws_closed")
</span><span style="color:#323232;">	_client.connect("connection_error", self, "ws_connection_error")
</span><span style="color:#323232;">	_client.connect("connection_established", self, "ws_connection_established")
</span><span style="color:#323232;">	_client.connect("server_close_request", self, "ws_close_request")
</span><span style="color:#323232;">	_client.connect_to_url("wss://ws.revolt.chat/?version=1&format=json&token={token}")
</span><span style="color:#323232;">
</span><span style="color:#323232;">func ws_closed(clean):
</span><span style="color:#323232;">	if !clean:
</span><span style="color:#323232;">		print("websocket closed")
</span><span style="color:#323232;">	else:
</span><span style="color:#323232;">		print("websocket closed cleanly")
</span><span style="color:#323232;">
</span><span style="color:#323232;">func ws_connection_error():
</span><span style="color:#323232;">	print("websocket connection failed")
</span><span style="color:#323232;">
</span><span style="color:#323232;">func ws_connection_established(protocol):
</span><span style="color:#323232;">	print("we're connected using protocol: ", protocol)
</span><span style="color:#323232;">
</span><span style="color:#323232;">func ws_close_request(code, reason):
</span><span style="color:#323232;">	print("closed with code: ", code, " and reason: ", reason)
</span><span style="color:#323232;">
</span><span style="color:#323232;">func _process(delta):
</span><span style="color:#323232;">	if _client.get_connection_status() == WebSocketClient.CONNECTION_DISCONNECTED:
</span><span style="color:#323232;">		return
</span><span style="color:#323232;">	print(_client.get_peer(1).get_packet().get_string_from_utf8())
</span><span style="color:#323232;">	_client.poll()
</span>
BinaryUnit, to selfhosted in [beta] Help test Shaarli addon/extension
@BinaryUnit@lemmy.world avatar

The extension is now available and approved on both Firefox and Chrome stores 🎉

Firefox Browser add-ons

Chrome web store

g_damian, to selfhosted in [beta] Help test Shaarli addon/extension

What is the advantage of this extension over the bookmarklet? shaarli.readthedocs.io/en/master/Usage.html#addin…

BinaryUnit,
@BinaryUnit@lemmy.world avatar

The bookmarklet opens a window popup with the Shaarli instance to save your current tab. This extension uses the Shaarli API, opens a extension popup that let you add/edit your current tab as well as search within your bookmarks

rambos, to selfhosted in Get notified on Mastodon for new Github releases

Is there any way to get those notifictions over selfhosted gotify?

American_Jesus,

You can get the rss of new releases with rss, and use rss plugin for Gotify
github.com/solarkennedy/gotify-rss
piraces.dev/…/github-releases-feed-atom/

rambos,

May I ask for some help please. I dont know how to use this command:


<span style="color:#323232;">$ make GOTIFY_VERSION="v2.0.5" FILE_SUFFIX="for-gotify-v2.0.5" build
</span>

Where should I type that? How can I build that plugin?

American_Jesus, (edited )

make GOTIFY_VERSION=“v2.0.5” FILE_SUFFIX=“for-gotify-v2.0.5” build

Use the gotify version according to the one installed on your system.
EX: make GOTIFY_VERSION=“v2.4.0” FILE_SUFFIX=“for-gotify-v2.4.0” build
for the latest release

the on build/you should have some .so files, copy the one for your machine arch to gotify plugins dir data/plugins

where a build for gotify v2.4.0 nowtransfer.de/3460c8e86670
copy only the one needed

rambos,

Copying your file to data/plugins worked! Now just have to wait for next feed to test it out. Thank you again <3

Still don’t know how to use command tho :D Sorry, I’m noob. Was trying to enter that command in terminal, but I get:


<span style="color:#323232;">make: *** No rule to make target 'build'.  Stop.
</span>
American_Jesus,

Assuming you are on a Debian/Ubuntu based distro, make sure you have the following packages installed build-essential golang

However Gotify recomends using docker to build plugins
gotify.net/docs/plugin-deploy#with-docker-recomme…

rambos,

Thank you! I use Debian 11, installed make, build-essential and golang, and still receiving the same message (feels like I should learn how to use these packages first).

Using your file was working, but unfortunately gotify container just stops after some time. I was reading the docs and I must admit I don’t understand a tiny bit :D. Spinning gotify server in docker container was super easy tho. I’d like to get this working, but feels bad for taking your time mate, and I even stole the thread (Sorry OP) lol.

gla3dr, to selfhosted in Get notified on Mastodon for new Github releases

Why not just subscribe to the release notifications or use the releases atom feed?

eskuero,
@eskuero@lemmy.fromshado.ws avatar

I do it that way. Enable email notifications for new tagged releases, something arrives, check changelog, everything fine?

docker-compose pull; docker-compose down; docker-compose up -d

And we are done

Link,

You don’t need to run docker-compose down.

docker-compose pull; docker-compose up -d is enough

eskuero,
@eskuero@lemmy.fromshado.ws avatar

I guess that’s fair for single service composes but I don’t really trust composes with multiple services to gracefully handle only recreating one of the containers

7Sea_Sailor,

You can docker compose up -d <service> to (re)create only one service from your Dockerfile

BlackEco,
@BlackEco@lemmy.blackeco.com avatar

Exactly, I don’t get the “Mastodon as a poor man’s RSS agregator” trend

valpackett, to programming in Codeberg.org Opinions?
@valpackett@lemmy.blahaj.zone avatar

Moved most of my stuff there a while ago, has been pretty great.

kixik, to programming in Codeberg.org Opinions?

I recommend you to explore sourcehut as well, if you’re not afraid of something different to gitlab/github workflows.

pkill, to programming in Codeberg.org Opinions?

Had no trouble getting access to their CI, my request took less than a day for my one AGPL-licensed project. Also has a weblate instance. In the past the UI could have been a little laggy with large diffs but that improved somehow. Not too many 3rd party integrations supported though and not as feature-rich as Gitlab, but still very friendly UX that’d probably cover your GitOps needs in 90% of the cases.

They also got really good ToS, see tosdr.

fruitycoder, to programming in Codeberg.org Opinions?

Little bastion of hope for tbh. Clean UI, open source, supported by a nonprofit, community driven and work towards ActivityPub federation on it.

I’m over proprietary and profit driven products focused on trapping me in their ecosystems.

excitingburp, to programming in Codeberg.org Opinions?

I love it enough to donate. Forego is an awesome project.

akselmo, to programming in Codeberg.org Opinions?

I’ve been using it for a while, can highly recommend it. Migrating stuff from github was quite easy.

tengkuizdihar, to programming in Codeberg.org Opinions?
@tengkuizdihar@programming.dev avatar

Using it right now. The uptime back then was abysmal, the sites are often unresponsive. They seems to have fixed those things now, I have migrated all of my active project to codeberg from gitlab now.

THEMASTERMIND, to programming in Codeberg.org Opinions?

Yeah i like it besides anything that isn’t owned by big corpo like MS is a plus. Seems to have good ethics / privacy policy and is also community led . and they are working on federation yeah definetly good. Will suggest switching op .

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • GTA5RPClips
  • DreamBathrooms
  • cubers
  • mdbf
  • everett
  • magazineikmin
  • Durango
  • Youngstown
  • rosin
  • slotface
  • modclub
  • kavyap
  • ethstaker
  • megavids
  • ngwrru68w68
  • thenastyranch
  • cisconetworking
  • khanakhh
  • osvaldo12
  • InstantRegret
  • Leos
  • tester
  • tacticalgear
  • normalnudes
  • provamag3
  • anitta
  • lostlight
  • All magazines