Fedify: an ActivityPub server framework's avatar

Fedify: an ActivityPub server framework

@fedify@hollo.social · 8 following · 628 followers

:fedify: Fedify is a TypeScript library for building federated server apps powered by ActivityPub and other standards, so-called fediverse. It aims to eliminate the complexity and redundant boilerplate code when building a federated server app, so that you can focus on your business logic and user experience.

Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

🎉 Excited to announce that is now on Open Collective! Support the project's development starting at:

  • Backer (from $5/mo)
  • Supporter (from $25/mo)
  • Sponsor (from $100/mo)
  • Corporate Sponsor (from $500/mo)
  • Custom donations welcome

Your support will help us maintain and improve Fedify. Check it out here:

https://opencollective.com/fedify

:fedify:

Fedify's Open Collective page showing the project logo, description as “A TypeScript library for building federated server apps powered by ActivityPub and other standards”, and five contribution tiers starting from $5/month Backer to $500/month Corporate Sponsor, with custom contribution options available.
ALT text detailsFedify's Open Collective page showing the project logo, description as “A TypeScript library for building federated server apps powered by ActivityPub and other standards”, and five contribution tiers starting from $5/month Backer to $500/month Corporate Sponsor, with custom contribution options available.
Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

Fedify is an server framework in & . It aims to eliminate the complexity and redundant boilerplate code when building a federated server app, so that you can focus on your business logic and user experience.

The key features it provides currently are:

If you're curious, take a look at the website! There's comprehensive docs, a demo, a tutorial, example code, and more:

https://fedify.dev/

Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

Hello, ! It's the official fedi account of the Fedify, an server framework!

wolf aliceif's avatar
wolf aliceif

@aliceif@hollo.x27.one · Reply to aliceif's post

@aliceif

console output for fedify node hollo.x27.one
on the left, an ascii art version of the orange on black x27 server icon
on the right, information

Software:
  hollo v0.2.0
  https://docs.hollo.social/
  https://github.com/dahlia/hollo
Protocols:
  activitypub
Outbound services:
  atom1.0
Users:
  2 (total)
  1 (active half year)
  1 (active month)
Local posts:
  19
Local comments:
  16
Open registrations:
  No
ALT text detailsconsole output for fedify node hollo.x27.one on the left, an ascii art version of the orange on black x27 server icon on the right, information Software: hollo v0.2.0 https://docs.hollo.social/ https://github.com/dahlia/hollo Protocols: activitypub Outbound services: atom1.0 Users: 2 (total) 1 (active half year) 1 (active month) Local posts: 19 Local comments: 16 Open registrations: No
Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

Starting with 1.3.0, you can customize the User-Agent header for every HTTP request that Fedify makes.

https://unstable.fedify.dev/manual/federation#useragent

userAgent

This API is available since Fedify 1.3.0.

The options for making User-Agent header in the HTTP requests that Fedify makes. By default, it contains the name and version of the Fedify library, and the name and version of the JavaScript runtime, e.g.:

Fedify/1.3.0 (Deno/2.0.4)
Fedify/1.3.0 (Node.js/v22.10.0)
Fedify/1.3.0 (Bun/1.1.33)

You can customize the User-Agent header by providing options like software and url. For example, if you provide the following options:

{
  software: "MyApp/1.0.0",
  url: "https://myinstance.com/"
}

The User-Agent header will be like:

MyApp/1.0.0 (Fedify/1.3.0; Deno/2.0.4; +https://myinstance.com/)

Or, you can rather provide a custom User-Agent string directly instead of an object for options.
ALT text detailsuserAgent This API is available since Fedify 1.3.0. The options for making User-Agent header in the HTTP requests that Fedify makes. By default, it contains the name and version of the Fedify library, and the name and version of the JavaScript runtime, e.g.: Fedify/1.3.0 (Deno/2.0.4) Fedify/1.3.0 (Node.js/v22.10.0) Fedify/1.3.0 (Bun/1.1.33) You can customize the User-Agent header by providing options like software and url. For example, if you provide the following options: { software: "MyApp/1.0.0", url: "https://myinstance.com/" } The User-Agent header will be like: MyApp/1.0.0 (Fedify/1.3.0; Deno/2.0.4; +https://myinstance.com/) Or, you can rather provide a custom User-Agent string directly instead of an object for options.
Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

We're fixing all HTTP requests from Fedify to include the proper User-Agent header.

Poes's avatar
Poes

@poes@bsd.cafe

single file activity pub:

1. gitlab.com/edent/activity-bot/ from @Edent
2. val.town/v/minhee/FedifyOnValT from @fedify@holo.social

(仮)'s avatar
(仮)

@kakkokari_gtyih@misskey.io

origin指定で自動的にNodeinfoを取ってきてパースするとか普通に便利な機能が多い

RE:
https://misskey.io/notes/a04wampe1y1509us

(仮)'s avatar
(仮)

@kakkokari_gtyih@misskey.io

fedify、既存のアプリにサクっとAP対応させるのに便利かもしれない

Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

Have you heard of Val Town? Val Town is a kind of code pastebin + serverless function.

Actually, works just fine with Val Town. Here's a piece of ActivityPub software, implemented in about 170 lines of code, running on Val Town. Of course, it's built with Fedify!

Give it a follow @demo, and it will follow you back.

Curious to see how it was implemented? Check out the source code!

https://www.val.town/v/minhee/FedifyOnValTown

네이버 타이머's avatar
네이버 타이머

@maka@social.maka.nagoya

Fedify lookup 생각보다 유용해 보이긴 하는데
(이거저거 들쑤셔볼때 액터 사이닝 안되어있어서 존나귀찮은적 많음)

맹꽁이's avatar
맹꽁이

@sunwoo1524@pointless.chat

심심해서 포인트리스 fedify node -b로 출력해봤더니 파비콘 다 깨짐 ㅋㅋㅋㅋㅋㅋ
그리고 포인트리스 꽤 큰 인스턴스였구나
@Native

Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

We've added the build guide to the CONTRIBUTING.md docs in the repository. We hope this is helpful for those who want to contribute to Fedify!

https://github.com/dahlia/fedify/blob/main/CONTRIBUTING.md#build

面条's avatar
面条

@mt@c.im · Reply to 洪 民憙 (Hong Minhee)'s post

@hongminhee

totegamma's avatar
totegamma

@totegamma@denken.concrnt.net

白背景が抜かれてしまっているが、一応弊インスタンスも(-b付きで)fetchできるようになった b付きじゃなくてもいけるように整えていくぞ

Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social · Reply to Fedify: an ActivityPub server framework's post

If Fedify's docs should be translated, what languages should it be in?

OptionVoters
简体中文4 (7%)
Español4 (7%)
Português6 (11%)
Français5 (9%)
Русский5 (9%)
हिन्दी4 (7%)
Bahasa Indonesia5 (9%)
日本語13 (23%)
اَلْعَرَبِيَّةُ4 (7%)
한국어7 (12%)
Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

What are your thoughts on Fedify's docs?

OptionVoters
Comprehensive and easy to understand4 (67%)
Comprehensive but hard to understand0 (0%)
Limited but easy to understand1 (17%)
Limited and hard to understand1 (17%)
Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

Visualize your server in the fediverse with the fedify node command and share it with us using the hashtag!

(See also how to install the fedify command.)

The result of fedify node https://hollo.social/@fedify command. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify node https://hollo.social/@fedify command. The NodeInfo document is visualized along with the favicon.
The result of fedify lookup venera.social. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify lookup venera.social. The NodeInfo document is visualized along with the favicon.
The result of fedify lookup misskey.io. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify lookup misskey.io. The NodeInfo document is visualized along with the favicon.
The result of fedify lookup fosstodon.org. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify lookup fosstodon.org. The NodeInfo document is visualized along with the favicon.
猫茶🍵's avatar
猫茶🍵

@nekocha@fedibird.com

いろんな鯖さんのfaviconを描画したくてついにfedifyをインストールした :blob_dancefloor:
楽しい!かわいい :blob_lovepunch:

Caipira's avatar
Caipira

@caipira113@stella.place


로고 출력 은근 잘 나왔다.

Ch. :animal_feed_trickcal:'s avatar
Ch. :animal_feed_trickcal:

@sftblw@lake.naru.cafe · Reply to Ch. :animal_feed_trickcal:'s post

🤔
미스키 / 체리픽 안 됨

Porlam Nicla's avatar
Porlam Nicla

@grapeapple@misskey.04.si

:ablobaww:

Ch. :animal_feed_trickcal:'s avatar
Ch. :animal_feed_trickcal:

@sftblw@lake.naru.cafe



파비콘을 이미지화해주는군요

fosstodon.org/@hongminhee/113401254560735839

Charles Chin's avatar
Charles Chin

@eallion@e5n.cc


fedify node -b e5n.cc

fedify.dev/cli#fedify-node-vis

fedify node command
ALT text detailsfedify node command
NTSK's avatar
NTSK

@nt776@sv1.in-deep.blue

:neocat_googly:

洪 民憙 (Hong Minhee)'s avatar
洪 民憙 (Hong Minhee)

@hongminhee@fosstodon.org

여러분의 인스턴스를 `fedify node` 커맨드를 써서 `neofetch` 스타일로 비주얼라이즈 해보고, 해시태그와 함께 올려보세요!

`fedify` 커맨드를 깔려면 아래 링크에 적힌대로 따라하시면 됩니다!

fedify.dev/cli#installation

`fedify node -b misskey.io` 커맨드의 아웃풋.
ALT text details`fedify node -b misskey.io` 커맨드의 아웃풋.
`fedify node -b venera.social` 커맨드의 아웃풋.
ALT text details`fedify node -b venera.social` 커맨드의 아웃풋.
`fedify node https://hollo.social/@fedify` 커맨드의 아웃풋.
ALT text details`fedify node https://hollo.social/@fedify` 커맨드의 아웃풋.
`fedify node fosstodon.org` 커맨드의 아웃풋.
ALT text details`fedify node fosstodon.org` 커맨드의 아웃풋.
const c30 = "せど";'s avatar
const c30 = "せど";

@c30@mk.c30.life

c30's avatar
c30

@c30@misskey.art

^Kur0den\d{4}$ :irai_houki_tyuu:'s avatar
^Kur0den\d{4}$ :irai_houki_tyuu:

@kur0den0010@chpk.kur0den.net

➜  ~ fedify node -b chpk.kur0den.net
✔ NodeInfo document fetched.
chpk.kur0den.net
================
Software:
  cherrypick v4.12.0
  https://github.com/kokonect-link/cherrypick
  https://github.com/kokonect-link/cherrypick
Protocols:
  activitypub
Outbound services:
  atom1.0
  rss2.0
Users:
  8 (total)
Local posts:
  41,891
Local comments:
  0
Open registrations:
  No

洪 民憙(ホン・ミンヒ)'s avatar
洪 民憙(ホン・ミンヒ)

@hongminhee@fedibird.com

皆さんのフェディバース上のサーバーを`fedify node`コマンドで可視化して「」ハッシュタグで共有してください!
QT: hollo.social/@fedify/0192e1c1-
[参照]

Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

Visualize your server in the fediverse with the fedify node command and share it with us using the hashtag!

(See also how to install the fedify command.)

The result of fedify node https://hollo.social/@fedify command. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify node https://hollo.social/@fedify command. The NodeInfo document is visualized along with the favicon.
The result of fedify lookup venera.social. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify lookup venera.social. The NodeInfo document is visualized along with the favicon.
The result of fedify lookup misskey.io. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify lookup misskey.io. The NodeInfo document is visualized along with the favicon.
The result of fedify lookup fosstodon.org. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify lookup fosstodon.org. The NodeInfo document is visualized along with the favicon.
Fedify: an ActivityPub server framework's avatar
Fedify: an ActivityPub server framework

@fedify@hollo.social

Visualize your server in the fediverse with the fedify node command and share it with us using the hashtag!

(See also how to install the fedify command.)

The result of fedify node https://hollo.social/@fedify command. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify node https://hollo.social/@fedify command. The NodeInfo document is visualized along with the favicon.
The result of fedify lookup venera.social. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify lookup venera.social. The NodeInfo document is visualized along with the favicon.
The result of fedify lookup misskey.io. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify lookup misskey.io. The NodeInfo document is visualized along with the favicon.
The result of fedify lookup fosstodon.org. The NodeInfo document is visualized along with the favicon.
ALT text detailsThe result of fedify lookup fosstodon.org. The NodeInfo document is visualized along with the favicon.
poes :pla:'s avatar
poes :pla:

@poes@kauaku.us

#fedify

minat tapi kayaknya terlalu overkill untuk 1 user instance, butuh postgres, redis dll.

Fedify CLI : node info for kauaku.us
ALT text detailsFedify CLI : node info for kauaku.us
洪 民憙(ホン・ミンヒ)'s avatar
洪 民憙(ホン・ミンヒ)

@hongminhee@fedibird.com

misskey.ioに対するfedify nodeコマンドの出力結果。

← Newer
Older →