Scott's Code Journal
scott.codejournal.dev
Scott's Code Journal
@scott.codejournal.dev
A place where I randomly share information, code, and resources that I find as I work on various web development projects.

🌉 bridged from ⁂ https://codejournal.dev/channel/scott, follow @ap.brid.gy to interact
I just saw something interesting. An OpenID provider that supports privacy.

#^https://privacyportal.org/

They do charge money to use it though, unless your community is very small. And if your community can't afford the monthly fees anymore, if you disable their login, anyone using their […]
Original post on codejournal.dev
codejournal.dev
March 3, 2025 at 5:58 PM
Each platform would still need to verify the user's identity using identity proofs or some other method, but the DID could be something that platforms can store in their database, similar to how Hubzilla stores the channel hash. This would make it easier to identity clones and aliases […]
Original post on codejournal.dev
codejournal.dev
February 4, 2025 at 5:04 PM
I just had an interesting thought. There is a push towards using Decentralized IDs for user accounts. Bluesky uses DIDs to identify accounts. Hubzilla and (streams) have an internal hash generated from the user's cryptographic keys that serves as a DID.

Could Hubzilla and (streams) generate […]
Original post on codejournal.dev
codejournal.dev
February 4, 2025 at 4:50 PM
Found a nice little code snippet for making responsive videos on Bootstrap 5 based websites, such as Hubzilla.

<div class="ratio ratio-16x9">
  <iframe src="https://example.social/videos/embed/1234" title="PeerTube Video" allowfullscreen></iframe>
</div>

#^ […]
Original post on codejournal.dev
codejournal.dev
February 4, 2025 at 10:43 AM
If you are building an ActivityPub app, this might be useful:

#^https://www.w3.org/TR/activitystreams-vocabulary/
Activity Vocabulary
www.w3.org
February 3, 2025 at 5:30 PM
It is also holding up the opening of #^https://forums.cafe and the other public hubs I am about to launch.
February 2, 2025 at 6:41 AM
Well, this is really frustrating. If you do not implement notifications the Redbasic way, basically notifications don't work on mobile, because on mobile, notifications are hidden by default until you click a button with a certain id and classes.

So you can't create a page that shows only the […]
Original post on codejournal.dev
codejournal.dev
February 2, 2025 at 6:03 AM
I think I need to change my approach when building the mobile view of the Hubzilla theme. Instead of trying to make one view that works well on both mobile and desktop, it might be useful to separate certain pages into multiple pages for mobile.

For example, Headquarters (HQ) is where users […]
Original post on codejournal.dev
codejournal.dev
February 1, 2025 at 6:47 AM
Found out something interesting today while working on one of our themes for Hubzilla. The notification widget won't work unless you have a button with a specific class.... which our theme does not use. I created a temporary workaround by adding a button with the relevant classes so the […]
Original post on codejournal.dev
codejournal.dev
February 1, 2025 at 12:43 AM
I just created a table that compares Hubzilla, Mastodon, Bluesky, and Threads. Eventually this list will appear on various websites.

If you could look it over and tell me if I missed something or made a mistake, that would be appreciated. Thank you.

#^https://codejournal.dev/page/scott/compare
January 2, 2025 at 2:53 PM
<a href="https://bsky.app/profile/did:plc:iz24ckvsc4lo74ecf5ucrudw" class="hover:underline text-blue-600 dark:text-sky-400 no-card-link" target="_blank" rel="noopener" data-link="bsky-mention">@silverpill I am working on a fediverse-enabled project management system. I am still trying to figure out how I want to federate it. ActivityPub, Nomad protocol, or an API. If I do it over Nomad or ActivityPub, I would have to do the two versions method, since most platforms won't support […]
Original post on codejournal.dev
codejournal.dev
December 3, 2024 at 12:16 AM
I just thought of something interesting thanks to a conversation with @infinite love ⴳ about different platforms using ActivityPub differently. We have @PeerTube and @loops that serve videos, but other platforms don't necessarily support videos natively (other than embedded within a note or […]
Original post on codejournal.dev
codejournal.dev
November 25, 2024 at 6:38 PM
I was just playing around with Bridgy Fed, which now allows you to set up a custom username on your domain name. This allows your Hubzilla account (or any ActivityPub account, for that matter) to appear on Bluesky and AT Protocol... without the need to create a Bluesky account.

Following the […]
Original post on codejournal.dev
codejournal.dev
November 14, 2024 at 8:59 AM