FIP: Standard file format to import/export Mini App subscriptions #230
vrypan
started this conversation in
FIP Stage 1: Ideas
Replies: 1 comment 1 reply
-
wdyt of a simple csv like what warpcast does but with clientFid and endpoint as two additional columns? easier to generate and ingest |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Title: Standard file format to import/export Mini App subscriptions
Type: Standards FIP
Authors: @vrypan
Abstract
Define a standard file format that can be used to import/export Mini App subscriptions
Problem
A Mini App subscription allows a Mini App to sent notifications to an FID on a specific Farcaster client.
There are currently at least two providers that offer notifications as a service, Neynar and Pingem, and many
developers have implemented their own notification backends. Also, Warpcast recently started offering the option
to export a Mini App's subscriptions.
When a developer decides to move their Mini App subscriptions between one of the available solutions (own, Neynar, Pingem, possibly other), they need to have a standard format that will make this move easier: export from A, import to B.
We also have tools that allow non-technical users to maintain simple Mini Apps, and they should be able to move subscriptions between services, too.
Specification
JSON schema
The proposed format to exchange Mini App Subscriptions is a JSON file with the following schema.
Based on this schema, the current Warpcast export will look something like this:
Filename extension
If the export is provided as a file, the proposed extension is
.fcs
, for Farcaster subscriptions.Rationale
The schema supports:
The schema will work both for clients (ex. Warpcast export) and services like Neynar and Pingem.
It is also self-contained, and does not require for the user to provide additional context (for example, the current, flat-file export by Warpcast will require a user to provide the endpoint, and the client name). In theory, a non-technical user should be able to export subscriptions from one service as a file, and import them to an other.
Having a pre-defined file extension makes it easy to write documentation and explain a process to users: "Click here to upload your FCS file", "Export your FCS file and..."
Beta Was this translation helpful? Give feedback.
All reactions