veganism.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Veganism Social is a welcoming space on the internet for vegans to connect and engage with the broader decentralized social media community.

Administered by:

Server stats:

208
active users

#nodejs

20 posts18 participants0 posts today

Jak widzę kolejne stare niedziałające strony www lub wadliwe działające, a ich twórcy tłumaczą, że zajmują się już czymś innym i nie mają czasu, a strona wymagałaby zmiany silnika, załatania dziur bezpieczeństwa to utwierdzam się w przekonaniu.

Żadnego #Wordpress. Żadnego #Ghost. Tylko strony statyczne w ramach działalności hobbystycznej czy pro publico bono. Tak, aby działały po latach w tym także jak mnie nagle lub nienagle zabraknie, lub nie będę miał środków, zasobów, sił, chęci itp.

To samo polecam innym.

Ps. Ewentualnie newslettery, konta fediwersowe i inne tego typu szmery-bajery lepiej załatwiać osobno czy to u siebie w subdomenie, czy to u zewnętrznego usługodawcy. Jak znikną, twórca przestanie publikować, zaczną źle działać niezadbane, to nic nie szkodzi dla strony, bo strona statyczna dla archiwum zostanie i będzie działała. O ile ktoś oczywiście opłaci hosting i domeną. Ale o to ostatnie łatwiej zadbać.

#www#php#nodejs

I was working on some code for working with validated data in #Nodejs and remembered I wrote "use-models-for-data" three years ago. Does exactly what I need, it's well-enough documented, and easy to patch. And it automatically handles schema change detection, auto-generating migration scripts for your run.

Maybe I should see if someone's interested in sponsoring getting it to v1 and shepherding it.

npmjs.com/package/use-models-f

npmuse-models-for-dataInstead of plain JS objects, work with your data through well-defined, always-consistent models, using this one simple trick. Latest version: 0.0.27, last published: 12 minutes ago. Start using use-models-for-data in your project by running `npm i use-models-for-data`. There are no other projects in the npm registry using use-models-for-data.

Ω🪬Ω
New release of #FediAlgo (customizable #algorithm for your #Mastodon timeline) has a couple of cool features:

1. Configuration presets (so you can easily put discussions or trending toots at the top of your #timeline without fiddling with the individual settings)

2. A "What's Trending" section that will show you the top trending hashtags, links, and posts scraped from 30 or so of the most popular Mastodon servers

All the old features like filtering for particular languages / hashtags / users or a minimum number of replies / boosts / etc. are still there.

For now you still need to use the command line to run it (it's easy tho). If there's interest I can deploy the demo publicly.

* Demo app: github.com/michelcrypt4d4mus/f
* Library: github.com/michelcrypt4d4mus/f

📡 New devlog up on Substack!
This time, I’m sharing how I set up the backend for *SevaStrife* — auth, security, logging, testing, docs… all the “boring” stuff that’s making me feel way more confident about the project.

Solo dev, learning on the fly, and honestly kinda enjoying writing tests now (coverage feels like a mini-game 😅).

Read here 👉 blacksheepdev.substack.com/p/l

Byoushin · 🚀 Laying the foundation — how I set up the backend for SevaStrifeBy Byoushin

New Kitten release 🎉

kitten.small-web.org

• New: Lovely new icons¹ and new callouts in Kitten Settings²

• New: Markdown now supports attributes and bracketed spans³

• New: client-side `kitten` global with `trigger` function for triggering events on the server from the client. (Useful when streaming client-side JavaScript when using Kitten’s Streaming HTML⁴ workflow. e.g., when you have to use a client-only web API like the Clipboard API but you want to keep all your logic on your server-side page.⁵)

• Fixed: The bound render function returned by `KittenComponent` class’s `component` getter now correctly awaits asynchronous templates. (In Kitten, you don’t have to care whether your templates contain promises. Kitten handles all that for you.)

Enjoy! :kitten:💕

¹ kitten.small-web.org/reference

² mastodon.ar.al/@aral/114381983

³ kitten.small-web.org/reference (also see mastodon.ar.al/@aral/114381462)

kitten.small-web.org/tutorials

⁵ e.g., See how I use this to implement a copy to clipboard button in the database page of Kitten’s Settings: codeberg.org/kitten/app/src/br Of course, you don’t have to use this and you can just write client-side JavaScript or use the built-in Alpine.js integration. e.g., how I do it on the (older) settings/identity page: codeberg.org/kitten/app/src/br

#Kitten#SmallWeb#web