Skip to content

Airstack-xyz/airstack-frames

Repository files navigation

Airstack Frames

Public repo for Airstack contributions to Farcaster Frames ecosystem

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development purposes.

Requirements

To install and run this project you need:

Installation

To set up everything in your local machine, you need to follow these steps:

  1. Clone this repo and then change directory to the airstack-frames folder:
git clone https://github.com/Airstack-xyz/airstack-frames.git
  1. Navigate inside the project directory
cd airstack-frames
  1. Install project dependencies using npm:
npm install
  1. Create .env.local by copying .env.sample
cp .env.sample .env.local
  1. Update the AIRSTACK_API_KEY key of .env.local file. To get the AIRSTACK_API_KEY follow Airstack API key
AIRSTACK_API_KEY="PUT_AIRSTACK_API_KEY_HERE"
FARCASTER_HUB_ENDPOINT="https://nemes.farcaster.xyz:2281"
BASE_URL="http://localhost:3000"

Note: Update BASE_URL appropriately, if deploying to production

Running

To run the project simply run:

npm run dev

Your app should now be running on http://localhost:3000/ and Farcaster OG frame should be accessible at this route http://localhost:3000/og

Note: For visualizing frame in localhost you can checkout https://github.com/framesjs/frames.js/tree/main/examples/framesjs-starter

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •