{"id":15427439,"url":"https://github.com/reiver/go-frameproto","last_synced_at":"2026-04-27T23:38:25.368Z","repository":{"id":222339972,"uuid":"756968430","full_name":"reiver/go-frameproto","owner":"reiver","description":"Package frameproto provides tools for the Frame Protocol — which is also known as Farcaster Frames, for the Go programming language.","archived":false,"fork":false,"pushed_at":"2024-07-10T13:36:50.000Z","size":45,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-09T09:46:30.545Z","etag":null,"topics":["farcaster","farcaster-frames"],"latest_commit_sha":null,"homepage":"","language":"Go","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/reiver.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,"publiccode":null,"codemeta":null}},"created_at":"2024-02-13T16:50:09.000Z","updated_at":"2024-07-10T13:36:53.000Z","dependencies_parsed_at":"2024-06-21T14:09:50.433Z","dependency_job_id":"71b6b25e-da61-4663-b562-28b6ebc3e4b4","html_url":"https://github.com/reiver/go-frameproto","commit_stats":{"total_commits":58,"total_committers":1,"mean_commits":58.0,"dds":0.0,"last_synced_commit":"9b90898c786ffbc9c74d523ef55ec0466f33b3f4"},"previous_names":["reiver/go-frameproto"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/reiver/go-frameproto","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-frameproto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-frameproto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-frameproto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-frameproto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reiver","download_url":"https://codeload.github.com/reiver/go-frameproto/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reiver%2Fgo-frameproto/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32360116,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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"],"created_at":"2024-10-01T18:00:19.990Z","updated_at":"2026-04-27T23:38:25.350Z","avatar_url":"https://github.com/reiver.png","language":"Go","readme":"# go-frameproto\n\nPackage **frameproto** provides tools for the **Frame Protocol** — which is also known as **Farcaster Frames**, for the Go programming language.\n\nThe specification for the **Frame Protocol** is at:\nhttps://docs.farcaster.xyz/reference/frames/spec\n\n## Documention\n\nOnline documentation, which includes examples, can be found at: http://godoc.org/sourcecode.social/reiver/go-frameproto\n\n[![GoDoc](https://godoc.org/sourcecode.social/reiver/go-frameproto?status.svg)](https://godoc.org/sourcecode.social/reiver/go-frameproto)\n\n## Explanation\n\nThe **Frames Protocol**, also known **Farcaster Frames**, is a simple web-based technology used for making applications.\n\nIt uses HTML without really using HTML, so that **Frames Protocol** applications work with clients that don't support the **Frames Protocol**.\nThe fall-back being OpenGraph.\n\nReally, a **Frames Protocol** application is mostly made up of **images** and **buttons** on the client-side (that are specified using HTML `\u003cmeta\u003e` element) with a back-end that gets HTTP `POST`ed to, which can return a new \"page\" with an **image** and **buttons**, and so on and so on.\n\nThis choice of just being mostly **images** and **buttons**  actually makes the **Frames Protocol** simpler to create a viewer from scatch.\nNo need to implement all Web technologies.\nNo need to worry about security and privacy holes that Web technologies introduce.\n\nAlthough the **Frames Protocol** _could_ be used outside of **Farcaster**, at the time of writing, **Farcaster** clients (such as **Warpcast**) are the only major (client-side) platform to support it.\n\n(The server-side of the \u003cstrong\u003eFrames Protocol\u003c/strong\u003e, which is called a \u003cstrong\u003eFrame Server\u003c/strong\u003e, is an just HTTP resource — which some might loosely call an HTTP (or HTTPS) URL.)\n\nEnough talking — let's look at some code.\nHere is the client-side of a **Frames Protocol** application:\n\n```html\n\u003cmeta property=\"fc:frame\" content=\"vNext\" /\u003e\n\u003cmeta property=\"fc:frame:image\" content=\"https://example.com/path/to/image.png\" /\u003e\n\u003cmeta property=\"og:image\" content=\"https://example.com/path/to/image.png\" /\u003e\n```\n\nIt is just HTML.\n\nAlthough this would need to be embedded into an HTML document, so really it would be something more like this:\n\n```html\n\u003c!DOCTYPE html\u003e\n\u003chtml xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en\"\u003e\n\u003chead\u003e\n\u003cmeta charset=\"utf-8\" /\u003e\n\n\u003cmeta property=\"fc:frame\" content=\"vNext\" /\u003e\n\u003cmeta property=\"fc:frame:image\" content=\"https://example.com/path/to/image.png\" /\u003e\n\u003cmeta property=\"og:image\" content=\"https://example.com/path/to/image.png\" /\u003e\n\n\u003c/head\u003e\n\u003cbody\u003e\n\u003c/body\u003e\n\u003c/html\u003e\n```\n\nThis package provides you tools for creating this.\n\nFor example:\n\n```golang\nfunc ServeHTTP(responseWriter http.ResponseWriter, request *http.Request) {\n\n\t// ...\n\n\tframeproto.WriteFrame(responseWriter, frameproto.VersionVNext)\n\tframeproto.WriteFrameImage(responseWriter, frameImageURL)\n\n\t// ...\n}\n\n\n```\n\n## Import\n\nTo import package **frameproto** use `import` code like the follownig:\n```\nimport \"sourcecode.social/reiver/go-frameproto\"\n```\n\n## Installation\n\nTo install package **frameproto** do the following:\n```\nGOPROXY=direct go get https://sourcecode.social/reiver/go-frameproto\n```\n\n## Author\n\nPackage **frameproto** was written by [Charles Iliya Krempeaux](http://reiver.link)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiver%2Fgo-frameproto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freiver%2Fgo-frameproto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freiver%2Fgo-frameproto/lists"}