https://github.com/pryority/farframe-rs
A Simple Farcaster Frame Server
https://github.com/pryority/farframe-rs
axum farcaster farcaster-frames flyio rust
Last synced: about 1 year ago
JSON representation
A Simple Farcaster Frame Server
- Host: GitHub
- URL: https://github.com/pryority/farframe-rs
- Owner: Pryority
- Created: 2024-01-30T01:18:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-30T01:18:59.000Z (about 2 years ago)
- Last Synced: 2025-03-28T04:47:59.549Z (about 1 year ago)
- Topics: axum, farcaster, farcaster-frames, flyio, rust
- Language: Rust
- Homepage: https://farframe-rs.fly.dev
- Size: 298 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FarFrame 🦀
## A Simple [Farcaster Frame](https://warpcast.notion.site/Farcaster-Frames-4bd47fe97dc74a42a48d3a234636d8c5) Server

```Rust
#[tokio::main]
async fn main() {
let app = Router::new()
.route("/", get( Html(
"
FarFrame
FarFrame
"
)))
.route("/api/frame", post(Html("
")))
.nest_service("/public", ServeDir::new("public"));
let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
axum::serve(listener, app).await.unwrap();
}
```
## Inspirations
- [gskril](https://github.com/gskril)'s [farcast-frame](https://github.com/gskril/farcaster-frame)
- [Zizzamia](https://github.com/Zizzamia)'s [a-frame-in-100-lines](https://github.com/Zizzamia/a-frame-in-100-lines)