Skip to content

adcommune/diet-cast

 
 

Repository files navigation

DietCast.xyz - A Farcaster Lite Client

DietCast is a lite client for Farcaster that includes a channel feed, auth, and sending casts thanks to the Pinata Farcaster API and Auth. To learn more how it works check out the blog post here

This client uses the following tech stacks and packages:

Getting Started

Clone the repo and cd into it, then run npm install

For an instant channel lite client, edit the config/site.config.ts file with your own information.

const siteMeta = {
	title: "Diet Cast", // Name of the website
	description: "The only client more lite than /diet-coke", // Website description
  domain: "www.dietcast.xyz", // Website domain
  websiteUrl: "https://www.dietcast.xyz", // Full website url
  channelUrl: "https://warpcast.com/~/channel/diet-coke", // URL for the farcaster channel
  logo: "/logo.svg", // Location of the logo in the public folder
  ogImage: "/og.png", // Image used for the opengraph preview
  favicon: "/favicon.png" // Icon used for tab previews

};

export default siteMeta;

Then open the .env.sample file and fill in your own variables.

ℹ️ If you want to enable auth and sending casts you will need a paid Pinata account

# The JWT provided when creating a Pinata API key
PINATA_JWT=
# The mnemonic phrase for your Farcaster App account, e.g. "taco salsa burgers fries..."
DEVELOPER_MNEMONIC=""
# The FID for your Farcaster App account
DEVELOPER_FID=

After replacing with your own variables change the name of the file to .env.local. Now run the development server

npm run dev

Open http://localhost:3000 with your browser to see the result.

Learn More

Pinata is the best choice for Farcaster and IPFS at scale, check out some of our other resources!

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.9%
  • CSS 3.3%
  • JavaScript 0.8%