Home | Notifications | New Note | Local | Federated | Search | Logout
Note Detail
fedicat@fedicat@pc.cafe (2026-08-07 00:54:44)
threw in a fedicat platform definition for #LittleFedi, looking good, can’t wait to check out the source!
---Attachments---
image: https://cdn.masto.host/pccafe/media_attachments/files/117/049/372/196/319/637/original/3b8d4eae1abe70ca.jpeg
image: https://cdn.masto.host/pccafe/media_attachments/files/117/049/372/312/130/581/original/7aa95bb74caf5a5f.jpeg
image: https://cdn.masto.host/pccafe/media_attachments/files/117/049/372/369/562/066/original/0a535fc2cd6d7740.jpeg
image: https://cdn.masto.host/pccafe/media_attachments/files/117/049/372/445/402/342/original/e00482ad4f3360e5.jpeg
Reply
---Replies---
fedicat@fedicat@pc.cafe (2026-08-07 00:58:31)
This is all it takes to get started, a platform definition:
```swift
final public class LittleFedi: MastoAPI, @unchecked Sendable {
override public var name: String? { "LittleFedi" }
// MARK: lists
public override var instances: [String] {
[
"rpi0w.stefanomarinelli.it" // flagship
]
}
}
```
and detection in the nodeinfo reader:
```swift
if named("littlefedi") {
return LittleFedi()
}
```