Skip to content

ivcained/CastVivaldi-Farcaster-Cast-to-Song-Action

Repository files navigation

🐬 CastVivaldi - Turn Any Cast Into a Song with this Cast Action | Bot

Cast Vivaldi is a cast action that allows users to transform any text-based cast on the Farcaster into a music track. Users can initiate this process by tapping the Vivaldi Cast Action button on any cast. The system, managed by the bot @castvivaldi, will first provide an estimated time for the music generation. Once the music track is ready, a second reply will be sent containing the generated song.

The concept leverages the Farcaster network, a decentralized social network, and integrates with music generation algorithms to create unique audio content based on user input. As per the context provided, the feature undergoing continuous development and improvements.

Notes:

https://www.npmjs.com/package/capture-website to capture screenshot of the cast, audio is stitched using ffmpeg (working on that) 1

bros-on-farcaster.mp4
notes.mp4
Sequence.02_1.mp4
Sequence.02.mp4
exerciseee.mp4

<<<<<<< HEAD WIP.

=======

How to Turn Any Cast into a Song:

Tap the Vivaldi Cast Action button on any cast. @castvivaldi will reply with the estimate time for generation.
A second reply will be sent with the Song Genenrated from the Cast.

Noete: This is a WIP and features are being added frequently.

ac66db8ac9a448844c92a79ab738ea629fc1511c HUGE Thanks to the most authentic, patient, Genius (Over 9000) @YosephKS for your Mentorship. I will write more later as I'm working on getting this ready soon.

Using Airstack:

A Farcaster Cast Actions starter template built with Airstack Frog Recipes.

Prerequisites

Deployment

First, install all the dependencies:

npm i

Build your project:

npm run build

And setup your project by deploying on Vercel:

npm run deploy

Once you have your project setup, you can go to https://vercel.com to create a Vercel KV instance under your project.

Then, also add the Airstack API key to your project's environment variable:

AIRSTACK_API_KEY=xxx

Access the GM cast actions from the https://<VERCEL-SUBDOMAIN>.vercel.app/api/gm endpoint.