An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# FarFrame 🦀

## A Simple [Farcaster Frame](https://warpcast.notion.site/Farcaster-Frames-4bd47fe97dc74a42a48d3a234636d8c5) Server

![Demo](https://github.com/Pryority/farframe/blob/main/demo.png)

```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)