fling-cli

0.0.8 • Public • Published

fling ⌆

fling (and retrieve) your daily logs with Farcaster. Read more about the fling pattern.

Setup

npm install -g fling-cli

This is a demo CLI tool, do not expect perfection!

For example, "signing in" to your Farcaster account is fairly hacky right now with this tool. Current implementation assumes two environment variables in your local shell: MNEMONIC and FNAME.

You could add these to your bash_profile directly (probably not advised, in case you keep your dotfiles in a public repo!), but what I've done is create a new file in my home directory called .fling that looks like this:

export MNEMONIC="twelve words go here"
export FNAME="my_farcaster_username"

And then I've updated my .bash_profile to source that file:

source ~/.fling

Just don't check in your .fling file to your dotfiles repo. Also, please submit a PR to improve this setup, please!

Usage

$ fling -m "* shipped basic web view for fling data"

Some time later that day:

$ fling -m $'* cli pushed to npm\n* sent proposal to first beta testers'

That's it! Your flings should show up in any Farcaster client, or you can try specific clients tuned just for the fling pattern, such as this demo web client.

Updating NPM package

npm run release

Readme

Keywords

none

Package Sidebar

Install

npm i fling-cli

Weekly Downloads

1

Version

0.0.8

License

none

Unpacked Size

2.46 MB

Total Files

12

Last publish

Collaborators

  • whatrocks