mapache, to fediverse
@mapache@hachyderm.io avatar

Part 3 of "A Guide to Implementing ActivityPub in a Static Site (or Any Website)" is just out the oven!

In this blog post, I explain how to make your blog discoverable in the Fediverse as an account, and also address some of the annoying pitfalls I encountered.

Full article here: https://maho.dev/2024/02/a-guide-to-implementing-activitypub-in-a-static-site-or-any-website-part-3/

If you like it don't forget to follow the @blog !

-sites -development -web

jschauma, to random
@jschauma@mstdn.social avatar

Because I've been using it quite a bit lately and think it might be useful for some of you, here's a list of #HTTP status codes and descriptions in man page format:

https://github.com/jschauma/httpstatus

#rtfm

jschauma,
@jschauma@mstdn.social avatar

By popular demand: I just added 84 non-standard #HTTP status codes, including from Shopify, Edgio, Akamai EAA, Cloudflare, and others. ✌️

https://github.com/jschauma/httpstatus

paulox, to webdev
@paulox@fosstodon.org avatar

RT @htmx_org

htmx 2.0 alpha1 targeted for release tomorrow

upgrade guide:
https://v2-0v2-0.htmx.org/migration-guide-htmx-1/

bagder, to random
@bagder@mastodon.social avatar

The #Gemini protocol seen by this #HTTP client person https://daniel.haxx.se/blog/2023/05/28/the-gemini-protocol-seen-by-this-http-client-person/ -

tldr: I think they have some improvements left to do.

orhun, to rust
@orhun@fosstodon.org avatar

No more Postman! This TUI API client goes crazy 🔥

📡 atac: A simple API client in your terminal.

🚀 Supports importing collections from Postman.
🔓 Free, account-less, and offline.
🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: https://github.com/Julien-cpsn/ATAC

#rustlang #tui #ratatui #http #client #api #postman #terminal

video/mp4

atomicpoet, to fediverse

It's not worth bemoaning that #ActivityPub is, in fact, an open protocol.

And this is because it's not worth bemoaning that #SMTP is an open protocol. Or Hypertextual Transfer Protocol (#HTTP) is an open protocol.

Or for that matter that anyone can use these protocols as they see fit.

Do I like every use of these protocols? Not at all. We can't always have good things because shady assholes insist on exploiting the open web for their own greed.

The trade off is that we get to have an open web.

Now occasionally, I get people popping by who tell me, "Screw you! I don't care about an open web! I just want to keep my community intact!"

But the only reason your community exists is because we have open protocols.

If you don't think so, find me all those thriving communities still using AppleTalk or IPX/SPX. Wait. There aren't any.

And that's because the only entities that have bothered with a closed, proprietary protocol happen to be for-profit corporations that have largely discontinued them due to -- again, wait for it -- the prevalence of open protocols.

Which brings us to a further problem.

You can't use an open protocol while simultaneously pushing for it to be closed. The #W3C already validated ActivityPub. The proverbial cat is out of the bag.

So yes, corporations will adopt ActivityPub. That's already happening. #Meta, #Automattic, #Medium, #Flipboard -- many more to come -- are developing for it.

But openness also means you can build upon it. You can create your own thriving communities. And some of these communities can be private if you so choose.

Just as it's possible for you to build your own newsletter or publish your own webpage, it's possible for you built your own #Fediverse server.

You see, openness cuts both ways.

mapache, to fediverse
@mapache@hachyderm.io avatar

Part 6 of "A Guide to Implementing ActivityPub in a Static Site (or Any Website)" is now out.

Sorry about the delay, this is the part that not many people will like, I assume. I try to explain how to implement the inbox, which by nature is dynamic non-static.

Full article here:
https://maho.dev/2024/04/a-guide-to-implementing-activitypub-in-a-static-site-or-any-website-part-6/

If you like it don't forget to follow the @blog !

aral, to random
@aral@mastodon.ar.al avatar

It blows my mind that it’s 2023 and we still can’t have an anchor or a form carry out an HTTP PUT or DELETE request without using a library like htmx.

But Web DRM? Sure, we’re working on that!

smh

#web #dev #hypermedia #html #http

Edent, to fediverse
@Edent@mastodon.social avatar

🆕 blog! “A simple(ish) guide to verifying HTTP Message Signatures in PHP”

Mastodon makes heavy use of HTTP Message Signatures. They're a newish almost-standard which allows a server to verify that a request made to it came from the person who sent it. This is a quick example to show how to verify these signatures using P…

👀 Read more: https://shkspr.mobi/blog/2024/02/a-simpleish-guide-to-verifying-http-message-signatures-in-php/

#ActivityPub #cryptography #http #mastodon #security

ainmosni, to tech
@ainmosni@berlin.social avatar

Maybe I'm an old grumpy #tech guy, but I really don't like massive complicated frameworks that abstract away well known protocols like #HTTP, #GRPC, etc.

I already know those, I can easily write code that does those, why do I have to learn the convoluted #framework way of doing things that would be 10 seconds work if I could just access the basic http library underneath?

cliffle, to web
@cliffle@hachyderm.io avatar

Spent the past few evenings on a very different kind of performance optimization: making my website really, really fast -- with a focus on people with slower, higher-latency connections.

I had to learn some things to pull this off, and I thought they might help others, so I've written the process up in a new blog post:

https://cliffle.com/blog/making-website-faster/

Includes some animated GIFs of the page load experience so you can see how bad it can be!

Edent, to random
@Edent@mastodon.social avatar

🆕 blog! “Sometimes gzip beats Brotli”

Perhaps this was obvious to you, but it wasn't to me. So I'm sharing in the hope that you don't spend an evening trying to trick your webserver into doing something stupid. For years, HTTP content has been served with gzip compression (gz). It's basically the same sort of compression algorithm you get in a […]

👀 Read more: https://shkspr.mobi/blog/2023/08/sometimes-gzip-beats-brotli/

paulox, (edited ) to memes
@paulox@fosstodon.org avatar

RT @htmx_org

So is anyone actually using htmx or what?

Crell, to security
@Crell@phpc.social avatar
jnv, to til
@jnv@mastodon.social avatar

There's a draft of RFC for transclusion via HTTP Prefer header: https://inadarei.github.io/draft-prefer-transclude/

Logological, to random

Communications of the is now open access, but at the cost of breaking all existing links to articles. "We need to get Google to reindex the new site ASAP," says its editor. Has no one at @ACM heard of redirects? https://developers.slashdot.org/story/24/03/03/035222/communications-of-the-acm-is-now-open-access?utm_source=rss1.0mainlinkanon&utm_medium=feed

Edent, to fediverse
@Edent@mastodon.social avatar

🆕 blog! “I made a mistake in verifying HTTP Message Signatures”

It's never great to find out you're wrong, but that's how learning and personal growth happens. HTTP Message Signatures are hard1. There are lots of complex parts and getting any aspect wrong means certain death2. In a previous post, I wrote A simple(ish) guide to verifying …

👀 Read more: https://shkspr.mobi/blog/2024/03/i-made-a-mistake-in-verifying-http-message-signatures/

#ActivityPub #CyberSecurity #http #security

setebos, to internet
@setebos@mastodon.online avatar
kushal, to random
@kushal@toots.dgplug.org avatar

Did you ever write any application over Unix domain ? If yes, then can you please tell me about the usecase?

Please boost for more reach.

orhun, to rust
@orhun@fosstodon.org avatar

Today I found a TUI frontend for curl! 🔥

🌀cute: TUI HTTP client with API/auth key management and request history/storage.

🌐 Supports importing Postman collections!

🦀 Written in Rust & built with @ratatui_rs

⭐ GitHub: https://github.com/PThorpe92/CuTE

#rustlang #ratatui #tui #curl #http #request #api #auth

video/mp4

reiver, to SmallWeb
@reiver@mastodon.social avatar

1/

One reason that HTTP(S) came to dominate application development is —

A lot of firewalls block all Internet traffic that isn't HTTP(S) — i.e., that isn't sent over TCP port 80 or 443.

That presents a problem for small-net protocols.

Will they in practice "work" for most people — will they be accessible by most people — given so many firewalls block non-HTTP(S) traffic‽

Should small-net protocol developers even care‽

bortzmeyer, to random French
@bortzmeyer@mastodon.gougere.fr avatar

Les rois du Web : toujours pas de redirection en place https://francetravail.fr/

Par contre, il y a un https://www.francetravail.org/ avec du contenu.

#DNS #HTTP

kalvn, to random French
@kalvn@mastodon.xyz avatar

Une explication détaillée de HTTP3. La principale différence est qu'il utilise UDP + QUIC + TLS au lieu de TCP + TLS.

QUIC vise à moderniser et remplacer TLS, mais pour garder une compatibilité maximale avec les équipements réseau (routeurs, firewalls, etc.) UDP est nécessaire.

https://www.smashingmagazine.com/2021/08/http3-core-concepts-part1/

#http #quic #http3

sandboxgeneral, to linux
@sandboxgeneral@fosstodon.org avatar

How many folks out there use the Gemini protocol, even a little? Do you have your own Gemini Capsule?

What about the Gopher protocol, do you use that?

For a while I ran my blog on http, Gemini and Gopher.

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