Skip to content

Save & Share Components (requires accounts) #15

@michaelmagan

Description

@michaelmagan

Description:

Create registered Tambo components for saving and sharing songs. Users should be able to ask "save this song" or "share this with a link".

Save Component:

Save current REPL code as a named song

View/manage saved songs

Load a saved song back into the REPL

Share Component:

Generate a public share link for the current code

Anyone with the link can view/play (no account required to view)

Optional: copy link to clipboard

Notes:

Both components require user to be logged in

If user is not authenticated, prompt them to create an account

Saved songs and threads should be stored server-side and associated with user account

Register both components in `src/lib/tambo.ts

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions