eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

221
active users

#webhooks

0 posts0 participants0 posts today
Aral Balkan<p>New Kitten release</p><p>• Added instructions to Kitten’s Settings app for how to set up a webhook at Codeberg¹ so that pushing to your main branch automatically updates your deployed server.</p><p><a href="https://kitten.small-web.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">kitten.small-web.org</span><span class="invisible"></span></a></p><p>(Would you like me to add instructions for GitHub also? Hmm, let me think a moment… No.)</p><p>You can also find the relevant information in the Kitten reference:</p><p><a href="https://kitten.small-web.org/reference/#webhook" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">kitten.small-web.org/reference</span><span class="invisible">/#webhook</span></a></p><p>Enjoy!</p><p>:kitten:💕</p><p>¹ Codeberg is an community-run ethical alternative GitHub. You can follow them on the fediverse at <span class="h-card" translate="no"><a href="https://social.anoxinon.de/@Codeberg" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Codeberg</span></a></span> and visit them online at <a href="https://codeberg.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org</span><span class="invisible"></span></a></p><p><a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.ar.al/tags/SmallTech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallTech</span></a> <a href="https://mastodon.ar.al/tags/webhooks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webhooks</span></a> <a href="https://mastodon.ar.al/tags/git" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>git</span></a> <a href="https://mastodon.ar.al/tags/deployment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>deployment</span></a> <a href="https://mastodon.ar.al/tags/NodeJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NodeJS</span></a></p>
Aral Balkan<p><span class="h-card" translate="no"><a href="https://mastodon.social/@ctietze" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>ctietze</span></a></span> Thanks. It’s pretty simple, really:</p><p>On the Codeberg/Forgejo side, they use git hooks to make a HTTPS request to the webhook URL whenever there’s a push (in this case, only to the main branch).</p><p>On the Kitten side, Kitten deploys apps from their git repositories so all it has to do is pull in the latest changes.</p><p>This is the webhook code on the Kitten side of things:</p><p><a href="https://codeberg.org/kitten/app/src/branch/main/web/%F0%9F%92%95/webhook/index.post.js" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">codeberg.org/kitten/app/src/br</span><span class="invisible">anch/main/web/%F0%9F%92%95/webhook/index.post.js</span></a></p><p><a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.ar.al/tags/git" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>git</span></a> <a href="https://mastodon.ar.al/tags/webhooks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webhooks</span></a> <a href="https://mastodon.ar.al/tags/updates" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>updates</span></a> <a href="https://mastodon.ar.al/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.ar.al/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://mastodon.ar.al/tags/NodeJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NodeJS</span></a></p>
Aral Balkan<p>Kitten¹ update</p><p>You can now change your webhook token from Kitten’s App Settings page for the webhook feature added yersterday².</p><p>Kitten’s crypto library, with higher-level cryptographic functions used by Kitten itself, is also now available at kitten.crypto (you can play with it interactively in the Kitten shell³, if you like).</p><p>¹ <a href="https://kitten.small-web.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">kitten.small-web.org</span><span class="invisible"></span></a><br>² <a href="https://mastodon.ar.al/@aral/112695245325302447" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.ar.al/@aral/112695245</span><span class="invisible">325302447</span></a><br>³ <a href="https://ar.al/2024/05/23/new-kitten-features-interactive-shell-repl-multi-page-settings-and-backup-and-restore-data-portability/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ar.al/2024/05/23/new-kitten-fe</span><span class="invisible">atures-interactive-shell-repl-multi-page-settings-and-backup-and-restore-data-portability/</span></a></p><p>:kitten:💕</p><p><a href="https://mastodon.ar.al/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.ar.al/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://mastodon.ar.al/tags/HTML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HTML</span></a> <a href="https://mastodon.ar.al/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> <a href="https://mastodon.ar.al/tags/JavaScript" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JavaScript</span></a> <a href="https://mastodon.ar.al/tags/JS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JS</span></a> <a href="https://mastodon.ar.al/tags/NodeJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NodeJS</span></a> <a href="https://mastodon.ar.al/tags/webhooks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webhooks</span></a></p>
Aral Balkan<p>New Kitten feature: Webhook</p><p>If you’re a dev building a site or app for yourself that you want to update easily, you can now set up a webhook from your remote Git repository so your deployed Kitten site is automatically updated, for example, every time you push to the main branch.</p><p>This is how the Kitten web site is being updated now:</p><p><a href="https://kitten.small-web.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">kitten.small-web.org</span><span class="invisible"></span></a></p><p>Just deployed, kitten update to get it :)</p><p>:kitten:💕 </p><p><a href="https://mastodon.ar.al/tags/SmallWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallWeb</span></a> <a href="https://mastodon.ar.al/tags/Kitten" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kitten</span></a> <a href="https://mastodon.ar.al/tags/web" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>web</span></a> <a href="https://mastodon.ar.al/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://mastodon.ar.al/tags/deployment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>deployment</span></a> <a href="https://mastodon.ar.al/tags/git" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>git</span></a> <a href="https://mastodon.ar.al/tags/webhook" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webhook</span></a> <a href="https://mastodon.ar.al/tags/webhooks" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webhooks</span></a> <a href="https://mastodon.ar.al/tags/SmallTech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmallTech</span></a> <a href="https://mastodon.ar.al/tags/NodeJS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NodeJS</span></a></p>