Repository navigation
feat(auth): library sync over HTTP for the website player; docs without Zen - #1227
Merged
Merged
Conversation
…rom docs Adds GET/PUT /api/auth/zen/library/:pub and a public shared-playlist read, signed with the FID identity key and limited to active accounts. Replaces the Zen relay the player used. Updates EN/IT docs to Ed25519 identities and removes the dead zen type stubs from the webapp. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeCp9YZh9dCEHXtRdpVeFe
scobru
marked this pull request as ready for review
October 6, 2026 16:03
This was referenced Oct 6, 2026
Merged
scobru
added a commit
that referenced
this pull request
Oct 6, 2026
feat(auth): fid:relink tool + account lookup missing from #1227
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GET/PUT /api/auth/zen/library/:puband publicGET /api/auth/zen/library/:pub/shared/:id: cross-device sync of a listener's favorites, artists and playlists, plus shared playlists. Replaces the Zen relay the website player used, so no relay is left anywhere.X-Fid-Auth: <ts>.<sig>overfid-library:<METHOD>:<path>:<ts>:<sha256(body)>, 5-minute window. The key must belong to an active account on the instance (admin.zen_pub), so an instance is not free storage for strangers.sharedis stored in the clear on purpose. Last write wins by the record's own timestamp, deletes are tombstones.413over the cap). New tablelibrary_sync.Authorizationkeep strict CORS.zen/@akaoio/zentype stubs from the webapp. Version 6.2.0.Test plan
npx jest: 201 suites / 2589 tests pass (7 new, covering round trip, last-write-wins, tombstones, forged / tampered / stale signatures, non-account keys, size limits, public shared playlists).tsc --noEmitclean for server and webapp.tunecamp-website(player and identity pages) is the client of these endpoints.🤖 Generated with Claude Code
https://claude.ai/code/session_01FeCp9YZh9dCEHXtRdpVeFe
Generated by Claude Code