<p>A Crowdsourced Photo Gallery from the Fediverse – the Open Social Web in action</p><p>Here are some nice photos from around the fediverse: <a href="https://home.scoobysnack.net/gallery/" rel="nofollow"><span class="invisible">https://</span>home.scoobysnack.net/gallery/</a>. That page updates automatically as new photos are posted.</p><p>How did they get there? Well… </p><p>People from all over Mastodon, Pixelfed, Lemmy and more posted photos into these communities:</p><p><a href="https://piefed.social/c/photography" rel="nofollow"><span class="invisible">https://</span>piefed.social/c/photography</a></p><p><a href="https://lemmy.world/c/photography" rel="nofollow"><span class="invisible">https://</span>lemmy.world/c/photography</a></p><p><a href="https://lemmy.world/c/japanpics" rel="nofollow"><span class="invisible">https://</span>lemmy.world/c/japanpics</a></p><p>… and a few others. Moderators curate those communities to filter out anything obnoxious and people upvote the best ones.</p><p>Jerry used his PieFed account to create a “Feed” of 6 photography communities at <a href="https://feddit.online/f/photos" rel="nofollow"><span class="invisible">https://</span>feddit.online/f/photos</a>. In PieFed a Feed is a bundle of communities with all their content shown together in a list. Those communities can be on any Lemmy, PieFed or Mbin instance. In the sidebar you can see all the communities in the Feed. That feed can be Followed, just like an account on Mastodon can be. </p><p>Someone on <a href="https://piefed.social" rel="nofollow"><span class="invisible">https://</span>piefed.social</a> followed <a href="https://feddit.online/f/photos" rel="nofollow">[email protected]</a> (the ~ distinguishes it from a person, which uses @ at the start) which created this: <a href="https://piefed.social/f/[email protected]" rel="nofollow" class="ellipsis" title="piefed.social/f/[email protected]"><span class="invisible">https://</span><span class="ellipsis">piefed.social/f/photos@feddit.</span><span class="invisible">online</span></a>. (Following a feed automatically subscribes one to all the communities within and if Jerry adds a new community to the feed all the subscribers auto-follow the new community. But I digress).</p><p>The author of home.scoobysnack.net looked up <a href="https://crust.piefed.social/api/alpha/swagger" rel="nofollow">PieFed’s API spec</a> and wrote some JavaScript which uses PieFed’s API to retrieve all the photos in the feed on piefed.social:</p><p>GET <a href="https://piefed.social/api/alpha/post/list?feed_id=47&limit=40&page=1&nsfw=Exclude&minimum_upvotes=0" rel="nofollow" class="ellipsis" title="piefed.social/api/alpha/post/list?feed_id=47&limit=40&page=1&nsfw=Exclude&minimum_upvotes=0"><span class="invisible">https://</span><span class="ellipsis">piefed.social/api/alpha/post/l</span><span class="invisible">ist?feed_id=47&limit=40&page=1&nsfw=Exclude&minimum_upvotes=0</span></a></p><p>… and finally their JavaScript displays the images.</p><p>So the journey these photos took went through 6 steps:</p><p>Mastodon / PixelFed / author -> Lemmy / PieFed / Mbin communities -> Feddit.online feed -> PieFed.social feed -> PieFed.social API -> home.scoobysnack.net</p><p>I think that’s pretty cool.</p><a href="/tags/fediverse/" rel="tag">#fediverse</a> <a href="/tags/lemmy/" rel="tag">#Lemmy</a> <a href="/tags/mastodon/" rel="tag">#mastodon</a> <a href="/tags/mbin/" rel="tag">#mbin</a> <a href="/tags/piefed/" rel="tag">#piefed</a> <a href="/tags/pixelfed/" rel="tag">#pixelfed</a>
Edited 72d ago

