fedipod 1.0.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/README.md +4 -4
  2. package/bin/fedipod.mjs +45 -2253
  3. package/gateway.md +1 -1
  4. package/lib/{c2s.mjs → client/c2s.mjs} +10 -3
  5. package/lib/{localapi.mjs → client/localapi.mjs} +2 -2
  6. package/lib/client/masto/accounts.mjs +264 -0
  7. package/lib/client/masto/body.mjs +69 -0
  8. package/lib/client/masto/index.mjs +183 -0
  9. package/lib/client/masto/instance.mjs +104 -0
  10. package/lib/client/masto/media.mjs +133 -0
  11. package/lib/client/masto/oauth.mjs +599 -0
  12. package/lib/client/masto/render.mjs +459 -0
  13. package/lib/client/masto/statuses.mjs +331 -0
  14. package/lib/client/masto/timelines.mjs +316 -0
  15. package/lib/{streaming.mjs → client/streaming.mjs} +1 -1
  16. package/lib/{acctfeed.mjs → connections/acctfeed.mjs} +1 -1
  17. package/lib/{atproto.mjs → connections/atproto.mjs} +15 -16
  18. package/lib/{bskygroup.mjs → connections/bskygroup.mjs} +1 -1
  19. package/lib/{fediacct.mjs → connections/fediacct.mjs} +31 -35
  20. package/lib/{import.mjs → connections/import.mjs} +1 -1
  21. package/lib/{tagfeed.mjs → connections/tagfeed.mjs} +3 -3
  22. package/lib/connections/vault.mjs +114 -0
  23. package/lib/core/as2.mjs +170 -0
  24. package/lib/core/contexts/activitystreams.json +379 -0
  25. package/lib/core/contexts/did-v1.json +57 -0
  26. package/lib/core/contexts/fep-5711.json +36 -0
  27. package/lib/core/contexts/gotosocial.json +86 -0
  28. package/lib/core/contexts/identity-v1.json +152 -0
  29. package/lib/core/contexts/index.mjs +45 -0
  30. package/lib/core/contexts/join-lemmy.json +33 -0
  31. package/lib/core/contexts/joinmastodon.json +28 -0
  32. package/lib/core/contexts/map.json +16 -0
  33. package/lib/core/contexts/miscellany.json +19 -0
  34. package/lib/core/contexts/schemaorg.json +8845 -0
  35. package/lib/core/contexts/security-data-integrity-v1.json +78 -0
  36. package/lib/core/contexts/security-data-integrity-v2.json +81 -0
  37. package/lib/core/contexts/security-multikey-v1.json +35 -0
  38. package/lib/core/contexts/security-v1.json +74 -0
  39. package/lib/core/contexts/webfinger.json +10 -0
  40. package/lib/{deliver.mjs → core/deliver.mjs} +2 -2
  41. package/lib/core/graphview.mjs +269 -0
  42. package/lib/core/intake/activities.mjs +437 -0
  43. package/lib/core/intake/activity.mjs +240 -0
  44. package/lib/core/intake/channel.mjs +144 -0
  45. package/lib/core/intake/group.mjs +222 -0
  46. package/lib/core/intake/index.mjs +629 -0
  47. package/lib/core/intake/notes.mjs +288 -0
  48. package/lib/core/intake/verify.mjs +142 -0
  49. package/lib/{keys.mjs → core/keys.mjs} +1 -1
  50. package/lib/core/publisher/collections.mjs +229 -0
  51. package/lib/core/publisher/index.mjs +421 -0
  52. package/lib/core/publisher/notes.mjs +188 -0
  53. package/lib/core/publisher/questions.mjs +233 -0
  54. package/lib/core/publisher/restore.mjs +199 -0
  55. package/lib/core/shapes/activitystreams.ttl +129 -0
  56. package/lib/core/shapes/index.mjs +107 -0
  57. package/lib/core/shapes/shapes-text.mjs +13 -0
  58. package/lib/{social.mjs → core/social.mjs} +2 -2
  59. package/lib/{store.mjs → core/store.mjs} +4 -0
  60. package/lib/{wire.mjs → core/wire.mjs} +2 -2
  61. package/lib/device/admin/index.mjs +13 -0
  62. package/lib/device/admin/origins.mjs +35 -0
  63. package/lib/device/admin/routes/connections.mjs +144 -0
  64. package/lib/device/admin/routes/gateway.mjs +199 -0
  65. package/lib/device/admin/routes/lifecycle.mjs +191 -0
  66. package/lib/device/admin/routes/owner.mjs +322 -0
  67. package/lib/device/admin/routes/setup.mjs +393 -0
  68. package/lib/device/admin/routes/social.mjs +188 -0
  69. package/lib/device/admin/server.mjs +95 -0
  70. package/lib/device/admin/static.mjs +244 -0
  71. package/lib/device/admin/surface.mjs +274 -0
  72. package/lib/device/cli/commands/account.mjs +586 -0
  73. package/lib/device/cli/commands/run.mjs +278 -0
  74. package/lib/device/cli/commands/service.mjs +221 -0
  75. package/lib/device/cli/commands/setup.mjs +410 -0
  76. package/lib/device/cli/commands/state.mjs +559 -0
  77. package/lib/device/cli/context.mjs +288 -0
  78. package/lib/{migrate.mjs → device/migrate.mjs} +1 -1
  79. package/lib/{remote.mjs → device/remote.mjs} +3 -3
  80. package/lib/{setup.mjs → device/setup.mjs} +3 -3
  81. package/lib/{update.mjs → device/update.mjs} +1 -1
  82. package/lib/{directory.mjs → gateway/directory.mjs} +1 -1
  83. package/lib/{front-core.mjs → gateway/front-core.mjs} +3 -3
  84. package/lib/{gateway-core.mjs → gateway/gateway-core.mjs} +1 -1
  85. package/lib/{httpsig.mjs → gateway/httpsig.mjs} +1 -1
  86. package/lib/server/embed.mjs +405 -0
  87. package/lib/{links.mjs → shared/links.mjs} +1 -1
  88. package/lib/{ua.mjs → shared/ua.mjs} +1 -1
  89. package/package.json +11 -1
  90. package/run-agent.mjs +33 -25
  91. package/scripts/build-app.mjs +4 -0
  92. package/scripts/check-pod-calls.mjs +8 -2
  93. package/scripts/refresh-contexts.mjs +39 -0
  94. package/web/admin/actors.js +145 -0
  95. package/web/admin/common.js +23 -0
  96. package/web/admin/connections.js +112 -0
  97. package/web/admin/gateway.js +111 -0
  98. package/web/admin/group.js +258 -0
  99. package/web/admin/index.html +7 -1
  100. package/web/admin/record.js +378 -0
  101. package/web/admin/setup/index.html +1 -0
  102. package/web/admin/setup/setup.js +2 -13
  103. package/web/admin/upkeep.js +170 -0
  104. package/web/app/README.md +6 -6
  105. package/web/app/admin-facade.mjs +3 -3
  106. package/web/app/agent.mjs +14 -16
  107. package/web/app/atproto-browser.mjs +1 -1
  108. package/web/app/boot.mjs +2 -3
  109. package/web/app/deliver-relay.mjs +1 -1
  110. package/web/app/dist/boot.js +22 -3
  111. package/web/app/dist/boot.js.map +2 -2
  112. package/web/app/dist/sw.js +21913 -5446
  113. package/web/app/dist/sw.js.map +4 -4
  114. package/web/app/fediacct-browser.mjs +1 -1
  115. package/web/app/keys-browser.mjs +27 -4
  116. package/web/app/shims/shapes-text.mjs +8 -0
  117. package/web/app/signup.mjs +2 -3
  118. package/web/app/site/admin/actors.js +145 -0
  119. package/web/app/site/admin/common.js +23 -0
  120. package/web/app/site/admin/connections.js +112 -0
  121. package/web/app/site/admin/gateway.js +111 -0
  122. package/web/app/site/admin/group.js +258 -0
  123. package/web/app/site/admin/index.html +7 -1
  124. package/web/app/site/admin/record.js +378 -0
  125. package/web/app/site/admin/setup/index.html +1 -0
  126. package/web/app/site/admin/setup/setup.js +2 -13
  127. package/web/app/site/admin/upkeep.js +170 -0
  128. package/web/app/site/boot.js +22 -3
  129. package/web/app/site/sw.js +21913 -5446
  130. package/web/app/sw-src.mjs +17 -2
  131. package/lib/admin.mjs +0 -1913
  132. package/lib/embed.mjs +0 -220
  133. package/lib/intake.mjs +0 -1981
  134. package/lib/mastoapi.mjs +0 -2284
  135. package/lib/publisher.mjs +0 -1192
  136. package/web/admin/admin.js +0 -1181
  137. package/web/app/site/admin/admin.js +0 -1181
  138. /package/lib/{oidc-auth.mjs → client/oidc-auth.mjs} +0 -0
  139. /package/lib/{webpush.mjs → client/webpush.mjs} +0 -0
  140. /package/lib/{bskyfeed.mjs → connections/bskyfeed.mjs} +0 -0
  141. /package/lib/{lease.mjs → core/lease.mjs} +0 -0
  142. /package/lib/{polls.mjs → core/polls.mjs} +0 -0
  143. /package/lib/{proof.mjs → core/proof.mjs} +0 -0
  144. /package/lib/{storage.mjs → core/storage.mjs} +0 -0
  145. /package/lib/{account.mjs → device/account.mjs} +0 -0
  146. /package/lib/{certs.mjs → device/certs.mjs} +0 -0
  147. /package/lib/{export-collections.mjs → device/export-collections.mjs} +0 -0
  148. /package/lib/{home.mjs → device/home.mjs} +0 -0
  149. /package/lib/{ports.mjs → device/ports.mjs} +0 -0
  150. /package/lib/{guard.mjs → shared/guard.mjs} +0 -0
  151. /package/lib/{safefetch.mjs → shared/safefetch.mjs} +0 -0
package/README.md CHANGED
@@ -6,7 +6,9 @@ FediPod gives you a Fediverse account whose data lives on a Solid pod. You
6
6
  follow people on Mastodon, Bluesky, and other Fediverse or ATProto servers in
7
7
  one timeline. Your posts, followers and settings stay on your pod.
8
8
 
9
- The easiest way to run FediPod is to use it in any browser at https://fedipod.net. Nothing to install. A wizard will walk you through getting a pod (you can also bring your own) and creating a Fediverse identity attached to the pod. There are also a number of [other ways to run FediPod](#other-ways-to-run-fedipod) which offer a variety of scenarios.
9
+ The easiest way to run FediPod is to use it in any browser at https://fedipod.net. Nothing to install. A wizard will walk you through getting a pod (you can also bring your own) and creating a Fediverse identity attached to the pod.
10
+
11
+ There are also a number of [other ways to run FediPod](#other-ways-to-run-fedipod) which offer a variety of scenarios. If interested in the code, see also : [architecture overview](architecture.md) and [files overview](files-overview.md).
10
12
 
11
13
  ## Requirements
12
14
 
@@ -104,8 +106,7 @@ to a gateway of your own. Your address and your data do not change.
104
106
  - [FediPod Server](packages/fedipod-server/README.md): a full ActivityPub
105
107
  server as a Community Solid Server component, giving every pod on the server
106
108
  the option of a Fediverse account.
107
- - [Architecture](architecture.md): how the pieces fit, and which protocols
108
- FediPod speaks.
109
+
109
110
 
110
111
  ## Acknowledgements
111
112
 
@@ -118,4 +119,3 @@ This package was created using a heavily hectored claude.
118
119
  ## License
119
120
 
120
121
  (c) Jeff Zucker, 2026; may be freely used with an MIT license.
121
- p