Skip to content

Instantly share code, notes, and snippets.

@whatrocks
Last active October 8, 2023 15:42
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save whatrocks/b4b7c306b307c3c707f0d6256fe9afb0 to your computer and use it in GitHub Desktop.
Save whatrocks/b4b7c306b307c3c707f0d6256fe9afb0 to your computer and use it in GitHub Desktop.
fling pattern on Farcaster

fling ⌆

The fling pattern is a constraint on the Farcaster protocol which allows you to keep a daily log of your work, while benefitting from all the great social features of Farcaster.

Inspiration

  • John Carmack's .plan files
  • OhLife.com (now defunct startup that emailed you 1x a day with "How did your day go?")

Constraints

  • Each day, you may cast at most one cast that begins with "⌆" character.
    • This is your "root" fling cast for the day. (You can, of course, cast as many other unrelated casts as you desire).
    • This singular cast should contain your daily log / message / thoughts / reminders.
  • If you'd like to add more to your day's log, you should reply to the day's root fling cast.
    • Keep these replies as siblings to each other (aka direct children of the root cast), rather than a thread.

Fling pattern clients

You don't need a special client to adhere to the fling pattern, but specialized clients can help you adhere to / enjoy fling.

For example, you may want to fling using the same prefix operators that Carmack uses (e.g. * means done, no prefix means not done, etc), and a specialized fling client can help with this.

Here are two demo fling clients:

  • fling-cli: cli tool to help you fling your daily logs using the fling pattern
  • fling-web: read-only view to look up another user's fling logs (thanks to Searchcaster!) - Repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment