{"id":15427426,"url":"https://github.com/merokudao/pycaster-boilerplate","last_synced_at":"2026-01-07T00:45:52.438Z","repository":{"id":221933874,"uuid":"755814500","full_name":"merokudao/pycaster-boilerplate","owner":"merokudao","description":"A mini App Store in a farcaster frame.","archived":false,"fork":false,"pushed_at":"2024-05-21T07:35:37.000Z","size":1265,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-02T05:44:41.418Z","etag":null,"topics":["farcaster","farcaster-frames","python"],"latest_commit_sha":null,"homepage":"https://warpcast.com/pranav/0xeaaa2196","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/merokudao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-11T06:20:12.000Z","updated_at":"2024-02-21T07:27:25.000Z","dependencies_parsed_at":"2024-04-17T03:44:27.906Z","dependency_job_id":"47049f7b-63ba-442f-8bcb-1a5b93fe1538","html_url":"https://github.com/merokudao/pycaster-boilerplate","commit_stats":null,"previous_names":["merokudao/farcaster-appstore-frame","merokudao/pycaster-boilerplate"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merokudao%2Fpycaster-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merokudao%2Fpycaster-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merokudao%2Fpycaster-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merokudao%2Fpycaster-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/merokudao","download_url":"https://codeload.github.com/merokudao/pycaster-boilerplate/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245972670,"owners_count":20702721,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["farcaster","farcaster-frames","python"],"created_at":"2024-10-01T18:00:14.311Z","updated_at":"2026-01-07T00:45:52.400Z","avatar_url":"https://github.com/merokudao.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyCaster Boilerplate\n\nPyCaster is a python lib that makes it easy to build apps on Farcaster. It can be\nused to create Farcaster Frames. This boilerplate provides a demo of it's usage.\n\nUsing PyCaster to build your frames backend is easy. I wrote a blog post about it at [https://pranavprakash.in/2024/02/12/building-a-farcaster-frame-in-python-with-flask/](https://pranavprakash.in/2024/02/12/building-a-farcaster-frame-in-python-with-flask/)\n\nIf you have any questions, open an issue in this repo or [cast to me on Farcaster](https://warpcast.com/pranav)\n\n# Getting Started\n\n## Install\n\n1. Clone this repo\n\n```shell\ngit clone git@github.com:merokudao/pycaster-boilerplate.git\n```\n\n2. Optional\n\nCreate a virtual environment using `python -m venv venv` and\nactivate it using `source venv/bin/activate`\n\n3. Install Dependencies\n\n```shell\npip install -r requirements.txt\n```\n\n## Environment Variables\n\nDepending on your use case, you may need to set one or more of the\nfollowing env variables that are needed by PyCaster.\n\n| Var  | Required  | Description  |\n|:----------|:----------|:----------|\n| NEYNAR_API_KEY    | Recommended    | Used to perform various crucial calls related to user. If your app does user related functions (ex: check if the user follows a channel or has casted something), this will be needed.   |\n| REDIS_HOST    | Yes    | Highly recommended to increase speed of frame response. Without this, the `pycaster` lib has to be changed significantly to bypass.   |\n| MEROKU_API_KEY    | Optional    | Required if you're building on Meroku dApp Store Kit APIs    |\n| OPENAI_API_KEY    | Optional    | Required if you're using OpenAI    |\n| AWS_ACCESS_KEY_ID    | Optional    | If your frame needs to upload media to S3, this is needed.    |\n| AWS_SECRET_ACCESS_KEY    | Optional    | If your frame needs to upload media to S3, this is needed.    |\n\n\nCreate your own `.env` by copying from `.env.example`.\n\n```shell\ncp .env.example .env\n```\n\nSet env variables in terminal by\n\n```shell\nset -a; source .env; set +a\n```\n## Run\n\n\n### Local\n\nRUN using\n\n```shell\nflask run --host 0.0.0.0 --port 9091\n```\n\n\n### Docker\n\n#### Build\n\n`docker build -t pycasterdemo .`\n\n#### Run\n\n`docker run -p 9091:5000 --env-file .env pycasterdemo`\n\n## Check\n\n`ruff .`\n# Contributing\n\nWe'd love to accept contriutions. Please open an issue with what you'd like to build and we'll discuss and take it from there.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerokudao%2Fpycaster-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmerokudao%2Fpycaster-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerokudao%2Fpycaster-boilerplate/lists"}